Skip to contentSkip to conversation

problem with ceph admin api

DISCUSSION Stephen Hoogendijk 1 participant 2 messages Oct 1, 2015

lore
Share & tools
lore
#0 lore raw

Hey all,

We are having some problems with the rados gw admin API. We are trying to list accounts but the API won’t let us.

According to the documentation:
http://docs.ceph.com/docs/master/radosgw/adminops/#get-user-info

A call to /admin/user?format=json should return a list of all the users. However it will throw a 403 Unauthorized message.

We currently have no way to get a list of all the accounts from the radosgw-api. Currently there are two options:

"user info --uid=<something>"
or
"metadata list user"

The latter will only return the names of the users and the first doesn’t work unless you provide a uid (even though the documentation tells you something else).

Signature · 6 lines
Best regards,
Stephen Hoogendijk
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#1 lore raw

Hey all,

We are having some problems with the rados gw admin API. We are trying to list accounts but the API won’t let us.

According to the documentation:
http://docs.ceph.com/docs/master/radosgw/adminops/#get-user-info

A call to /admin/user?format=json should return a list of all the users. However it will throw a 403 Unauthorized message.

We currently have no way to get a list of all the accounts from the radosgw-api. Currently there are two options:

"user info --uid=<something>"
or
"metadata list user"

The latter will only return the names of the users and the first doesn’t work unless you provide a uid (even though the documentation tells you something else).

Best regards,
Stephen Hoogendijk

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html