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

Bug 1724622

Summary: [RHOS 13] Microversions tempest tests expect no other "Vary" headers
Product: Red Hat OpenStack Reporter: lkuchlan <lkuchlan>
Component: python-manila-tests-tempestAssignee: lkuchlan <lkuchlan>
Status: CLOSED ERRATA QA Contact: Jason Grosso <jgrosso>
Severity: medium Docs Contact:
Priority: medium    
Version: 13.0 (Queens)CC: ccopello, gouthamr, tbarron, tvignaud, vimartin
Target Milestone: z8Keywords: TestBlocker, Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-manila-tests-tempest-0.1.0-2.el7ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1734933 (view as bug list) Environment:
Last Closed: 2019-09-03 16:58:11 UTC Type: Bug
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:    
Bug Blocks: 1734933    

Description lkuchlan 2019-06-27 12:28:27 UTC
Description of problem:
This failure was found on an RHOSP platform with TripleO deployed configuration, a gist of which is:

1) Setup a mod-wsgi proxy for the manila-api with Apache
2) Expose the manila endpoints via haproxy
3) Run manila microversion tempest tests

manila_tempest_tests.tests.api.test_microversions.MicroversionsTest.test_microversions_v1_no_version[api,positive] (from manila)

Stacktrace

Traceback (most recent call last):
testtools.testresult.real._StringException: Empty attachments:
  pythonlogging:''

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/test_microversions.py", line 71, in test_microversions_v1_no_version
    self.assertEqual(API_MICROVERSIONS_HEADER, resp.get('vary'))
  File "/usr/lib/python2.7/site-packages/testtools/testcase.py", line 350, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/usr/lib/python2.7/site-packages/testtools/testcase.py", line 435, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: !=:
reference = 'X-OpenStack-Manila-API-Version'
actual = 'X-OpenStack-Manila-API-Version,Accept-Encoding'

Comment 14 errata-xmlrpc 2019-09-03 16:58:11 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-2019:2623