Description of problem: While executing octavia_tempest_plugin/tests/barbican_scenario/v2/test_tls_barbican.py, the test is failing with error: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/octavia_tempest_plugin/tests/barbican_scenario/v2/test_tls_barbican.py", line 1246, in test_http_2_tls_traffic self.test_http_versions_tls_traffic('HTTP/2', ['h2', 'http/1.1']) File "/usr/lib/python3.9/site-packages/octavia_tempest_plugin/tests/barbican_scenario/v2/test_tls_barbican.py", line 1240, in test_http_versions_tls_traffic client = httpx.Client(http2=(http_version == 'HTTP/2'), verify=context) File "/usr/lib/python3.9/site-packages/httpx/_client.py", line 590, in __init raise ImportError( ImportError: Using http2=True, but the 'h2' package is not installed. Make sure to install httpx using pip install httpx[http2]. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
The question is: should the python-octavia-tests-tempest RPM unconditionally depend on the python3-h2 package?
(In reply to Luigi Toscano from comment #2) > The question is: should the python-octavia-tests-tempest RPM unconditionally > depend on the python3-h2 package? Yes I think so, but it seems that python3-h2 is not available in RHEL
(In reply to Gregory Thiemonge from comment #4) > (In reply to Luigi Toscano from comment #2) > > The question is: should the python-octavia-tests-tempest RPM unconditionally > > depend on the python3-h2 package? > > Yes I think so, but it seems that python3-h2 is not available in RHEL It is in the RDO repositories, which means it can become available for RHOSP. Should we propose a change to the spec file of the RDO repository?
(In reply to Luigi Toscano from comment #5) > (In reply to Gregory Thiemonge from comment #4) > > (In reply to Luigi Toscano from comment #2) > > > The question is: should the python-octavia-tests-tempest RPM unconditionally > > > depend on the python3-h2 package? > > > > Yes I think so, but it seems that python3-h2 is not available in RHEL > > It is in the RDO repositories, which means it can become available for > RHOSP. Should we propose a change to the spec file of the RDO repository? Thanks, I have proposed a patch https://review.rdoproject.org/r/c/openstack/octavia-tempest-plugin-distgit/+/44569
(In reply to Gregory Thiemonge from comment #6) > (In reply to Luigi Toscano from comment #5) > > (In reply to Gregory Thiemonge from comment #4) > > > (In reply to Luigi Toscano from comment #2) > > > > The question is: should the python-octavia-tests-tempest RPM unconditionally > > > > depend on the python3-h2 package? > > > > > > Yes I think so, but it seems that python3-h2 is not available in RHEL > > > > It is in the RDO repositories, which means it can become available for > > RHOSP. Should we propose a change to the spec file of the RDO repository? > > Thanks, > I have proposed a patch > https://review.rdoproject.org/r/c/openstack/octavia-tempest-plugin-distgit/+/ > 44569 The patch above has been merged in master and backported in Yoga, Xena and Wallaby [1]. [1] https://review.rdoproject.org/r/q/Ibd6630b0a18188d7344a96ff0c376650d76abd1f
*** Bug 2160409 has been marked as a duplicate of this bug. ***
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 (Release of components for Red Hat OpenStack Platform 17.1 (Wallaby)), 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/RHEA-2023:4577