invalid cpu_util on creation

Bug #1563450 reported by gordon chung
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Invalid
Medium
Unassigned

Bug Description

when a new instance is created, the cpu_util value generated is consistently way above 0.xx. it seems it's providing utilisation as integer percentage vs decimal.

Changed in ceilometer:
assignee: nobody → Marcellin Fom Tchassem (mf6510)
Revision history for this message
gordon chung (chungg) wrote :

marking as medium. i think this only happens on create and never again.

Changed in ceilometer:
importance: High → Medium
Changed in ceilometer:
assignee: Marcellin Fom Tchassem (mf6510) → nobody
Revision history for this message
Toshiaki Takahashi (takahashi-tsc) wrote :

Behavior close to this bug occurs in my environment.
I have 2 questions.

I booted one server and I checked cpu_util with following commands.
The first cpu_util was about 1.54. After that the cpu_util was about 0.02 and it was stable.
Q1. Is this "1.54" close to the image "way above 0.xx"?

$ ceilometer sample-list -m cpu_util
+--------------------------------------+----------+-------+-----------------+------+----------------------------+
| Resource ID | Name | Type | Volume | Unit | Timestamp |
+--------------------------------------+----------+-------+-----------------+------+----------------------------+
| 898dffb4-b9d0-4700-8632-62a11116bd20 | cpu_util | gauge | 0.0251067476142 | % | 2016-06-27T07:31:46.854038 |
| 898dffb4-b9d0-4700-8632-62a11116bd20 | cpu_util | gauge | 1.54619274584 | % | 2016-06-27T07:30:47.109143 |

I also checked cpu time.
Above cpu_util looks correct in terms of following Volume values.
Q2. I think it is high load at start-up server. Is there something wrong in my understand?

$ ceilometer sample-list -m cpu
+--------------------------------------+------+------------+--------------+------+----------------------------+
| Resource ID | Name | Type | Volume | Unit | Timestamp |
+--------------------------------------+------+------------+--------------+------+----------------------------+
| 898dffb4-b9d0-4700-8632-62a11116bd20 | cpu | cumulative | 3900000000.0 | ns | 2016-06-27T07:31:46.854038 |
| 898dffb4-b9d0-4700-8632-62a11116bd20 | cpu | cumulative | 3840000000.0 | ns | 2016-06-27T07:30:47.109143 |
| 898dffb4-b9d0-4700-8632-62a11116bd20 | cpu | cumulative | 130000000.0 | ns | 2016-06-27T07:29:47.123090 |

Revision history for this message
Sumant Murke (sumant-murke) wrote :

I tried to boot a vm and then tried checking ceilometer sample-list -m cpu_util but the % is always below 1. Are there any necessary steps to be followed for replicating or any specific configuration ?

Revision history for this message
gordon chung (chungg) wrote :

i need to verify this again.

Revision history for this message
gordon chung (chungg) wrote :

i'm going to close this. i'm an idiot. cpu_util should be value from 0 to 100

Changed in ceilometer:
status: Triaged → Invalid
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.