Bug 2220887 - [RHOSP 17.1] Power metric units are reported as current metrics (Watts instead of Ampere)
Summary: [RHOSP 17.1] Power metric units are reported as current metrics (Watts instea...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-ceilometer
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z4
: 17.1
Assignee: Yadnesh Kulkarni
QA Contact: Leonid Natapov
mgeary
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-06 12:33 UTC by Yadnesh Kulkarni
Modified: 2025-03-22 04:25 UTC (History)
5 users (show)

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.
Clone Of:
Environment:
Last Closed: 2024-11-21 09:38:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 886803 0 None NEW Change metric type to 'power' if sensor reading is measured in watts 2023-07-06 12:37:36 UTC
Red Hat Issue Tracker OSP-26370 0 None None None 2023-07-06 12:34:01 UTC
Red Hat Product Errata RHBA-2024:9974 0 None None None 2024-11-21 09:38:30 UTC

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


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