Project

General

Profile

Bug #11438

swift smoke test fails on TestAccountUTF8

Added by Orit Wasserman almost 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
High
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
firefly,hammer
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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

Related to rgw - Bug #11091: rgw: shouldn't return content-type: application/xml if content length is 0 Resolved 03/10/2015
Copied to rgw - Backport #12634: swift smoke test fails on TestAccountUTF8 Resolved 04/21/2015
Copied to rgw - Backport #12635: swift smoke test fails on TestAccountUTF8 Resolved

Associated revisions

Revision 009664e5 (diff)
Added by Orit Wasserman almost 9 years ago

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 <>

Revision 143cfc33 (diff)
Added by Orit Wasserman over 8 years ago

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 <>
(cherry picked from commit 009664e560ee37ef6dc170a0155d6c749e151b06)

Revision 767f1f74 (diff)
Added by Orit Wasserman over 8 years ago

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 <>
(cherry picked from commit 009664e560ee37ef6dc170a0155d6c749e151b06)

History

#1 Updated by Yehuda Sadeh almost 9 years ago

  • Status changed from New to Resolved

Fixed merged at commit:bfb112406b0f3e8c5a16e3ab3a72ef9fde453c59

#2 Updated by Abhishek Varshney over 8 years ago

  • Status changed from Resolved to Pending Backport
  • Backport set to firefly,hammer
  • Regression set to No

#4 Updated by Orit Wasserman over 8 years ago

  • Status changed from Pending Backport to Resolved

#5 Updated by Orit Wasserman over 8 years ago

  • Status changed from Resolved to Pending Backport

#6 Updated by Nathan Cutler over 8 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF