← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1249108] Re: nova docker virt driver always reports 1 vcpu

 

** Project changed: nova => nova-docker

-- 
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/1249108

Title:
  nova docker virt driver always reports 1 vcpu

Status in Nova Docker Driver:
  Confirmed

Bug description:
  In the current impl of the nova virt docker driver, the driver always
  reports 1 vcpu...

  from nova.virt.docker.driver.get_available_resource(self, nodename):

          stats = {
              'vcpus': 1,
              'vcpus_used': 0,

  I realize the driver is reporting 0 vcpus used, but from novas account
  perspective it appears to update the host/hyper based on the flavor
  vcpu... Thus I always have to hack the docker virt driver and return a
  large number of vcpus to deploy a large number of vms via docker virt
  driver.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova-docker/+bug/1249108/+subscriptions