Bug 2125402 - [RHOSP 17.1] Install of openstack-ceilometer-ipmi results in an error message
Summary: [RHOSP 17.1] Install of openstack-ceilometer-ipmi results in an error message
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-ceilometer
Version: 17.1 (Wallaby)
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ga
: 17.1
Assignee: Leif Madsen
QA Contact: Leonid Natapov
URL:
Whiteboard:
Depends On:
Blocks: 2141092
TreeView+ depends on / blocked
 
Reported: 2022-09-08 20:44 UTC by Jason Joyce
Modified: 2023-08-16 01:12 UTC (History)
5 users (show)

Fixed In Version: openstack-ceilometer-16.0.2-1.20221116071130.2569c99.el9ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 2141092 (view as bug list)
Environment:
Last Closed: 2023-08-16 01:12:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
RDO 45880 0 None None None 2022-11-14 18:30:43 UTC
RDO 45887 0 None None None 2022-11-14 18:30:01 UTC
Red Hat Issue Tracker OSP-18631 0 None None None 2022-09-08 20:53:46 UTC
Red Hat Product Errata RHEA-2023:4577 0 None None None 2023-08-16 01:12:35 UTC

Description Jason Joyce 2022-09-08 20:44:20 UTC
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.

Comment 1 Martin Magr 2022-09-14 15:14:23 UTC
Please verify that this result for all supported releases.

Comment 2 Leif Madsen 2022-10-26 20:33:44 UTC
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.

Comment 4 Leif Madsen 2022-11-08 18:22:42 UTC
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.

Comment 5 Leif Madsen 2022-11-15 15:55:46 UTC
All changes merged upstream. Just needs import for RHOSP 17.1.

Comment 10 Leonid Natapov 2023-05-07 15:34:09 UTC
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.

Comment 18 errata-xmlrpc 2023-08-16 01:12:09 UTC
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


Note You need to log in before you can comment on or make changes to this bug.