[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
Tue Jul 9 10:47:56 UTC 2024


Uploaded for SRU team review.

** Description changed:

  [Impact]
  Meter definition files are not included in the binary package resulting in a non-functional ceilometer after install.
  
- [Test Case]
+ [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.

-- 
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 ceilometer package in Ubuntu:
  Fix Released
Status in ceilometer source package in Noble:
  Triaged
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/ubuntu/+source/ceilometer/+bug/2071939/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list