Bug #19443
closedResponse header of swift API returned by radosgw does not contain "x-openstack-request-id". But Swift returns it.
0%
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
Updated by Anonymous about 7 years ago
Please review the PR https://github.com/ceph/ceph/pull/14280.
Thanks!
Updated by Nathan Cutler about 7 years ago
- Project changed from Ceph to rgw
- Category deleted (
22)
Updated by Casey Bodley about 7 years ago
- Status changed from New to Fix Under Review
Updated by Radoslaw Zarzynski about 7 years ago
- Status changed from Fix Under Review to Pending Backport
- Backport set to kraken
Updated by Nathan Cutler about 7 years ago
- Copied to Backport #19573: kraken: rgw: Response header of swift API returned by radosgw does not contain "x-openstack-request-id". But Swift returns it. added
Updated by Nathan Cutler almost 7 years ago
- Status changed from Pending Backport to Resolved