← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1460043] Re: libvirt: number of CPUs is not updated after hotplugging host CPUs

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => liberty-1

-- 
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):
  Fix Released

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


References