[Bug 2071939] Re: [caraca|2024.1] the 22.0 version of python3-ceilometer is missing files thus breaking the notification service
James Page
2071939 at bugs.launchpad.net
Fri Oct 4 14:56:41 UTC 2024
This bug was fixed in the package ceilometer - 2:23.0.0-0ubuntu2~cloud0
---------------
ceilometer (2:23.0.0-0ubuntu2~cloud0) noble-dalmatian; urgency=medium
.
* New upstream release for the Ubuntu Cloud Archive.
.
ceilometer (2:23.0.0-0ubuntu2) oracular; urgency=medium
.
* d/p/patch-requirements.patch: Drop empty patch which is causing some
issues with backport tooling for the Ubuntu Cloud Archive.
.
ceilometer (2:23.0.0-0ubuntu1) oracular; urgency=medium
.
* New upstream release for OpenStack Dalmatian.
.
ceilometer (2:23.0.0~rc1-0ubuntu1) oracular; urgency=medium
.
[ James Page ]
* d/gbp.conf: upstream-branch -> upstream-dalmatian.
.
[ Jadon Naas ]
* New upstream release candidate for OpenStack Dalmatian
.
ceilometer (2:22.0.0+git2024080716.e9842dd9-0ubuntu1) oracular; urgency=medium
.
* New upstream snapshot for OpenStack Dalmatian.
.
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).
** Changed in: cloud-archive
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceilometer in Ubuntu.
https://bugs.launchpad.net/bugs/2071939
Title:
[caraca|2024.1] the 22.0 version of python3-ceilometer is missing
files thus breaking the notification service
Status in Ubuntu Cloud Archive:
Fix Released
Status in Ubuntu Cloud Archive caracal series:
Fix Released
Status in ceilometer package in Ubuntu:
Fix Released
Status in ceilometer source package in Noble:
Fix Released
Status in ceilometer source package in Oracular:
Fix Released
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/python3/dist-packages/ceilometer/pipeline/data/...
directory is missing. This is supplied by the python3-ceilometer .deb
file.
For bobcat (mantic):
$ dpkg -c python3-ceilometer_21.0.0-0ubuntu1~cloud0_all.deb | grep data
drwxr-xr-x root/root 0 2023-10-05 19:34 ./usr/lib/python3/dist-packages/ceilometer/data/
drwxr-xr-x root/root 0 2023-10-05 19:34 ./usr/lib/python3/dist-packages/ceilometer/data/meters.d/
-rw-r--r-- root/root 13538 2023-10-04 12:09 ./usr/lib/python3/dist-packages/ceilometer/data/meters.d/meters.yaml
drwxr-xr-x root/root 0 2023-10-05 19:34 ./usr/lib/python3/dist-packages/ceilometer/pipeline/data/
-rw-r--r-- root/root 17573 2023-10-04 12:09 ./usr/lib/python3/dist-packages/ceilometer/pipeline/data/event_definitions.yaml
-rw-r--r-- root/root 176 2023-10-04 12:09 ./usr/lib/python3/dist-packages/ceilometer/pipeline/data/event_pipeline.yaml
-rw-r--r-- root/root 175 2023-10-04 12:09 ./usr/lib/python3/dist-packages/ceilometer/pipeline/data/pipeline.yaml
drwxr-xr-x root/root 0 2023-10-05 19:34 ./usr/lib/python3/dist-
...
For caracal (noble):
dpkg -c python3-ceilometer_22.0.0-0ubuntu1~cloud0_all.deb | grep data
-rw-r--r-- root/root 5113 2024-04-03 12:08 ./usr/lib/python3/dist-packages/ceilometer/tests/unit/compute/pollsters/test_location_metadata.py
-rw-r--r-- root/root 32485 2024-04-03 12:08 ./usr/lib/python3/dist-packages/ceilometer/tests/unit/ipmi/notifications/ipmi_test_data.py
-rw-r--r-- root/root 14151 2024-04-03 12:08 ./usr/lib/python3/dist-packages/ceilometer/tests/unit/ipmi/platform/ipmitool_test_data.py
i.e. the data directory is completely missing. It is available in the
upstream ceilometer repo:
https://opendev.org/openstack/ceilometer/src/branch/stable/2024.1/ceilometer/pipeline/data
I suspect something is amiss with the package src files.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/2071939/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list