[Errno 2] No such file or directory: '/usr/lib/python3/dist- packages/ironic/drivers/raid_config_schema.json'.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Cloud Archive |
Fix Committed
|
Undecided
|
Unassigned | ||
Caracal |
Triaged
|
Undecided
|
Unassigned | ||
ironic (Ubuntu) |
Fix Released
|
Critical
|
Felipe Reyes | ||
Noble |
Fix Committed
|
Undecided
|
Unassigned |
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.
not be loaded. Reason: [Errno 2] No such file or directory: '/usr/lib/
2024-07-19 15:24:28.547 1009815 ERROR oslo_service.
2024-07-19 15:24:28.547 1009815 ERROR oslo_service.
2024-07-19 15:24:28.547 1009815 ERROR oslo_service.
2024-07-19 15:24:28.547 1009815 ERROR oslo_service.
2024-07-19 15:24:28.547 1009815 ERROR oslo_service.
2024-07-19 15:24:28.547 1009815 ERROR oslo_service.
2024-07-19 15:24:28.547 1009815 ERROR oslo_service.
2024-07-19 15:24:28.547 1009815 ERROR oslo_service.
2024-07-19 15:24:28.547 1009815 ERROR oslo_service.
2024-07-19 15:24:28.547 1009815 ERROR oslo_service.
[ Test Plan ]
1. get a copy of charm-ironic-
2. Build a local copy of the charm: tox -e build
3. Run the functional testing: cd src/ ; tox -e func-target -- noble-caracal
Expected results: All the tests passes
Current result: /var/log/
[ Where problems could occur ]
This change will make the python3-ironic package larger in size since it's including all files present in the released tarball, but not less. A possible issue could be that unused files are installed in the system, and this could be a problem for users producing OCI images, rocks and cheaseled images.
[ Other Info ]
This patch[0] was used to test this fix in jammy-caracal -> jammy-caracal-alt https:/
[0] https:/
Related branches
- James Page: Pending requested
- Ubuntu OpenStack uploaders: Pending requested
-
Diff: 58 lines (+17/-11)4 files modifieddebian/changelog (+9/-2)
debian/patches/install-missing-files.patch (+7/-0)
debian/patches/series (+1/-1)
dev/null (+0/-8)
- James Page: Pending requested
- Ubuntu OpenStack uploaders: Pending requested
-
Diff: 51 lines (+17/-9)4 files modifieddebian/changelog (+9/-0)
debian/patches/install-missing-files.patch (+7/-0)
debian/patches/series (+1/-1)
dev/null (+0/-8)
Changed in ironic (Ubuntu): | |
status: | New → Triaged |
Changed in cloud-archive: | |
status: | New → Triaged |
Changed in ironic (Ubuntu Noble): | |
status: | New → Triaged |
Changed in ironic (Ubuntu): | |
importance: | Undecided → Critical |
assignee: | nobody → Felipe Reyes (freyes) |
description: | updated |
Changed in cloud-archive: | |
status: | Triaged → Fix Committed |
Uploaded for SRU team review.