Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2220887

Summary: [RHOSP 17.1] Power metric units are reported as current metrics (Watts instead of Ampere)
Product: Red Hat OpenStack Reporter: Yadnesh Kulkarni <ykulkarn>
Component: openstack-ceilometerAssignee: Yadnesh Kulkarni <ykulkarn>
Status: CLOSED ERRATA QA Contact: Leonid Natapov <lnatapov>
Severity: medium Docs Contact: mgeary <mgeary>
Priority: medium    
Version: 17.1 (Wallaby)CC: apevec, gregraka, mariel, mrunge, rheslop
Target Milestone: z4Keywords: Triaged, ZStream
Target Release: 17.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-ceilometer-16.0.2-17.1.20240822060744.f0cc89d.el9ost Doc Type: Known Issue
Doc Text:
The data collection service (ceilometer) reports the wrong unit for power current. Current is measured in Amperes not in Watts.
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-11-21 09:38:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Yadnesh Kulkarni 2023-07-06 12:33:38 UTC
Description of problem:

Power metrics with units Watts(W) must be reported with metric name "hardware.ipmi.power" and not "hardware.ipmi.current"
~~~
| defa8232-8928-4608-8187-e61e16bd357e | ceilometer-high | hardware.ipmi.current | W | 87760997-1692-5ade-9d30-b12507ce8a44 |
~~~

The output of the command used to capture current metrics also includes power metrics, the readings are sampled as a current metric
without considering the type of sensor.
~~~
[stack@standalone ~]$ sudo ipmitool sdr -v type Current
Discovered IPMB address 0x0
Sensor ID              : Current 1 (0x6b)
 Entity ID             : 10.1 (Power Supply)
 Sensor Type (Threshold)  : Current (0x03)
 Sensor Reading        : 0.800 (+/- 0) Amps
 Status                : ok

Sensor ID              : Current 2 (0x6c)
 Entity ID             : 10.2 (Power Supply)
 Sensor Type (Threshold)  : Current (0x03)
 Sensor Reading        : Disabled
 Status                : Not Available

Sensor ID              : Pwr Consumption (0x76)
 Entity ID             : 7.1 (System Board)
 Sensor Type (Threshold)  : Current (0x03)
 Sensor Reading        : 154 (+/- 0) Watts
 Status                : ok
 Nominal Reading       : 1034.000
 Normal Maximum        : 1056.000
 Upper critical        : 1914.000
 Upper non-critical    : 1738.000
~~~

Version-Release number of selected component (if applicable):
openstack-ceilometer-ipmi-16.0.2-1.20230428061013.7dbb69e.el9ost.noarch

Comment 19 errata-xmlrpc 2024-11-21 09:38:28 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 (RHOSP 17.1.4 bug fix and enhancement advisory), 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/RHBA-2024:9974

Comment 20 Red Hat Bugzilla 2025-03-22 04:25:02 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days