Bug 2220887 - [RHOSP 17.1] Power metrics are reported as current metrics [NEEDINFO]
Summary: [RHOSP 17.1] Power metrics are reported as current metrics
Keywords:
Status: ON_DEV
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-ceilometer
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z2
: 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: 2023-08-15 09:41 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Known Issue
Doc Text:
The data collection service (ceilometer) does not filter separate power and current metrics.
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:
ifrangs: needinfo? (ykulkarn)


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

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


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