Bug 2170139
| Summary: | Rebase to python-wsgi_intercept 1.8.1 | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Artom Lifshitz <alifshit> |
| Component: | python-wsgi_intercept | Assignee: | Lon Hohberger <lhh> |
| Status: | CLOSED ERRATA | QA Contact: | nlevinki <nlevinki> |
| Severity: | low | Docs Contact: | |
| Priority: | high | ||
| Version: | 16.2 (Train) | CC: | jjoyce, jschluet, lhh, mburns, slinaber, tvignaud |
| Target Milestone: | z5 | Keywords: | AutomationBlocker, Rebase, Triaged |
| Target Release: | 16.2 (Train on RHEL 8.4) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-wsgi_intercept-1.8.1-1.el8ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-04-26 12:17:48 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: | |||
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 (Red Hat OpenStack Platform 16.2.5 (Train) bug fix and enhancement 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-2023:1763 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days |
Description of problem: We're currently packaging, and depending on, python-wsgi_intercept 1.2.2. This does not work in functional tests (which I guess we never ran from RPMs?), as evidenced by [1]. We need >= 1.7.0 as per upstream's test-requirements.txt. Please rebase to 1.8.1. Version-Release number of selected component (if applicable): python-wsgi_intercept 1.2.2 How reproducible: Consistently and deterministically. Steps to Reproduce: 1. Run Nova functional tests from RPMs (not pypi) Actual results: All tests fail in the placement fixture with the following stacktrace: Traceback (most recent call last): File "/home/zuul/src/code.engineering.redhat.com/nova/nova/tests/functional/api_sample_tests/test_servers.py", line 103, in setUp super(ServersSampleBase, self).setUp() File "/home/zuul/src/code.engineering.redhat.com/nova/nova/tests/functional/api_sample_tests/api_sample_base.py", line 113, in setUp super(ApiSampleTestBaseV21, self).setUp() File "/home/zuul/src/code.engineering.redhat.com/nova/nova/tests/functional/integrated_helpers.py", line 113, in setUp placement = self.useFixture(func_fixtures.PlacementFixture()) File "/usr/lib/python3.6/site-packages/testtools/testcase.py", line 756, in useFixture reraise(*exc_info) File "/usr/lib/python3.6/site-packages/testtools/_compat3x.py", line 16, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.6/site-packages/testtools/testcase.py", line 731, in useFixture fixture.setUp() File "/home/zuul/src/code.engineering.redhat.com/nova/nova/tests/functional/fixtures.py", line 66, in setUp super(PlacementFixture, self).setUp() File "/usr/lib/python3.6/site-packages/placement/tests/functional/fixtures/placement.py", line 85, in setUp intercept = interceptor.RequestsInterceptor(app, url=self.endpoint) File "/usr/lib/python3.6/site-packages/wsgi_intercept/interceptor.py", line 35, in __init__ self._init_from_url(url) File "/usr/lib/python3.6/site-packages/wsgi_intercept/interceptor.py", line 70, in _init_from_url host, port = parsed_url.netloc.split(':') ValueError: not enough values to unpack (expected 2, got 1) Expected results: Tests pass. Additional info: [1] https://code.engineering.redhat.com/gerrit/c/nova/+/439279