Users not listable using RadosGW-admin REST-API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux