** Changed in: ceilometer (Ubuntu Oracular)
       Status: New => Triaged
** Changed in: ceilometer (Ubuntu Noble)
       Status: New => Triaged

** Changed in: ceilometer (Ubuntu Noble)
   Importance: Undecided => High

** Changed in: ceilometer (Ubuntu Oracular)
   Importance: Undecided => High

** Description changed:

+ [Impact]
+ 
+ [Test Case]
+ 
+ [Regression Potential]
+ 
+ [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.

** Description changed:

  [Impact]
  
  [Test Case]
  
- [Regression Potential]
+ [Where problems could occur]
  
  [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.

** Description changed:

  [Impact]
+ Meter definition files are not included in the binary package resulting in a 
non-functional ceilometer after install.
  
  [Test Case]
+ sudo apt install python3-ceilometer
+ find /usr/lib/python3 -name meters.yaml -> file is not found.
  
  [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
Bugs, which is subscribed to 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceilometer/+bug/2071939/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to