Re: [ceph-users] swiftclient call radosgw, it always response 401 Unauthorized

2016-09-22 Thread Brian Chang-Chien
hi Radoslaw Zarzynski After i retry mamy times, I find when swift generate keystone user to radosgw first time the message will dump 2016-09-22 17:10:36.077496 7f8104ff9700 10 host=10.62.9.140 2016-09-22 17:10:36.077503 7f8104ff9700 20 subdomain= domain= in_hosted_domain=0 in_hosted_domain_s

Re: [ceph-users] swiftclient call radosgw, it always response 401 Unauthorized

2016-09-22 Thread Brian Chang-Chien
hi Radoslaw Zarzynski now i retry the http://docs.ceph.com/docs/jewel/install/install-ceph- gateway/ and can get radosgw log as following, the result still 401 , it show got expired token: admin:admin expired i highlight inline.. 2016-09-22 17:09:40.975268 7f8292ffd700 10 content=MIIBzgYJKoZ

Re: [ceph-users] swiftclient call radosgw, it always response 401 Unauthorized

2016-09-21 Thread Radoslaw Zarzynski
Hi, Responded inline. On Wed, Sep 21, 2016 at 4:54 AM, Brian Chang-Chien wrote: > > > [global] > ... > debug rgw = 20 > [client.radosgw.gateway] > host = brianceph > rgw keystone url = http://10.62.13.253:35357 > rgw keystone admin token = 7bb8e26cbc714c47a26ffec3d96f246f > rgw keystone accepted

Re: [ceph-users] swiftclient call radosgw, it always response 401 Unauthorized

2016-09-21 Thread Brian Chang-Chien
Hi Radoslaw Zarzynski I also test Ceph Hammer 0.94.7 for rados gateway the result still response 401 , so i post ceph.conf, radosgw.log as following ceph.conf when i call swift cmd , radosgw.log 2016-09-21 17:47:12.141783 7fc7f4bf5700 10 content=MIIBzgYJKoZIhvcNAQcCoIIBvzCCAbsCAQExDTALBglghk

Re: [ceph-users] swiftclient call radosgw, it always response 401 Unauthorized

2016-09-20 Thread Radoslaw Zarzynski
Hi Brian, Responded inline. On Tue, Sep 20, 2016 at 5:45 AM, Brian Chang-Chien wrote: > > > 2016-09-20 10:14:38.761635 7f2049ffb700 20 > HTTP_X_AUTH_TOKEN=b243614d27244d00b12b2f366b58d709 > 2016-09-20 10:14:38.761636 7f2049ffb700 20 QUERY_STRING= > ... > 2016-09-20 10:14:38.761720 7f2049ffb700

Re: [ceph-users] swiftclient call radosgw, it always response 401 Unauthorized

2016-09-19 Thread Brian Chang-Chien
016 at 12:33 PM, Orit Wasserman > wrote: > > Any ideas? > > I would guess the swift user is not created correctly but as it with > > keystone ... > > > > > > ------ Forwarded message -- > > From: Brian Chang-Chien > > Date: Mon, Sep 19, 2016 at 5:22 AM >

Re: [ceph-users] swiftclient call radosgw, it always response 401 Unauthorized

2016-09-19 Thread Brian Chang-Chien
Hi ,Radoslaw Zarzynski Thx your reply, I add debug rgw =20 in ceph.conf , according to your suggestion and the log as following 2016-09-20 10:14:38.761600 7f2049ffb700 20 RGWEnv::set(): HTTP_HOST: 10.62.9.140:7480 2016-09-20 10:14:38.761613 7f2049ffb700 20 RGWEnv::set(): HTTP_ACCEPT_ENCODING: ide

Re: [ceph-users] swiftclient call radosgw, it always response 401 Unauthorized

2016-09-19 Thread Radoslaw Zarzynski
ny ideas? > I would guess the swift user is not created correctly but as it with > keystone ... > > > -- Forwarded message -- > From: Brian Chang-Chien > Date: Mon, Sep 19, 2016 at 5:22 AM > Subject: Re: [ceph-users] swiftclient call radosgw, it always respon

Re: [ceph-users] swiftclient call radosgw, it always response 401 Unauthorized

2016-09-18 Thread Brian Chang-Chien
7:53:14.597366 7f47d3fff700 1 == req done >> req=0x7f47d3ff9710 op status=0 http_status=401 == >> 2016-09-13 17:53:14.597403 7f47d3fff700 1 civetweb: 0x7f4818000bb0: >> 10.62.13.253 - - [13/Sep/2016:17:53:14 +0800] "HEAD /swift/v1 HTTP/1.1" 401 >> 0 - python-swi

Re: [ceph-users] swiftclient call radosgw, it always response 401 Unauthorized

2016-09-15 Thread Brian Chang-Chien
eters you configured for keystone in ceph.conf are correct? Can >> you provide your radosgw configuration in ceph.conf? >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >>

Re: [ceph-users] swiftclient call radosgw, it always response 401 Unauthorized

2016-09-13 Thread Brian Chang-Chien
gt; > > > > > > > > > > > > > > > > > > * And include radosgw.log after radosgw service restart and during swift > list. Thanks & Regards, Naga Venkata From: ceph-users > [mailto:ceph-users-boun...@lists.ceph.com > ] On Behalf Of B

Re: [ceph-users] swiftclient call radosgw, it always response 401 Unauthorized

2016-09-12 Thread B, Naga Venkata
.com] On Behalf Of Brian Chang-Chien Sent: Monday, September 12, 2016 11:35 AM To: ceph-users@lists.ceph.com Subject: [ceph-users] swiftclient call radosgw, it always response 401 Unauthorized Hi all I use openstack keystone to integrate with ceph radosgw for object storage But when i call "s

[ceph-users] swiftclient call radosgw, it always response 401 Unauthorized

2016-09-11 Thread Brian Chang-Chien
Hi all I use openstack keystone to integrate with ceph radosgw for object storage But when i call "swift stat" command , it always 401 error "Account HEAD failed: http://10.62.9.140:7480/swift/v1 401 Unauthorized" following is log DEBUG:keystoneclient.auth.identity.v2:Making authentication reque