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

Bug 1734933

Summary: [RHOS 14] Microversions tempest tests expect no other "Vary" headers
Product: Red Hat OpenStack Reporter: Goutham Pacha Ravi <gouthamr>
Component: python-manila-tests-tempestAssignee: Goutham Pacha Ravi <gouthamr>
Status: CLOSED WONTFIX QA Contact: Jason Grosso <jgrosso>
Severity: medium Docs Contact:
Priority: medium    
Version: 14.0 (Rocky)CC: acanan, ccopello, gouthamr, lkuchlan, tbarron, vimartin
Target Milestone: ---Keywords: TestBlocker, Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 1724622 Environment:
Last Closed: 2019-09-16 21:34:54 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: 1724622    
Bug Blocks:    

Description Goutham Pacha Ravi 2019-07-31 17:00:01 UTC
+++ This bug was initially created as a clone of Bug #1724622 +++

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 2 Goutham Pacha Ravi 2019-09-16 21:34:54 UTC
At present, we do not have a plan to pursue a fix for this issue in OSP 14. The issue has been addressed in OSP 13 and OSP 15, and future releases. If you use OSP 14, and feel that this issue is affecting you, please feel free to skip these API-only tests (manila_tempest_tests.tests.api.test_microversions.MicroversionsTest) when running manila tempest tests.  If you disagree, please feel free to re-open this bug.