Re: [ceph-users] Access denied error for list users

2014-05-22 Thread alain.dechorgnat
I don’t know more for PHP. Alain De : Shanil S [mailto:xielessha...@gmail.com] Envoyé : mercredi 21 mai 2014 13:25 À : DECHORGNAT Alain IMT/OLPS; ceph-users@lists.ceph.com; Yehuda Sadeh; Sage Weil; w...@42on.com Objet : Re: [ceph-users] Access denied error for list users Hi Alain, Thanks

Re: [ceph-users] Access denied error for list users

2014-05-21 Thread Shanil S
master/radosgw/s3/php/ > > Alain > > De : Shanil S [mailto:xielessha...@gmail.com] > Envoyé : mercredi 21 mai 2014 05:48 > À : DECHORGNAT Alain IMT/OLPS > Objet : Re: [ceph-users] Access denied error for list users > > Hi Alain, > > Thanks.. > I used the GET /admi

Re: [ceph-users] Access denied error for list users

2014-05-21 Thread alain.dechorgnat
There is no detail with GET /admin/metadata/user, only ids. For PHP, have a look at http://ceph.com/docs/master/radosgw/s3/php/ Alain De : Shanil S [mailto:xielessha...@gmail.com] Envoyé : mercredi 21 mai 2014 05:48 À : DECHORGNAT Alain IMT/OLPS Objet : Re: [ceph-users] Access denied error for

Re: [ceph-users] Access denied error for list users

2014-05-20 Thread alain.dechorgnat
Hi, GET /admin/user with no parameter doesn't work. You must use GET /admin/metadata/user to fetch the user list (with metadata capabity). Alain De : ceph-users [mailto:ceph-users-boun...@lists.ceph.com] De la part de Shanil S Envoyé : mardi 20 mai 2014 07:13 À : ceph-users@lists.ceph.com; w

Re: [ceph-users] Access denied error

2014-04-29 Thread Punit Dambiwal
Hi Cedric/Yehuda, I have generated the signature dynamically as like in this documentation http://s3.amazonaws.com/doc/s3-developer-guide/RESTAuthentication.html by using a reference http://birkoff.net/blog/amazon-s3-query-string-authentication-using-php/ and my code is like

Re: [ceph-users] Access denied error

2014-04-28 Thread Cedric Lemarchand
Hi Punit, Le 28 avr. 2014 à 11:55, Punit Dambiwal mailto:hypu...@gmail.com>> a écrit : > Hi Yehuda, > > I am using the same above method to call the api and used the way > which described in the > http://ceph.com/docs/master/radosgw/s3/authentication/#access-control-lists-acls > for connection. T

Re: [ceph-users] Access denied error

2014-04-28 Thread Punit Dambiwal
Hi Yehuda, I am using the same above method to call the api and used the way which described in the http://ceph.com/docs/master/radosgw/s3/authentication/#access-control-lists-aclsfor connection. The method in the http://s3.amazonaws.com/doc/s3-developer-guide/RESTAuthentication.html is for genera

Re: [ceph-users] Access denied error

2014-04-25 Thread Yehuda Sadeh
On Fri, Apr 25, 2014 at 1:03 AM, Punit Dambiwal wrote: > Hi Yehuda, > > Thanks for your help...that missing date error gone but still i am getting > the access denied error :- > > - > 2014-04-25 15:52:56.988025 7f00d37c6700 1 == starting new request > req=0x237a090

Re: [ceph-users] Access denied error

2014-04-25 Thread Punit Dambiwal
Hi Yehuda, Thanks for your help...that missing date error gone but still i am getting the access denied error :- - 2014-04-25 15:52:56.988025 7f00d37c6700 1 == starting new request req=0x237a090 = 2014-04-25 15:52:56.988072 7f00d37c6700 2 req 24:0.46::GET

Re: [ceph-users] Access denied error

2014-04-24 Thread Yehuda Sadeh
On Thu, Apr 24, 2014 at 8:04 AM, Punit Dambiwal wrote: > > > Hi Yehuda, > > I am getting the following from the radosgw logs :- > > --- > 2014-04-22 09:36:00.024618 7ff16ccf6700 1 == starting new request > req=0x1ec7270 = > 2014-04-22 09:36:00.024719 7ff16ccf6700 2 r

Re: [ceph-users] Access denied error

2014-04-24 Thread Punit Dambiwal
Hi Yehuda, I am getting the following from the radosgw logs :- --- 2014-04-22 09:36:00.024618 7ff16ccf6700 1 == starting new request req=0x1ec7270 = 2014-04-22 09:36:00.024719 7ff16ccf6700 2 req 15:0.000100::GET /admin/usage::initializing 2014-04-22 09:36:00.024731 7

Re: [ceph-users] Access denied error

2014-04-21 Thread Yehuda Sadeh
On Fri, Apr 18, 2014 at 10:07 PM, Punit Dambiwal wrote: > Hi Yehuda, > > I have used the method in this blog to pass the header information > http://blog.defunct.ca/2013/10/10/using-the-radosgw-admin-api/ and gave > like > > Authorization: AWS {access-key}:{hash-of-header- > and-secret} > > and t

Re: [ceph-users] Access denied error

2014-04-18 Thread Punit Dambiwal
Hi Yehuda, I have used the method in this blog to pass the header information http://blog.defunct.ca/2013/10/10/using-the-radosgw-admin-api/ and gave like Authorization: AWS {access-key}:{hash-of-header- and-secret} and the complete command like curl -i 'http://gateway.3linux.com/admin/usage?fo

Re: [ceph-users] Access denied error

2014-04-18 Thread Punit Dambiwal
Hi Yehuda, I have used the method in this blog to pass the header information http://blog.defunct.ca/2013/10/10/using-the-radosgw-admin-api/ and gave like Authorization: AWS {access-key}:{hash-of-header- and-secret} and the complete command like curl -i 'http://s3.linux.com/admin/usage?format=j

Re: [ceph-users] Access denied error

2014-04-17 Thread Punit Dambiwal
Hi Yehuda, With the same keys i am able to access the buckets through cyberduckbut i use the same keys in the AdminOPS apiit through the access denied erroras i have assign all the permissions to this user but still the same access denied error... http://ceph.com/docs/master/radosgw/s

Re: [ceph-users] Access denied error

2014-04-16 Thread Yehuda Sadeh
On Tue, Apr 15, 2014 at 11:33 PM, Punit Dambiwal wrote: > Hi, > > Still i am getting the same error,when i run the following :- > > -- > curl -i 'http://xxx.xlinux.com/admin/usage?format=json' -X GET -H > 'Authorization: AWS > YHFQ4D8BM835BCGERHTN:kXpM0XB9UjOadexDu2ZoP8s4nKjuoL

Re: [ceph-users] Access denied error

2014-04-15 Thread Punit Dambiwal
Hi, Still i am getting the same error,when i run the following :- -- curl -i 'http://xxx.xlinux.com/admin/usage?format=json' -X GET -H 'Authorization: AWS YHFQ4D8BM835BCGERHTN:kXpM0XB9UjOadexDu2ZoP8s4nKjuoL0iIZhE\/+Gv' -H 'Host: xxx.xlinux.com' -H 'Content-Length: 0' HTTP/1.1