ResourceTracker auditing the wrong amount of free resources for Ironic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Won't Fix
|
High
|
Unassigned | ||
OpenStack Compute (nova) |
Fix Released
|
Low
|
Unassigned |
Bug Description
I've two nodes avaiable in Ironic, they both have cpus=1, memory_mb=512, local_gb=10, cpu_arch=x86_64 but when you look at the audit logs it seems to be reporting the amount of resources of only one of the nodes:
N-cpu:
2014-04-28 16:09:47.200 AUDIT nova.compute.
2014-04-28 16:09:47.200 AUDIT nova.compute.
2014-04-28 16:09:47.200 AUDIT nova.compute.
If I update the first of the nodes of the list and let's say double the ram, the audit will report it:
N-cpu:
2014-04-28 16:11:26.885 AUDIT nova.compute.
But if I update the second node, no changes are reported back to the resource tracker...
...
Worst, if I delete the properties from the first node, now the Resource Tracker will report:
$ ironic node-update $NODE remove properties
N-cpu:
2014-04-28 16:13:07.735 AUDIT nova.compute.
2014-04-28 16:13:07.735 AUDIT nova.compute.
2014-04-28 16:13:07.735 AUDIT nova.compute.
UPD from comment:
We need to change Nova to understand the Ironic use case better. For nova each n-cpu is responsable for managing a X number of machines, but when the Ironic driver is loaded the n-cpu is just a small thin layer that talks to the Ironic api, and every n-cpu is managing _all_ the machines in the cluster. So in the Ironic use case different n-cpus would share the same machines and that's what making nova confused when auditing the resources.
Changed in ironic: | |
assignee: | nobody → Lucas Alvares Gomes (lucasagomes) |
Changed in ironic: | |
importance: | Undecided → High |
Changed in ironic: | |
assignee: | Lucas Alvares Gomes (lucasagomes) → nobody |
tags: | added: driver |
tags: |
added: nova-driver removed: driver |
summary: |
- ResourceTracker auditing the wrong amout of free resources + ResourceTracker auditing the wrong amount of free resources for Ironic |
tags: | added: ironic |
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → Low |
tags: | removed: nova-driver |
Changed in ironic: | |
status: | Triaged → Won't Fix |
Changed in nova: | |
milestone: | none → juno-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-rc1 → 2014.2 |
Hi Lucas! I see you've been assigned to this task for more than a month, but no code review is linked here. Could you give a status update on this?