Report power metrics

Bug #2038425 reported by Yadnesh Kulkarni
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
New
Undecided
Unassigned

Bug Description

Ceilometer reports Power metrics(W) under meter name "hardware.ipmi.current".
~~~
[stack@devstack ~]$ openstack metric list | grep -i current
| 4ccdc967-d5a3-47d5-b4ea-db0d873f7e6f | ceilometer-low | hardware.ipmi.current | Amps | f961d7de-230b-58e0-a27f-ba9d5da48fe4 |
| a2be34ce-57e7-4618-adf8-878dc554c696 | ceilometer-low | hardware.ipmi.current | W | 718889f7-01da-5fd2-9450-977928b087b4 |
~~~

This happens because ipmitool generates Power metrics with Current metrics and Ceilometer is not able to differentiate between the two.

Ceilometer executes below command to capture Current metrics.
~~~
[stack@devstack ~]$ sudo ipmitool -v sdr type Current
Sensor ID : Current 1 (0x6b)
 Entity ID : 10.1 (Power Supply)
 Sensor Type (Threshold) : Current (0x03)
 Sensor Reading : 0.800 (+/- 0) Amps
 Status : ok
 Nominal Reading : 0.000
 Normal Maximum : 0.000
 Positive Hysteresis : Unspecified
 Negative Hysteresis : Unspecified
 Minimum sensor range : Unspecified
 Maximum sensor range : Unspecified
 Event Message Control : Per-threshold
 Readable Thresholds : No Thresholds
 Settable Thresholds : No Thresholds
 Assertion Events :
 Assertions Enabled :

Sensor ID : Pwr Consumption (0x76)
 Entity ID : 7.1 (System Board)
 Sensor Type (Threshold) : Current (0x03)
 Sensor Reading : 132 (+/- 0) Watts
 Status : ok
 Nominal Reading : 1034.000
 Normal Maximum : 1056.000
 Upper critical : 1914.000
 Upper non-critical : 1738.000
 Positive Hysteresis : Unspecified
 Negative Hysteresis : Unspecified
 Minimum sensor range : Unspecified
 Maximum sensor range : 5588.000
 Event Message Control : Per-threshold
 Readable Thresholds : unc ucr
 Settable Thresholds : unc
 Assertion Events :
 Assertions Enabled : unc+ ucr+
 Deassertions Enabled : unc+ ucr+
~~~

Power metrics should be reported under the meter name "hardware.ipmi.power"

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ceilometer 22.0.0.0rc1

This issue was fixed in the openstack/ceilometer 22.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.