Description of problem: The stable/train fix for python-scciclient concerning HTTPS certificate validation requires this change in Ironic in order to work.
Hi, After updating the ironic packages in the containers, ironic conductor cannot be started. It repeats restarting with the following error. ``` 2022-11-09 21:58:01.188 7 ERROR oslo_service.service [req-dd04e35d-df9c-4801-bdad-eb486b6bb47b - - - - -] Error starting thread.: ironic.common.exception.DriverLoadError: Driver, hardware type or interface irmc could not be loaded. Reason: No module named 'packaging'. 2022-11-09 21:58:01.188 7 ERROR oslo_service.service Traceback (most recent call last): 2022-11-09 21:58:01.188 7 ERROR oslo_service.service File "/usr/lib/python3.6/site-packages/stevedore/extension.py", line 195, in _load_plugins 2022-11-09 21:58:01.188 7 ERROR oslo_service.service verify_requirements, 2022-11-09 21:58:01.188 7 ERROR oslo_service.service File "/usr/lib/python3.6/site-packages/stevedore/named.py", line 158, in _load_one_plugin 2022-11-09 21:58:01.188 7 ERROR oslo_service.service verify_requirements, 2022-11-09 21:58:01.188 7 ERROR oslo_service.service File "/usr/lib/python3.6/site-packages/stevedore/extension.py", line 223, in _load_one_plugin 2022-11-09 21:58:01.188 7 ERROR oslo_service.service plugin = ep.resolve() 2022-11-09 21:58:01.188 7 ERROR oslo_service.service File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2324, in resolve 2022-11-09 21:58:01.188 7 ERROR oslo_service.service module = __import__(self.module_name, fromlist=['__name__'], level=0) 2022-11-09 21:58:01.188 7 ERROR oslo_service.service File "/usr/lib/python3.6/site-packages/ironic/drivers/irmc.py", line 24, in <module> 2022-11-09 21:58:01.188 7 ERROR oslo_service.service from ironic.drivers.modules.irmc import bios 2022-11-09 21:58:01.188 7 ERROR oslo_service.service File "/usr/lib/python3.6/site-packages/ironic/drivers/modules/irmc/bios.py", line 24, in <module> 2022-11-09 21:58:01.188 7 ERROR oslo_service.service from ironic.drivers.modules.irmc import common as irmc_common 2022-11-09 21:58:01.188 7 ERROR oslo_service.service File "/usr/lib/python3.6/site-packages/ironic/drivers/modules/irmc/common.py", line 23, in <module> 2022-11-09 21:58:01.188 7 ERROR oslo_service.service from packaging import version 2022-11-09 21:58:01.188 7 ERROR oslo_service.service ModuleNotFoundError: No module named 'packaging' ``` The new ironic conductor requires python3-packaging, but it is not included in the OSP repository. https://github.com/openstack/ironic/blob/stable/train/requirements.txt#L51 Could you add python3-packaging in OSP repository? Best Regards, Yusuke Okada
Hi, I verified openstack-ironic-13.0.7-1.20220928173741.3d77e61.el8ost works as expected if I install/update the following packages in the ironic-conductor container. - python3-packaging is needed - python3-scciclient-0.9.1-2.20220111031440.el8ost.noarch.rpm Could you tell me when will this fix released? Best regards, Yusuke Okada
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.1.9 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-2022:8795
Hi, I checked the latest container (ironic-conductor:16.1.9-5) and found that it doesn't include python3-packaging. As I commented in #4, if python3-packaging is absent, ironic-conductor won't start. Could you include the package and update containers? Best regards, Yusuke Okada
Hi Okada-san, Just create a new bug to track this issue. https://bugzilla.redhat.com/show_bug.cgi?id=2152623
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days