Description of problem: When installing openstack-ceilometer-ipmi the following error message is emited: Failed to preset unit: Unit file openstack-ceilometer-alarm-ipmi.service does not exist. Version-Release number of selected component (if applicable): This appears in the 17.0 version of the package: openstack-ceilometer-ipmi-16.0.2-0.20220610070417.2569c99.el9ost How reproducible: Steps to Reproduce: 1. dnf install openstack-ceilometer-ipmi or rpm -i openstack-ceilometer-ipmi-16.0.2-0.20220610070417.2569c99.el9ost.rpm Actual results: "Failed to preset unit: Unit file openstack-ceilometer-alarm-ipmi.service does not exist." is emitted from the command-line Expected results: No warnings or failures are emitted. Additional info: This looks like a packaging issue. https://pkgs.devel.redhat.com/cgit/rpms/openstack-ceilometer/tree/openstack-ceilometer.spec?h=rhos-17.0-rhel-9#n393 is where that unit is being preset. This was found during 17.0 packaging checks and appears to impact releases all the way back to OSP 10.
Please verify that this result for all supported releases.
I was looking through this and I think the fix is that https://pkgs.devel.redhat.com/cgit/rpms/openstack-ceilometer/tree/openstack-ceilometer.spec?h=rhos-17.0-rhel-9#n393 just needs to remove the word "alarm" here. Will need to test this to verify, but it's looking like maybe one line got lost in a component rename.
Working this via midstream RDO at https://review.rdoproject.org/r/c/openstack/ceilometer-distgit/+/46029 with cherry-picks targeting wallaby and train once reviewed and merged.
All changes merged upstream. Just needs import for RHOSP 17.1.
from the openstack-ceilometer.spec file # Collector service has been removed but not replaced Provides: openstack-ceilometer-collector = %{epoch}:%{version}-%{release} Obsoletes: openstack-ceilometer-collector < %{epoch}:%{version}-%{release} ceilometer API obsolete reference has been removed.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Release of components for Red Hat OpenStack Platform 17.1 (Wallaby)), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2023:4577