Public bug reported: 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/scheduler.
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. ** Affects: nova Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1460043 Title: libvirt: number of CPUs is not updated after hotplugging host CPUs Status in OpenStack Compute (Nova): New 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/scheduler. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1460043/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp