Re: radosgw-admin doesn't list user anymore

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

 



Hi Derek,

Thanks for your example.

I've added caps='metadata=*', but I still have an error and get:

send: 'GET /admin/metadata/user?format=json HTTP/1.1\r\nHost: objects.bcc.switch.ch\r\nAccept-Encoding: identity\r\nDate: Wed, 16 Oct 2013 08:09:57 GMT\r\nContent-Length: 0\r\nAuthorization: AWS VC*******************o=\r\nUser-Agent: Boto/2.12.0 Python/2.7.5 Darwin/12.5.0\r\n\r\n'
reply: 'HTTP/1.1 405 Method Not Allowed\r\n'


In which version of radosgw is the /admin/metadata REST endpoint available? I currently have 0.67.4.

Cheers,
Valery

On 15/10/13 22:00 , Derek Yarnell wrote:
On 10/15/13 12:00 PM, Valery Tschopp wrote:
Hi Derek,

Thanks. Is the 'radosgw-admin metadata list user' also available as REST
API?

Hi Valery,

Yes, it is.  Not well documented I believe right now.  I have this
tested and working in my python bindings[1] for the radosgw (get_users).
  You will need at least --caps='metadata=read' (might need *).

   /{admin}/metadata/user?format=json

[1] - https://github.com/dyarnell/rgwadmin

Thanks,
derek


--
SWITCH
--------------------------
Valery Tschopp, Software Engineer, Peta Solutions
Werdstrasse 2, P.O. Box, 8021 Zurich, Switzerland
email: valery.tschopp@xxxxxxxxx phone: +41 44 268 1544


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux