Project

General

Profile

Bug #19443

Response header of swift API returned by radosgw does not contain "x-openstack-request-id". But Swift returns it.

Added by Tone ZHANG 6 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
04/01/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
kraken
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
jewel
Needs Doc:
No

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


Related issues

Copied to rgw - Backport #19573: kraken: rgw: Response header of swift API returned by radosgw does not contain "x-openstack-request-id". But Swift returns it. Resolved

History

#1 Updated by Tone ZHANG 6 months ago

  • Assignee set to Tone ZHANG

I'm working on the issue.

#2 Updated by Tone ZHANG 6 months ago

Please review the PR https://github.com/ceph/ceph/pull/14280.
Thanks!

#3 Updated by Nathan Cutler 6 months ago

  • Project changed from Ceph to rgw
  • Category deleted (radosgw)

#4 Updated by Casey Bodley 6 months ago

  • Status changed from New to Need Review

#5 Updated by Radoslaw Zarzynski 5 months ago

  • Status changed from Need Review to Pending Backport
  • Backport set to kraken

#6 Updated by Nathan Cutler 5 months 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

#7 Updated by Nathan Cutler 3 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF