Ceph upgrade to Hammer. Rados Gateway returning 400s

Solution Unverified - Updated -

Issue

  • I upgraded from Firefly to Hammer in a test environment with no issues. I updated a production site, and am now returning 400s for anything that was created via XXX, which I believe uses multi part uploads.

  • I found some bug reports, but the appear to reference fixes in .94.2, but it is clearly still broken for us. This is a production site.

On the client side:

DEBUG:lib3.connectionpool:"GET /swift/v1?format=json HTTP/1.1" 400 26
INFO:swiftclient:REQ: curl -i http://example.com:8080/swift/v1?format=json -X GET -H "X-Auth-Token: REDACTED"
INFO:swiftclient:RESP STATUS: 400 Bad Request
INFO:swiftclient:RESP HEADERS: [('content-length', '26'), ('accept-ranges', 'bytes'), ('server', 'Apache/2.2.22 (Ubuntu)'), ('connection', 'close'), ('date', 'Thu, 06 Aug 2015 22:11:06 GMT'), ('content-type', 'application/json; charset=utf-8')]
INFO:swiftclient:RESP BODY: {"Code":"InvalidArgument"}
ERROR:swiftclient:Account GET failed: http://example.com:8080:8080/swift/v1?format=json 400 Bad Request   {"Code":"InvalidArgument"}
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1189, in _retry
    rv = func(self.url, self.token, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 436, in get_account
    http_response_content=body)
ClientException: Account GET failed: http://example.com:8080:8080/swift/v1?format=json 400 Bad Request   {"Code":"InvalidArgument"}
Account GET failed: http://example.com:8080:8080/swift/v1?format=json 400 Bad Request   {"Code":"InvalidArgument"}

On the RGW side:

2015-08-06 22:22:54.032264 7f4347f8f700  0 ERROR: could not get stats for buckets

Environment

  • Red Hat Ceph Storage 1.3 running on Ubuntu

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In