Project

General

Profile

Bug #11501

rgw: listing buckets via Swift API seems to be broken

Added by Radoslaw Zarzynski over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Urgent
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Tested on master (e24509b):

$ curl -i http://localhost:8000/swift/v1/ -X GET -H "X-Auth-Token: $token"

HTTP/1.1 204 No Content
X-Timestamp: 1430311840.68982
X-Account-Container-Count: 0
X-Account-Object-Count: 0
X-Account-Bytes-Used: 0
X-Account-Bytes-Used-Actual: 0
Content-Length: 1
Accept-Ranges: bytes
Date: Wed, 29 Apr 2015 12:50:40 GMT

$ curl -i http://localhost:8000/swift/v1/cont -X PUT -H "X-Auth-Token: $token"

HTTP/1.1 201 Created
Content-Length: 0
Accept-Ranges: bytes
Date: Wed, 29 Apr 2015 12:50:56 GMT

$ curl -i http://localhost:8000/swift/v1/ -X GET -H "X-Auth-Token: $token"

HTTP/1.1 200 OK
X-Timestamp: 1430311859.43158
X-Account-Container-Count: 0
X-Account-Object-Count: 0
X-Account-Bytes-Used: 0
X-Account-Bytes-Used-Actual: 0
Content-Length: 1
Accept-Ranges: bytes
Date: Wed, 29 Apr 2015 12:50:59 GMT

c

Associated revisions

Revision 4757bf90 (diff)
Added by Radoslaw Zarzynski over 8 years ago

rgw: fix broken account listing of Swift API.

Fixes: #11501
Signed-off-by: Radoslaw Zarzynski <>

History

#1 Updated by Radoslaw Zarzynski over 8 years ago

  • Status changed from New to Fix Under Review

#2 Updated by Yehuda Sadeh over 8 years ago

  • Status changed from Fix Under Review to Resolved

Merged fix. This was broken by commit 009664e560ee37ef6dc170a0155d6c749e151b06, and was only affecting the master branch.

Also available in: Atom PDF