Hi,
we noticed difference in behavior between "radosgw-admin user list" and
GET /admin/user.
According to the docs[1], if we don't specify a UID we should get a list
of all users along with suspension information. Instead the response
looks like this:
{
"Code": "InvalidArgument",
"RequestId": "tx0000000000000000000b6-00588f637f-28195-default",
"HostId": "28195-default-default"
}
It seems that specifying a uid is mandatory with REST? At least the CLI
will list all users when no user is specified.
Digging through the code[2], we found a commit[3] that fixes issue 15455
which seems to be related. OTOH, we are able to get a listing of all
users "usage stats" via REST.
Is it just an error in the documentation?
[1]: http://docs.ceph.com/docs/kraken/radosgw/adminops/#get-user-info
[2]: https://github.com/ceph/ceph/blob/master/src/rgw/rgw_rest_user.cc#L38
[3]:
https://github.com/ceph/ceph/commit/6fbd00a778ee2ecc9ae639d67bef953d107069a2
[4]: http://tracker.ceph.com/issues/15455
Best, Bastian
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html