[Bug 2073643] [NEW] [Errno 2] No such file or directory: '/usr/lib/python3/dist- packages/ironic/drivers/raid_config_schema.json'.
Felipe Reyes
2073643 at bugs.launchpad.net
Fri Jul 19 22:30:45 UTC 2024
Public bug reported:
[Impact]
The python3-ironic package available in Ubuntu Noble fails when trying
to load the ironic drivers, because there is a json schema file missing.
This is because the package is not including it when it was built.
Stacktrace:
2024-07-19 15:24:28.547 1009815 ERROR oslo_service.service [None req-ee11f675-cc73-4c39-92d5-9a2ace917501 - - - - - -] Error starting thread.: ironic.common.exception.DriverLoadError: Driver, hardware type or interface no-raid could
not be loaded. Reason: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/ironic/drivers/raid_config_schema.json'.
2024-07-19 15:24:28.547 1009815 ERROR oslo_service.service Traceback (most recent call last):
2024-07-19 15:24:28.547 1009815 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/stevedore/extension.py", line 206, in _load_plugins
2024-07-19 15:24:28.547 1009815 ERROR oslo_service.service ext = self._load_one_plugin(ep,
2024-07-19 15:24:28.547 1009815 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/stevedore/named.py", line 156, in _load_one_plugin
2024-07-19 15:24:28.547 1009815 ERROR oslo_service.service return super(NamedExtensionManager, self)._load_one_plugin(
2024-07-19 15:24:28.547 1009815 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/stevedore/extension.py", line 242, in _load_one_plugin
2024-07-19 15:24:28.547 1009815 ERROR oslo_service.service obj = plugin(*invoke_args, **invoke_kwds)
2024-07-19 15:24:28.547 1009815 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/ironic/drivers/base.py", line 1461, in __init__
2024-07-19 15:24:28.547 1009815 ERROR oslo_service.service with open(RAID_CONFIG_SCHEMA, 'r') as raid_schema_fobj:
2024-07-19 15:24:28.547 1009815 ERROR oslo_service.service FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/ironic/drivers/raid_config_schema.json'
** Affects: cloud-archive
Importance: Undecided
Status: Triaged
** Affects: cloud-archive/caracal
Importance: Undecided
Status: Triaged
** Affects: ironic (Ubuntu)
Importance: Critical
Assignee: Felipe Reyes (freyes)
Status: Triaged
** Affects: ironic (Ubuntu Noble)
Importance: Undecided
Status: Triaged
** Also affects: ironic (Ubuntu Noble)
Importance: Undecided
Status: New
** Also affects: cloud-archive
Importance: Undecided
Status: New
** Also affects: cloud-archive/caracal
Importance: Undecided
Status: New
** Changed in: ironic (Ubuntu)
Status: New => Triaged
** Changed in: cloud-archive
Status: New => Triaged
** Changed in: cloud-archive/caracal
Status: New => Triaged
** Changed in: ironic (Ubuntu Noble)
Status: New => Triaged
** Changed in: ironic (Ubuntu)
Importance: Undecided => Critical
** Changed in: ironic (Ubuntu)
Assignee: (unassigned) => Felipe Reyes (freyes)
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ironic in Ubuntu.
https://bugs.launchpad.net/bugs/2073643
Title:
[Errno 2] No such file or directory: '/usr/lib/python3/dist-
packages/ironic/drivers/raid_config_schema.json'.
Status in Ubuntu Cloud Archive:
Triaged
Status in Ubuntu Cloud Archive caracal series:
Triaged
Status in ironic package in Ubuntu:
Triaged
Status in ironic source package in Noble:
Triaged
Bug description:
[Impact]
The python3-ironic package available in Ubuntu Noble fails when trying
to load the ironic drivers, because there is a json schema file
missing. This is because the package is not including it when it was
built.
Stacktrace:
2024-07-19 15:24:28.547 1009815 ERROR oslo_service.service [None req-ee11f675-cc73-4c39-92d5-9a2ace917501 - - - - - -] Error starting thread.: ironic.common.exception.DriverLoadError: Driver, hardware type or interface no-raid could
not be loaded. Reason: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/ironic/drivers/raid_config_schema.json'.
2024-07-19 15:24:28.547 1009815 ERROR oslo_service.service Traceback (most recent call last):
2024-07-19 15:24:28.547 1009815 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/stevedore/extension.py", line 206, in _load_plugins
2024-07-19 15:24:28.547 1009815 ERROR oslo_service.service ext = self._load_one_plugin(ep,
2024-07-19 15:24:28.547 1009815 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/stevedore/named.py", line 156, in _load_one_plugin
2024-07-19 15:24:28.547 1009815 ERROR oslo_service.service return super(NamedExtensionManager, self)._load_one_plugin(
2024-07-19 15:24:28.547 1009815 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/stevedore/extension.py", line 242, in _load_one_plugin
2024-07-19 15:24:28.547 1009815 ERROR oslo_service.service obj = plugin(*invoke_args, **invoke_kwds)
2024-07-19 15:24:28.547 1009815 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/ironic/drivers/base.py", line 1461, in __init__
2024-07-19 15:24:28.547 1009815 ERROR oslo_service.service with open(RAID_CONFIG_SCHEMA, 'r') as raid_schema_fobj:
2024-07-19 15:24:28.547 1009815 ERROR oslo_service.service FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/ironic/drivers/raid_config_schema.json'
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/2073643/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list