Re: Error 400 Bad Request when accessing Ceph

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

 



Sean,

rados.domain.com – is a round robin A type dns record that points to two rados gateway nodes ceph-2.domain.com and ceph-3.domain.com 

Bellow is the ceph config:

[global]
fsid = 0aacc440-efb2-4be8-8586-157cff765598
mon_initial_members = ceph-1, ceph-2, ceph-3
mon_host = 10.102.133.11,10.102.133.12,10.102.133.13
auth_cluster_required = cephx
auth_service_required = cephx
auth_client_required = cephx
filestore_xattr_use_omap = true

public network =  10.102.133.0/24
cluster network = 10.102.132.0/24

[client.rgw.ceph-2]
rgw_frontends = "civetweb port=80"
rgw dns name = rados.domain.com
# debug rgw = 20
# address=/.ceph-2/10.102.133.12
# rgw enable ops log = true

[client.rgw.ceph-3]
rgw_frontends = "civetweb port=80”
rgw dns name = rados.domain.com
# debug rgw = 20
# address=/.ceph-3/10.102.133.13
# rgw enable ops log = true

Regards,

Andrey Ptashnik



From: Sean Redmond <sean.redmond1@xxxxxxxxx>
Date: Thursday, May 26, 2016 at 2:18 PM
To: Andrey Ptashnik <APtashnik@xxxxxxxxx>
Subject: Re: [ceph-users] Error 400 Bad Request when accessing Ceph

Hi,

I noticed you have set s3cmd to use a http proxy called 'rados.domain.com' is that correct for your local network?

Thanks

On Wed, May 25, 2016 at 3:04 PM, Andrey Ptashnik <APtashnik@xxxxxxxxx> wrote:
Hi Team,

I’m trying to get a second chance for the question below if someone came across such error.

Regards,

Andrey Ptashnik







On 5/24/16, 11:14 AM, "ceph-users on behalf of Andrey Ptashnik" <ceph-users-bounces@xxxxxxxxxxxxxx on behalf of APtashnik@xxxxxxxxx> wrote:

>Hello Team,
>
>I set up a Ceph cluster version 0.94.5 for testing and trying to connect to RADOS gateway with s3cmd tool. I’m getting error 400 when trying to list buckets:
>
>DEBUG: Command: ls
>DEBUG: CreateRequest: resource[uri]=/
>DEBUG: Using signature v2
>DEBUG: SignHeaders: 'GET\n\n\n\nx-amz-date:Tue, 24 May 2016 16:00:33 +0000\n/'
>DEBUG: Processing request, please wait...
>DEBUG: get_hostname(None): rados.domain.com:80
>DEBUG: ConnMan.get(): creating new connection: proxy://rados.domain.com:80
>DEBUG: proxied HTTPConnection(rados.domain.com, 80)
>DEBUG: get_hostname(None): rados.domain.com:80
>DEBUG: format_uri(): http://rados.domain.com:80/
>DEBUG: Sending request method_string='GET', uri='http://rados.domain.com:80/', headers={'Authorization': 'AWS XXX49NCDM95R0EHVXXXX:OabrCtvt+WNfHTl0ZsXXXXXb6Y=', 'x-amz-date': 'Tue, 24 May 2016 16:00:33 +0000'}, body=(0 bytes)
>DEBUG: Response: {'status': 400, 'headers': {'date': 'Tue, 24 May 2016 16:00:33 GMT', 'content-length': '68', 'connection': 'keep-alive'}, 'reason': 'Bad Request', 'data': 'Error 400: Bad Request\nInvalid URI: [http://rados.domain.com:80/]'}
>DEBUG: ConnMan.put(): closing proxy connection (keep-alive not yet supported)
>ERROR: Error parsing xml: syntax error: line 1, column 0
>ERROR: Error 400: Bad Request
>Invalid URI: [http://rados.domain.com:80/]
>
>
>Would you please give me a hint where should I start troubleshooting that?
>
>Regards,
>
>Andrey Ptashnik
>
>_______________________________________________
>ceph-users mailing list
>ceph-users@xxxxxxxxxxxxxx
>http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

_______________________________________________
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