libvirt: number of CPUs is not updated after hotplugging host CPUs
Bug #1460043 reported by
Alexander Schmidt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Alexander Schmidt |
Bug Description
When adding or removing CPUs to a compute node running the libvirt driver, the correct new amount of CPUs is not reported to the controller/
As a result, the scheduler will not consider added or removed capacity in future scheduling decisions.
To fix this, the number of CPUs on a compute node should not be cached in the libvirt driver. Instead it should be recalculated in the periodic task for updating resource availability.
I'll provide a patch for fixing the bug along with a unit test.
Changed in nova: | |
milestone: | none → liberty-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | liberty-1 → 12.0.0 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/186746
Review: https:/