← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1640689] Re: VMware: unable to launch and instance with NSX neutron plugin in newton release

 

What version of nova (package version of nova-compute) and what version
of the vmware nsxv3 plugin?

** Tags added: nsx

** Also affects: vmware-nsx
   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/1640689

Title:
  VMware: unable to launch and instance with NSX neutron plugin in
  newton release

Status in OpenStack Compute (nova):
  Incomplete
Status in vmware-nsx:
  New

Bug description:
  When I try to integrate vcenter with OpenStack Newton, I come with this problem, it seems a bug which reported in Bug #1549288. 
  I install my OpenStack under the reference of docs.openstack.com, my os is CentOS7 and the kernel is 3.10.0-327.36.3.el7.x86_64 which has been updated too newest.

  the log of nova-compute follows:
  -----------------------------
  2016-11-10 14:46:44.590 8155 INFO nova.virt.vmwareapi.vif [req-2618c027-a3e3-443c-9ba4-2dc41f5af4bf 6a25bb358c804782a277286532728fa5 aa911cba99854da981c5bfea83b7ebf8 - - -] NSX Logical switch ID is not present. Using network ID to attach to the opaque network.
  2016-11-10 14:46:45.878 8155 ERROR oslo_vmware.common.loopingcall [-] in fixed duration looping call
  2016-11-10 14:46:45.878 8155 ERROR oslo_vmware.common.loopingcall Traceback (most recent call last):
  2016-11-10 14:46:45.878 8155 ERROR oslo_vmware.common.loopingcall   File "/usr/lib/python2.7/site-packages/oslo_vmware/common/loopingcall.py", line 76, in _inner
  2016-11-10 14:46:45.878 8155 ERROR oslo_vmware.common.loopingcall     self.f(*self.args, **self.kw)
  2016-11-10 14:46:45.878 8155 ERROR oslo_vmware.common.loopingcall   File "/usr/lib/python2.7/site-packages/oslo_vmware/api.py", line 427, in _poll_task
  2016-11-10 14:46:45.878 8155 ERROR oslo_vmware.common.loopingcall     raise task_ex
  2016-11-10 14:46:45.878 8155 ERROR oslo_vmware.common.loopingcall VimFaultException: 设备“0”的配置无效。
  2016-11-10 14:46:45.878 8155 ERROR oslo_vmware.common.loopingcall Faults: ['InvalidDeviceSpec']
  2016-11-10 14:46:45.878 8155 ERROR oslo_vmware.common.loopingcall 
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [req-2618c027-a3e3-443c-9ba4-2dc41f5af4bf 6a25bb358c804782a277286532728fa5 aa911cba99854da981c5bfea83b7ebf8 - - -] [instance: 4904ac4e-1846-4025-b86a-2a63372bff91] Instance failed to spawn
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [instance: 4904ac4e-1846-4025-b86a-2a63372bff91] Traceback (most recent call last):
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [instance: 4904ac4e-1846-4025-b86a-2a63372bff91]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2078, in _build_resources
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [instance: 4904ac4e-1846-4025-b86a-2a63372bff91]     yield resources
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [instance: 4904ac4e-1846-4025-b86a-2a63372bff91]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1920, in _build_and_run_instance
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [instance: 4904ac4e-1846-4025-b86a-2a63372bff91]     block_device_info=block_device_info)
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [instance: 4904ac4e-1846-4025-b86a-2a63372bff91]   File "/usr/lib/python2.7/site-packages/nova/virt/vmwareapi/driver.py", line 316, in spawn
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [instance: 4904ac4e-1846-4025-b86a-2a63372bff91]     admin_password, network_info, block_device_info)
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [instance: 4904ac4e-1846-4025-b86a-2a63372bff91]   File "/usr/lib/python2.7/site-packages/nova/virt/vmwareapi/vmops.py", line 739, in spawn
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [instance: 4904ac4e-1846-4025-b86a-2a63372bff91]     metadata)
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [instance: 4904ac4e-1846-4025-b86a-2a63372bff91]   File "/usr/lib/python2.7/site-packages/nova/virt/vmwareapi/vmops.py", line 306, in build_virtual_machine
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [instance: 4904ac4e-1846-4025-b86a-2a63372bff91]     config_spec, self._root_resource_pool)
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [instance: 4904ac4e-1846-4025-b86a-2a63372bff91]   File "/usr/lib/python2.7/site-packages/nova/virt/vmwareapi/vm_util.py", line 1332, in create_vm
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [instance: 4904ac4e-1846-4025-b86a-2a63372bff91]     {'ostype': config_spec.guestId})
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [instance: 4904ac4e-1846-4025-b86a-2a63372bff91]   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [instance: 4904ac4e-1846-4025-b86a-2a63372bff91]     self.force_reraise()
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [instance: 4904ac4e-1846-4025-b86a-2a63372bff91]   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [instance: 4904ac4e-1846-4025-b86a-2a63372bff91]     six.reraise(self.type_, self.value, self.tb)
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [instance: 4904ac4e-1846-4025-b86a-2a63372bff91]   File "/usr/lib/python2.7/site-packages/nova/virt/vmwareapi/vm_util.py", line 1317, in create_vm
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [instance: 4904ac4e-1846-4025-b86a-2a63372bff91]     task_info = session._wait_for_task(vm_create_task)
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [instance: 4904ac4e-1846-4025-b86a-2a63372bff91]   File "/usr/lib/python2.7/site-packages/nova/virt/vmwareapi/driver.py", line 539, in _wait_for_task
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [instance: 4904ac4e-1846-4025-b86a-2a63372bff91]     return self.wait_for_task(task_ref)
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [instance: 4904ac4e-1846-4025-b86a-2a63372bff91]   File "/usr/lib/python2.7/site-packages/oslo_vmware/api.py", line 387, in wait_for_task
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [instance: 4904ac4e-1846-4025-b86a-2a63372bff91]     return evt.wait()
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [instance: 4904ac4e-1846-4025-b86a-2a63372bff91]   File "/usr/lib/python2.7/site-packages/eventlet/event.py", line 121, in wait
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [instance: 4904ac4e-1846-4025-b86a-2a63372bff91]     return hubs.get_hub().switch()
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [instance: 4904ac4e-1846-4025-b86a-2a63372bff91]   File "/usr/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 294, in switch
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [instance: 4904ac4e-1846-4025-b86a-2a63372bff91]     return self.greenlet.switch()
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [instance: 4904ac4e-1846-4025-b86a-2a63372bff91]   File "/usr/lib/python2.7/site-packages/oslo_vmware/common/loopingcall.py", line 76, in _inner
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [instance: 4904ac4e-1846-4025-b86a-2a63372bff91]     self.f(*self.args, **self.kw)
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [instance: 4904ac4e-1846-4025-b86a-2a63372bff91]   File "/usr/lib/python2.7/site-packages/oslo_vmware/api.py", line 427, in _poll_task
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [instance: 4904ac4e-1846-4025-b86a-2a63372bff91]     raise task_ex
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [instance: 4904ac4e-1846-4025-b86a-2a63372bff91] VimFaultException: 设备“0”的配置无效。
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [instance: 4904ac4e-1846-4025-b86a-2a63372bff91] Faults: ['InvalidDeviceSpec']
  2016-11-10 14:46:45.881 8155 ERROR nova.compute.manager [instance: 4904ac4e-1846-4025-b86a-2a63372bff91] 
  2016-11-10 14:46:45.884 8155 INFO nova.compute.manager [req-2618c027-a3e3-443c-9ba4-2dc41f5af4bf 6a25bb358c804782a277286532728fa5 aa911cba99854da981c5bfea83b7ebf8 - - -] [instance: 4904ac4e-1846-4025-b86a-2a63372bff91] Terminating instance
  2016-11-10 14:46:46.178 8155 WARNING nova.virt.vmwareapi.vmops [req-2618c027-a3e3-443c-9ba4-2dc41f5af4bf 6a25bb358c804782a277286532728fa5 aa911cba99854da981c5bfea83b7ebf8 - - -] [instance: 4904ac4e-1846-4025-b86a-2a63372bff91] Instance does not exist on backend
  2016-11-10 14:46:46.178 8155 INFO nova.compute.manager [req-2618c027-a3e3-443c-9ba4-2dc41f5af4bf 6a25bb358c804782a277286532728fa5 aa911cba99854da981c5bfea83b7ebf8 - - -] [instance: 4904ac4e-1846-4025-b86a-2a63372bff91] Took 0.29 seconds to destroy the instance on the hypervisor.
  -----------------------------

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


References