Project

General

Profile

Actions

Bug #11431

closed

RGW Swift API: XML document generated in response for GET on account does not contain account name

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

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

0%

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

Description

1. RGW via civetweb:
$ curl -i http://localhost:8000/swift/v1/?format=xml -X GET -H "X-Auth-Token: $token"

HTTP/1.1 200 OK
X-Timestamp: 1429529128.13742
X-Account-Container-Count: 1
X-Account-Object-Count: 0
X-Account-Bytes-Used: 0
X-Account-Bytes-Used-Actual: 0
Content-Length: 129
Accept-Ranges: bytes
Content-type: application/xml; charset=utf-8
Date: Mon, 20 Apr 2015 11:25:28 GMT

<account><container><name>cont</name><count>0</count><bytes>0</bytes></container></account>

2. Swift:
$ curl -i http://localhost:9090/v1/AUTH_test/?format=xml -X GET -H "X-Auth-Token: $token"

HTTP/1.1 200 OK
Content-Length: 149
Accept-Ranges: bytes
X-Timestamp: 1424789666.47604
X-Account-Bytes-Used: 0
X-Account-Container-Count: 1
Content-Type: application/xml; charset=utf-8
X-Account-Object-Count: 0
X-Trans-Id: tx91c8b5b791ba4c9c976cd-005534e3c5
Date: Mon, 20 Apr 2015 11:32:21 GMT


<account name="AUTH_test">
<container><name>cont</name><count>0</count><bytes>0</bytes></container>
</account>


Related issues 1 (0 open1 closed)

Copied to rgw - Backport #12323: RGW Swift API: XML document generated in response for GET on account does not contain account nameResolvedRadoslaw Zarzynski04/20/2015Actions
Actions #1

Updated by Radoslaw Zarzynski almost 9 years ago

  • Status changed from New to In Progress
  • Assignee set to Radoslaw Zarzynski

I'm working on it.

Actions #2

Updated by Radoslaw Zarzynski almost 9 years ago

  • Status changed from In Progress to Fix Under Review
Actions #3

Updated by Nathan Cutler almost 9 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to hammer
  • Regression set to No
Actions #4

Updated by Nathan Cutler over 8 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF