Bug 2129137 - Fix iRMC https certification [OSP 16.1]
Summary: Fix iRMC https certification [OSP 16.1]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-ironic
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: z9
: 16.1 (Train on RHEL 8.2)
Assignee: OSP Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2119227
TreeView+ depends on / blocked
 
Reported: 2022-09-22 16:27 UTC by Lon Hohberger
Modified: 2023-09-19 04:26 UTC (History)
7 users (show)

Fixed In Version: openstack-ironic-13.0.7-1.20220928173741.3d77e61.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2129136
Environment:
Last Closed: 2022-12-07 20:27:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 852806 0 None MERGED Fix iRMC driver to use certification file in HTTPS 2022-09-28 14:15:51 UTC
Red Hat Issue Tracker OSP-18882 0 None None None 2022-09-22 16:52:27 UTC
Red Hat Product Errata RHBA-2022:8795 0 None None None 2022-12-07 20:28:11 UTC

Description Lon Hohberger 2022-09-22 16:27:39 UTC
Description of problem:

The stable/train fix for python-scciclient concerning HTTPS certificate validation requires this change in Ironic in order to work.

Comment 4 Yusuke Okada (fujitsu) 2022-11-10 03:05:59 UTC
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

Comment 7 Yusuke Okada (fujitsu) 2022-11-28 20:24:05 UTC
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

Comment 14 errata-xmlrpc 2022-12-07 20:27:52 UTC
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

Comment 15 Yusuke Okada (fujitsu) 2022-12-09 23:40:09 UTC
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

Comment 16 jingjing niu 2022-12-12 14:30:15 UTC
Hi Okada-san,

Just create a new bug to track this issue.
https://bugzilla.redhat.com/show_bug.cgi?id=2152623

Comment 17 Red Hat Bugzilla 2023-09-19 04:26:56 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


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