Description of problem: RHOSP16-2 Tempest Component line jobs are failing with ImportError: cannot import name 'manager' We have faced a similiar bug for rhos17 few months back: https://bugzilla.redhat.com/show_bug.cgi?id=1937355 Log snippet:- ~~~ 2021-08-18 16:07:58.012919 | primary | Failed to import test module: neutron_tempest_plugin.vpnaas.scenario.test_vpnaas 2021-08-18 16:07:58.012923 | primary | Traceback (most recent call last): 2021-08-18 16:07:58.012926 | primary | File "/usr/lib/python3.6/site-packages/unittest2/loader.py", line 456, in _find_test_path 2021-08-18 16:07:58.012930 | primary | module = self._get_module_from_name(name) 2021-08-18 16:07:58.012934 | primary | File "/usr/lib/python3.6/site-packages/unittest2/loader.py", line 395, in _get_module_from_name 2021-08-18 16:07:58.012937 | primary | __import__(name) 2021-08-18 16:07:58.012941 | primary | File "/usr/lib/python3.6/site-packages/neutron_tempest_plugin/vpnaas/scenario/test_vpnaas.py", line 28, in <module> 2021-08-18 16:07:58.012945 | primary | from neutron_tempest_plugin.vpnaas.scenario import base_vpnaas as base 2021-08-18 16:07:58.012949 | primary | File "/usr/lib/python3.6/site-packages/neutron_tempest_plugin/vpnaas/scenario/base_vpnaas.py", line 16, in <module> 2021-08-18 16:07:58.012953 | primary | from neutron_tempest_plugin.scenario import base 2021-08-18 16:07:58.012957 | primary | File "/usr/lib/python3.6/site-packages/neutron_tempest_plugin/scenario/base.py", line 31, in <module> 2021-08-18 16:07:58.012960 | primary | from neutron_tempest_plugin.api import base as base_api 2021-08-18 16:07:58.012964 | primary | File "/usr/lib/python3.6/site-packages/neutron_tempest_plugin/api/base.py", line 28, in <module> 2021-08-18 16:07:58.012968 | primary | from neutron_tempest_plugin.api import clients 2021-08-18 16:07:58.012971 | primary | File "/usr/lib/python3.6/site-packages/neutron_tempest_plugin/api/clients.py", line 23, in <module> 2021-08-18 16:07:58.012975 | primary | from tempest import manager 2021-08-18 16:07:58.012983 | primary | ImportError: cannot import name 'manager' ~~~ Version-Release number of selected component (if applicable): 16.2 How reproducible: Everytime in Downstream tempest component Ci Actual results: Job failing during tempest test run with "ImportError: cannot import name 'manager'" Expected results: Job should not fail with "ImportError: cannot import name 'manager'" Additional info:
The failure may be caused because manager has been deprecated long ago and tempest.scenario.manager is expected to be used. Here is the patch which removes the manager[1]. [1] https://github.com/openstack/neutron-tempest-plugin/commit/dd96e9a6aeffd2181ad70248aab0dc02403fe2c4
Fixed in version package openstack-tempest-26.1.0-2.20211013134917.271f820.el8ost contains the fix - removal of the tempest.manager is reverted to give some time to neutron-tempest-plugin to adapt to the change - and the package is part of RHOS-16.2-RHEL-8-20220125.n.2 puddle -> VERIFIED
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 16.2.2), 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-2022:1001