← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1350164] [NEW] VMWare: spawn VM failure if there are multiple dc in VC

 

Public bug reported:

Using Icehouse vmware code, when VCenter configured with two dcs(with one dc empty).
Spawn VM with a flat image, deployment will failure.

1. DC1
    --> Cluster1
           --> Host A
           --> Host B
    --> Cluster2
           --> Host C
 
2. DC2(without clusters or hosts)

Scheduler log as below:
Error from last host: dhcp-10-9-3-83.sce.cn.ibm.com (node domain-c17(cluster01)): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1323, in _build_instance        \n    set_access_ip=set_access_ip)\n', u'  File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 407, in decorated_function\n    return function(self, context, *args, **kwargs)\n', u'  File "/usr/lib/python2.6/sit        e-packages/nova/compute/manager.py", line 1762, in _spawn\n    LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u'  File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exi        t__\n    six.reraise(self.type_, self.value, self.tb)\n', u'  File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1748, in _spawn\n    block_device_info)\n', u'  File "/usr/lib/python2.6/site-packages/nova/virt/        vmwareapi/driver.py", line 853, in spawn\n    admin_password, network_info, block_device_info)\n', u'  File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/vmops.py", line 361, in spawn\n    vm_ref = vm_util.create_vm(self.        _session, instance, dc_info.vmFolder,\n', u"AttributeError: 'module' object has no attribute 'create_vm'\n"]

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: vmware

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

Title:
  VMWare: spawn VM failure if there are multiple dc in VC

Status in OpenStack Compute (Nova):
  New

Bug description:
  Using Icehouse vmware code, when VCenter configured with two dcs(with one dc empty).
  Spawn VM with a flat image, deployment will failure.

  1. DC1
      --> Cluster1
             --> Host A
             --> Host B
      --> Cluster2
             --> Host C
   
  2. DC2(without clusters or hosts)

  Scheduler log as below:
  Error from last host: dhcp-10-9-3-83.sce.cn.ibm.com (node domain-c17(cluster01)): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1323, in _build_instance        \n    set_access_ip=set_access_ip)\n', u'  File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 407, in decorated_function\n    return function(self, context, *args, **kwargs)\n', u'  File "/usr/lib/python2.6/sit        e-packages/nova/compute/manager.py", line 1762, in _spawn\n    LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u'  File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exi        t__\n    six.reraise(self.type_, self.value, self.tb)\n', u'  File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1748, in _spawn\n    block_device_info)\n', u'  File "/usr/lib/python2.6/site-packages/nova/virt/        vmwareapi/driver.py", line 853, in spawn\n    admin_password, network_info, block_device_info)\n', u'  File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/vmops.py", line 361, in spawn\n    vm_ref = vm_util.create_vm(self.        _session, instance, dc_info.vmFolder,\n', u"AttributeError: 'module' object has no attribute 'create_vm'\n"]

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


Follow ups

References