[caraca|2024.1] the 22.0 version of python3-ceilometer is missing files thus breaking the notification service
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Ubuntu Cloud Archive |
New
|
Undecided
|
Unassigned | |||
Caracal |
Fix Released
|
Undecided
|
Unassigned | |||
ceilometer (Ubuntu) | Status tracked in Oracular | |||||
Noble |
Fix Released
|
High
|
Unassigned | |||
Oracular |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
Meter definition files are not included in the binary package resulting in a non-functional ceilometer after install.
[Test Case - Basic]
sudo apt install python3-ceilometer
find /usr/lib/python3 -name meters.yaml -> file is not found.
[Test Case - Advanced]
Deploy OpenStack Caracal using Charmed OpenStack Tester
Ceilometer agents will fail to start due to missing data files.
[Where problems could occur]
Limited - we're picking a patch that's been in Debian for sometime (2016) so its had good testing exposure already; as to why we need this in Noble whereas in Mantic this problem did not exist - probably something todo with installation behaviour changes between Python versions.
[Original Bug Report]
The issue I discovered is that (in an installed system) the:
/usr/lib/
directory is missing. This is supplied by the python3-ceilometer .deb file.
For bobcat (mantic):
$ dpkg -c python3-
drwxr-xr-x root/root 0 2023-10-05 19:34 ./usr/lib/
drwxr-xr-x root/root 0 2023-10-05 19:34 ./usr/lib/
-rw-r--r-- root/root 13538 2023-10-04 12:09 ./usr/lib/
drwxr-xr-x root/root 0 2023-10-05 19:34 ./usr/lib/
-rw-r--r-- root/root 17573 2023-10-04 12:09 ./usr/lib/
-rw-r--r-- root/root 176 2023-10-04 12:09 ./usr/lib/
-rw-r--r-- root/root 175 2023-10-04 12:09 ./usr/lib/
drwxr-xr-x root/root 0 2023-10-05 19:34 ./usr/lib/
...
For caracal (noble):
dpkg -c python3-
-rw-r--r-- root/root 5113 2024-04-03 12:08 ./usr/lib/
-rw-r--r-- root/root 32485 2024-04-03 12:08 ./usr/lib/
-rw-r--r-- root/root 14151 2024-04-03 12:08 ./usr/lib/
i.e. the data directory is completely missing. It is available in the upstream ceilometer repo: https:/
I suspect something is amiss with the package src files.
Changed in ceilometer (Ubuntu Oracular): | |
status: | New → Triaged |
Changed in ceilometer (Ubuntu Noble): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in ceilometer (Ubuntu Oracular): | |
importance: | Undecided → High |
description: | updated |
description: | updated |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
This bug was fixed in the package ceilometer - 2:22.0.0-0ubuntu2
---------------
ceilometer (2:22.0.0-0ubuntu2) oracular; urgency=medium
* d/patches/ install- missing- files.patch: Ensure that all data files
in the Python module directories are included in the binary package
(LP: #2071939).
-- James Page <email address hidden> Mon, 08 Jul 2024 09:24:13 +0100