Bug 1795825

Summary: Swift capabilities tests fail when being run against Rados GW
Product: Red Hat OpenStack Reporter: Martin Kopec <mkopec>
Component: openstack-tempestAssignee: Chandan Kumar <chkumar>
Status: CLOSED ERRATA QA Contact: Martin Kopec <mkopec>
Severity: medium Docs Contact:
Priority: medium    
Version: 15.0 (Stein)CC: apevec, lhh, nweinber, slinaber, udesale
Target Milestone: z2Keywords: Triaged, ZStream
Target Release: 15.0 (Stein)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tempest-21.0.0-0.20191209200453.702b21c.el8ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1801143 (view as bug list) Environment:
Last Closed: 2020-03-05 12:03:12 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: 1730744    
Bug Blocks: 1801143    
Attachments:
Description Flags
verification output none

Description Martin Kopec 2020-01-29 00:08:27 UTC
This bug was initially created as a copy of Bug #1730744

Description of problem:
Keep track of the upstream launchpad bug[1]
Customer is hitting the same issue with OSP13.

[1] https://bugs.launchpad.net/tempest/+bug/1799981


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 6 Martin Kopec 2020-02-28 10:26:29 UTC
Created attachment 1666374 [details]
verification output

The Fixed in version package contains the fix for the issue.

python3-tempest-21.0.0-0.20191209200452.702b21c.el8ost.noarch:

tempest.api.object_storage.test_healthcheck.HealthcheckTest.test_get_healthcheck[id-db5723b1-f25c-49a9-bfeb-7b5640caf337]
-------------------------------------------------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    b'Traceback (most recent call last):'
    b'  File "/usr/lib/python3.6/site-packages/tempest/api/object_storage/test_healthcheck.py", line 31, in test_get_healthcheck'
    b'    resp, _ = self.account_client.get("healthcheck", {})'
    b'  File "/usr/lib/python3.6/site-packages/tempest/lib/common/rest_client.py", line 298, in get'
    b"    return self.request('GET', url, extra_headers, headers)"
    b'  File "/usr/lib/python3.6/site-packages/tempest/lib/common/rest_client.py", line 679, in request'
    b'    self._error_checker(resp, resp_body)'
    b'  File "/usr/lib/python3.6/site-packages/tempest/lib/common/rest_client.py", line 770, in _error_checker'
    b'    resp=resp)'
    b'tempest.lib.exceptions.UnexpectedContentType: Unexpected content type provided'
    b'Details: 404'
    b''


python3-tempest-tests-21.0.0-0.20191209200453.702b21c.el8ost.noarch:

[stack@undercloud-0 cloud]$ tempest run --regex tempest.api.object_storage.test_healthcheck.HealthcheckTest.test_get_healthcheck
{0} tempest.api.object_storage.test_healthcheck.HealthcheckTest.test_get_healthcheck [0.637926s] ... ok

======
Totals
======
Ran: 1 tests in 0.6379 sec.
 - Passed: 1
 - Skipped: 0
 - Expected Fail: 0
 - Unexpected Success: 0
 - Failed: 0
Sum of execute time for each test: 0.6379 sec.

Comment 8 errata-xmlrpc 2020-03-05 12:03:12 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:0710