Bug 1734933 - [RHOS 14] Microversions tempest tests expect no other "Vary" headers
Summary: [RHOS 14] Microversions tempest tests expect no other "Vary" headers
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-manila-tests-tempest
Version: 14.0 (Rocky)
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: ---
Assignee: Goutham Pacha Ravi
QA Contact: Jason Grosso
Depends On: 1724622
TreeView+ depends on / blocked
Reported: 2019-07-31 17:00 UTC by Goutham Pacha Ravi
Modified: 2019-09-16 21:34 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of: 1724622
Last Closed: 2019-09-16 21:34:54 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Launchpad 1833766 0 None None None 2019-07-31 17:00:01 UTC
OpenStack gerrit 668622 0 None None None 2019-07-31 17:00:01 UTC
OpenStack gerrit 670172 0 None None None 2019-07-31 17:00:01 UTC
RDO 21437 0 None None None 2019-07-31 17:00:01 UTC

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)


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

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.

Note You need to log in before you can comment on or make changes to this bug.