Re: rgw: Swift API X-Storage-Url

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

 



Sorry, a revoke my  question. On one node there was a duplicate RGW
daemon with old config. That's why sometimes I was receiving wrong
URLs.

2016-09-15 13:23 GMT+03:00 Василий Ангапов <angapov@xxxxxxxxx>:
> Hello,
>
> I have Ceph Jewel 10.2.1 cluster and RadosGW. Issue is that when
> authenticating against Swift API I receive different values for
> X-Storage-Url header:
>
> # curl -i -H "X-Auth-User: internal-it:swift" -H "X-Auth-Key: ***"
> https://ed-1-vip.cloud/auth/v1.0 | grep X-Storage-Url
> X-Storage-Url: https://ed-1-vip.cloud/swift/v1/AUTH_internal-it
>
> # curl -i -H "X-Auth-User: internal-it:swift" -H "X-Auth-Key: ***"
> https://ed-1-vip.cloud/auth/v1.0 | grep X-Storage-Url
> X-Storage-Url: http://ed-1-vip.cloud:443/swift/v1
>
> See, first time it gives correct HTTPS link, while the second time it
> gives erroneous HTTP to 443 port link.
>
> In config I have the following:
> [client.rgw.ed-1]
> keyring = /etc/ceph/ceph.client.rgw.ed-1.keyring
> admin socket = /var/run/ceph/client.rgw.ed-1.asok
> rgw frontends = fastcgi socket_port=9000 socket_host=10.144.66.180
> rgw zone = ed-1
> rgw dns name = ed-1-vip.cloud
> rgw ops log rados = false
> rgw enable usage log = true
> rgw enable ops log = true
> rgw print continue = false
> rgw override bucket index max shards = 64
> rgw swift url = https://ed-1-vip.cloud
> rgw swift account in url = true
>
> Thanks!
_______________________________________________
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