← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1272286] Re: VMware driver: Nova compute fails to start when multiple nova compute services are running per vCenter.

 

** Also affects: openstack-vmwareapi-team
   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/1272286

Title:
  VMware driver: Nova compute fails to start when multiple nova compute
  services are running per vCenter.

Status in OpenStack Compute (Nova):
  Fix Committed
Status in The OpenStack VMwareAPI subTeam:
  New

Bug description:
  Nova Compute fails to start when there are multiple nova compute
  services  running on different VMs(nova compute VMs) and each Vm
  managing multiple cluster in a vCenter and instances are provisioned
  on them.

  Explanation:

  Lets say, one nova compute vm(C1) is managing 5 clusters, and
  another(C2) managing 5 clusters. C1 manages n number of instances.
  Suppose in C2 compute service gets restarted, it fails to start.

  Reason:
  on the start up of the nova-compute,  it checks the instances reported by the driver are still associated with this host.  If they are  not, it destroys them.
  method _destroy_evacuated_instances calls the driver list_instances, which lists all the instances in the vCenter, though they are managed by different compute. Instead it should return only the vms which are managed by c1/c2.

  log file attached.

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


References