Actions
Bug #19443
closedResponse header of swift API returned by radosgw does not contain "x-openstack-request-id". But Swift returns it.
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
kraken
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Found the bug when verified Swift API with Ceph radosgw. According to OpenStack Swift API document (https://docs.openstack.org/developer/swift/api/object_api_v1_overview.html?highlight=openstack), the response header of swift API should contain "x-openstack-request-id", its value is same as X-Trans-Id. For example:
curl -i -X PUT -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: xxxxxxxxxxx" http://10.169.42.41:7480/swift/v1/AUTH_d6b422cc66fd4cd4ab9e1f2424b3cb36/Container1/TestObject-1 -d "testtesttes"
HTTP/1.1 200 OK
X-Trans-Id: tx000000000000000000d01-0058df5b03-10b0-default
Content-Type: application/json; charset=utf-8
Content-Length: 440
Date: Sat, 01 Apr 2017 07:47:15 GMT
Actions