Bug #11438
swift smoke test fails on TestAccountUTF8
0%
Description
From teuthology log:
2015-04-18T15:52:18.053 INFO:teuthology.orchestra.run.plana34.stderr:FAIL: testContainerSerializedInfo (test.functional.tests.TestAccountUTF8)
2015-04-18T15:52:18.054 INFO:teuthology.orchestra.run.plana34.stderr:----------------------------------------------------------------------
2015-04-18T15:52:18.054 INFO:teuthology.orchestra.run.plana34.stderr:Traceback (most recent call last):
2015-04-18T15:52:18.054 INFO:teuthology.orchestra.run.plana34.stderr: File "/home/ubuntu/cephtest/swift/test/functional/tests.py", line 234, in testContainerSerializedInfo
2015-04-18T15:52:18.054 INFO:teuthology.orchestra.run.plana34.stderr: 'application/json; charset=utf-8')
2015-04-18T15:52:18.054 INFO:teuthology.orchestra.run.plana34.stderr:AssertionError: 'text/plain' != 'application/json; charset=utf-8'
This is a regression from the fix to #11091.
It seems formatter->get_len() returns 0 for Swift Get request and we don't add the content type to the request
Related issues
Associated revisions
rgw: force content-type header for swift account responses without body
This regression was introduced in commit 4cfeca03ade21861ab70ca759f94eb244c16cb39
Fixes: #11438
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
rgw: force content-type header for swift account responses without body
This regression was introduced in commit 4cfeca03ade21861ab70ca759f94eb244c16cb39
Fixes: #11438
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
(cherry picked from commit 009664e560ee37ef6dc170a0155d6c749e151b06)
rgw: force content-type header for swift account responses without body
This regression was introduced in commit 4cfeca03ade21861ab70ca759f94eb244c16cb39
Fixes: #11438
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
(cherry picked from commit 009664e560ee37ef6dc170a0155d6c749e151b06)
History
#1 Updated by Yehuda Sadeh over 8 years ago
- Status changed from New to Resolved
Fixed merged at commit:bfb112406b0f3e8c5a16e3ab3a72ef9fde453c59
#2 Updated by Abhishek Varshney about 8 years ago
- Status changed from Resolved to Pending Backport
- Backport set to firefly,hammer
- Regression set to No
#3 Updated by Nathan Cutler about 8 years ago
master PR: https://github.com/ceph/ceph/pull/4418
#4 Updated by Orit Wasserman about 8 years ago
- Status changed from Pending Backport to Resolved
#5 Updated by Orit Wasserman about 8 years ago
- Status changed from Resolved to Pending Backport
#6 Updated by Nathan Cutler almost 8 years ago
- Status changed from Pending Backport to Resolved