How to use Admin Ops API in Ceph Object Storage

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

 



Hello Guys:

     I am working with ceph nowadys and i want to setup a system which

     includes a web page to create the ceph object storage user.

     So, i tried to use Admin Ops API to fulfill my needs. However, if i use

      GET /admin/usage?format=json HTTP/1.1
Host: ceph-server
     it will return 403 access denied.

     Than, i tried to use
GET /admin/usage?format=json HTTP/1.1
Host: ceph-server
Authorization: AWS {access-key}:{hash-of-header-and-secret}
     I used the key of client.user to represent access-key
     
     and get the hash-of-header-and-secret accordingly.

However, it still  returns 403 access denied.

     Can anyone explain the method to deal with Admin Ops API, thanks!


------------------
Hui Jiang
East China University of Science and Technology
130 MeiLong Rd. Shanghai, China 200237
Mobile +86 13774493120
E-mail hjiang@xxxxxxxxxxx
 
 
_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux