Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1859701

Summary: Tempest object storage test failed
Product: Red Hat OpenStack Reporter: Martin Kopec <mkopec>
Component: openstack-tempestAssignee: Chandan Kumar <chkumar>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Kopec <mkopec>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.1 (Train)CC: apevec, gsitlani, lhh, lpiwowar, mkopec, rlondhe, slinaber, udesale
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: 16.2 (Train on RHEL 8.4)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tempest-25.0.0-2.20201221100752.c8d7a01.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1852271 Environment:
Last Closed: 2021-01-18 14:19:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1852271    
Bug Blocks:    

Description Martin Kopec 2020-07-22 17:47:22 UTC
+++ This bug was initially created as a clone of Bug #1852271 +++

Description of problem:

Tempest object storage test failed [1]  with error " testtools.matchers._impl.MismatchError: accept-ranges header does not exist" [2]

[1]
[root@cd56067f656f tempest]# grep -i failed /out/tempest.log
{0} tempest.api.object_storage.test_account_services.AccountTest.test_list_containers [0.774807s] ... FAILED


Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "/usr/lib/python2.7/site-packages/tempest/api/object_storage/test_account_services.py", line 59, in test_list_containers
        self.assertHeaders(resp, 'Account', 'GET')
      File "/usr/lib/python2.7/site-packages/tempest/api/object_storage/base.py", line 145, in assertHeaders
        target, method, self.policies))
      File "/usr/lib/python2.7/site-packages/testtools/testcase.py", line 435, in assertThat
        raise mismatch_error
    testtools.matchers._impl.MismatchError: accept-ranges header does not exist


Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
Please check the trailing comments.

Actual results:

Tempest test is getting failed for "tempest.api.object_storage.test_account_services.AccountTest.test_list_containers"

Expected results:

Tempest test should get cleared.


Additional info:

~~~
[object-storage]
 operator_role = admin 
# operator_role = Member
reseller_admin_role = ResellerAdmin
~~~


Is this related to https://bugzilla.redhat.com/show_bug.cgi?id=1252600  ?

Comment 1 Martin Kopec 2020-11-11 11:10:58 UTC
It is fixed in tempest 25

Comment 2 Martin Kopec 2021-01-18 14:19:51 UTC
The fix (tempest version 25) got included in RHOS-16.2-RHEL-8-20201014.n.3 puddle and is present since.