CPU Metrics not working
Bug #1564182 reported by
Mohammed Naser
This bug report is a duplicate of:
Bug #1514997: Metrics filter receives wrong metric value.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Undecided
|
Mohammed Naser |
Bug Description
The metrics collection on compute nodes is currently not working.
When the compute node creates the object to save, it is divided to be a value inside [0,1]. However, at the same time, when the scheduler needs to pull out the numbers, it divides it once again as it pulls the objects:
https:/
https:/
https:/
This essentially means that it always returns a value of zero as a metric, because it divides a small number again by 100.
Changed in nova: | |
assignee: | nobody → Mohammed Naser (mnaser) |
status: | New → In Progress |
To post a comment you must log in.
Actually, that was a bit misinformed, the problem seems to be here:
https:/ /github. com/openstack/ nova/blob/ stable/ liberty/ nova/objects/ monitor_ metric. py#L40