Project

General

Profile

Actions

Bug #12158

closed

RGW Swift API: response for GET on Swift account doesn't contain mandatory Content-Length header

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:
firefly,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 FCGI frontend:
$ curl -i ${publicURL}/ -X GET -H "X-Auth-Token: ${token}"

HTTP/1.1 200 OK
Server: nginx/1.4.6 (Ubuntu)
Date: Thu, 25 Jun 2015 15:18:50 GMT
Content-Type: text/plain; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
X-Timestamp: 1435245530.12126
X-Account-Container-Count: 4
X-Account-Object-Count: 0
X-Account-Bytes-Used: 0
X-Account-Bytes-Used-Actual: 0
X-Trans-Id: ts-default.4122.10-20150625:151850:114

aaaa10
cont10
cont12
cont15

2. Swift:
$ curl -i ${publicURL}/ -X GET -H "X-Auth-Token: ${token}"

HTTP/1.1 200 OK
Content-Length: 5
Accept-Ranges: bytes
X-Account-Object-Count: 1
X-Timestamp: 1430929360.01528
X-Account-Bytes-Used: 0
X-Account-Container-Count: 1
Content-Type: text/plain; charset=utf-8
X-Account-Meta-Test: NOP
X-Trans-Id: tx070a590a7fb540399b766-00558c1c0f
Date: Thu, 25 Jun 2015 15:19:43 GMT

cont


Related issues 2 (0 open2 closed)

Copied to rgw - Backport #12918: RGW Swift API: response for GET on Swift account doesn't contain mandatory Content-Length headerResolvedLoïc Dachary06/25/2015Actions
Copied to rgw - Backport #13361: RGW Swift API: response for GET on Swift account doesn't contain mandatory Content-Length headerResolvedNathan CutlerActions
Actions #1

Updated by Radoslaw Zarzynski almost 9 years ago

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

Updated by Radoslaw Zarzynski almost 9 years ago

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

Updated by Loïc Dachary over 8 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #4

Updated by Loïc Dachary over 8 years ago

  • Backport set to hammer
Actions #5

Updated by Nathan Cutler over 8 years ago

  • Backport changed from hammer to firefly,hammer
Actions #6

Updated by Nathan Cutler over 8 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF