Re: [ceph-users] RGW: Auth error with hostname instead of IP

2017-06-12 Thread Ben Morrice

Hello Eric,

You are probably hitting the git commits listed on this thread: 
http://lists.ceph.com/pipermail/ceph-users-ceph.com/2017-April/017731.html


If this is the same behaviour, your options are:

a) set all fqn inside the array of hostnames of your zonegroup(s)

or

b) remove 'rgw dns name' from your ceph.conf

Kind regards,

Ben Morrice

__
Ben Morrice | e: ben.morr...@epfl.ch | t: +41-21-693-9670
EPFL / BBP
Biotech Campus
Chemin des Mines 9
1202 Geneva
Switzerland

On 09/06/17 23:50, Eric Choi wrote:
When I send the a RGW request with hostname (with port that is not 
80), I am seeing "SignatureDoesNotMatch" error.


GET / HTTP/1.1
Host: cephrgw0002s2mdw1.sendgrid.net:50680 


User-Agent: Minio (linux; amd64) minio-go/2.0.4 mc/2017-04-03T18:35:01Z
Authorization: AWS **REDACTED**:**REDACTED**


encoding="UTF-8"?>SignatureDoesNotMatchtx00093e0c1-00593b145c-996aae1-default996aae1-default-defaultmc: 



However this works fine when I send it with an IP address instead.  Is 
the hostname part of the signature?  If so, how can I make it so that 
it will work with hostname as well?



Thank you,


Eric



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


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


[ceph-users] RGW: Auth error with hostname instead of IP

2017-06-09 Thread Eric Choi
When I send the a RGW request with hostname (with port that is not 80), I
am seeing "SignatureDoesNotMatch" error.

GET / HTTP/1.1
Host: cephrgw0002s2mdw1.sendgrid.net:50680
User-Agent: Minio (linux; amd64) minio-go/2.0.4 mc/2017-04-03T18:35:01Z
Authorization: AWS **REDACTED**:**REDACTED**


SignatureDoesNotMatchtx00093e0c1-00593b145c-996aae1-default996aae1-default-defaultmc:


However this works fine when I send it with an IP address instead.  Is the
hostname part of the signature?  If so, how can I make it so that it will
work with hostname as well?


Thank you,


Eric
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com