← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1497896] Re: Libvirt: unable to launch a VM with direct OVS plugging neutron drivers

 

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

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

Title:
  Libvirt: unable to launch a VM with direct OVS plugging neutron
  drivers

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  When launching a VM with the NSX neutron driver we get the following
  exception:

  ^[[01;31m2015-09-21 22:08:48.964 TRACE nova.compute.manager ^[[01;35m[instance: a8f73028-1493-4ad2-b957-1d75422b3ff2] ^[[00mTraceback (most recent call last):
  ^[[01;31m2015-09-21 22:08:48.964 TRACE nova.compute.manager ^[[01;35m[instance: a8f73028-1493-4ad2-b957-1d75422b3ff2] ^[[00m  File "/opt/stack/nova/nova/compute/manager.py", line 2152, in _build_resources
  ^[[01;31m2015-09-21 22:08:48.964 TRACE nova.compute.manager ^[[01;35m[instance: a8f73028-1493-4ad2-b957-1d75422b3ff2] ^[[00m    yield resources
  ^[[01;31m2015-09-21 22:08:48.964 TRACE nova.compute.manager ^[[01;35m[instance: a8f73028-1493-4ad2-b957-1d75422b3ff2] ^[[00m  File "/opt/stack/nova/nova/compute/manager.py", line 2006, in _build_and_run_instance
  ^[[01;31m2015-09-21 22:08:48.964 TRACE nova.compute.manager ^[[01;35m[instance: a8f73028-1493-4ad2-b957-1d75422b3ff2] ^[[00m    block_device_info=block_device_info)
  ^[[01;31m2015-09-21 22:08:48.964 TRACE nova.compute.manager ^[[01;35m[instance: a8f73028-1493-4ad2-b957-1d75422b3ff2] ^[[00m  File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2444, in spawn
  ^[[01;31m2015-09-21 22:08:48.964 TRACE nova.compute.manager ^[[01;35m[instance: a8f73028-1493-4ad2-b957-1d75422b3ff2] ^[[00m    block_device_info=block_device_info)
  ^[[01;31m2015-09-21 22:08:48.964 TRACE nova.compute.manager ^[[01;35m[instance: a8f73028-1493-4ad2-b957-1d75422b3ff2] ^[[00m  File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 4516, in _create_domain_and_network
  ^[[01;31m2015-09-21 22:08:48.964 TRACE nova.compute.manager ^[[01;35m[instance: a8f73028-1493-4ad2-b957-1d75422b3ff2] ^[[00m    xml, pause=pause, power_on=power_on)
  ^[[01;31m2015-09-21 22:08:48.964 TRACE nova.compute.manager ^[[01;35m[instance: a8f73028-1493-4ad2-b957-1d75422b3ff2] ^[[00m  File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 4446, in _create_domain
  ^[[01;31m2015-09-21 22:08:48.964 TRACE nova.compute.manager ^[[01;35m[instance: a8f73028-1493-4ad2-b957-1d75422b3ff2] ^[[00m    guest.launch(pause=pause)
  ^[[01;31m2015-09-21 22:08:48.964 TRACE nova.compute.manager ^[[01;35m[instance: a8f73028-1493-4ad2-b957-1d75422b3ff2] ^[[00m  File "/opt/stack/nova/nova/virt/libvirt/guest.py", line 141, in launch
  ^[[01;31m2015-09-21 22:08:48.964 TRACE nova.compute.manager ^[[01;35m[instance: a8f73028-1493-4ad2-b957-1d75422b3ff2] ^[[00m    self._encoded_xml, errors='ignore')
  ^[[01;31m2015-09-21 22:08:48.964 TRACE nova.compute.manager ^[[01;35m[instance: a8f73028-1493-4ad2-b957-1d75422b3ff2] ^[[00m  File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 195, in __exit__
  ^[[01;31m2015-09-21 22:08:48.964 TRACE nova.compute.manager ^[[01;35m[instance: a8f73028-1493-4ad2-b957-1d75422b3ff2] ^[[00m    six.reraise(self.type_, self.value, self.tb)
  ^[[01;31m2015-09-21 22:08:48.964 TRACE nova.compute.manager ^[[01;35m[instance: a8f73028-1493-4ad2-b957-1d75422b3ff2] ^[[00m  File "/opt/stack/nova/nova/virt/libvirt/guest.py", line 136, in launch
  ^[[01;31m2015-09-21 22:08:48.964 TRACE nova.compute.manager ^[[01;35m[instance: a8f73028-1493-4ad2-b957-1d75422b3ff2] ^[[00m    return self._domain.createWithFlags(flags)
  ^[[01;31m2015-09-21 22:08:48.964 TRACE nova.compute.manager ^[[01;35m[instance: a8f73028-1493-4ad2-b957-1d75422b3ff2] ^[[00m  File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 183, in doit
  ^[[01;31m2015-09-21 22:08:48.964 TRACE nova.compute.manager ^[[01;35m[instance: a8f73028-1493-4ad2-b957-1d75422b3ff2] ^[[00m    result = proxy_call(self._autowrap, f, *args, **kwargs)
  ^[[01;31m2015-09-21 22:08:48.964 TRACE nova.compute.manager ^[[01;35m[instance: a8f73028-1493-4ad2-b957-1d75422b3ff2] ^[[00m  File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 141, in proxy_call
  ^[[01;31m2015-09-21 22:08:48.964 TRACE nova.compute.manager ^[[01;35m[instance: a8f73028-1493-4ad2-b957-1d75422b3ff2] ^[[00m    rv = execute(f, *args, **kwargs)
  ^[[01;31m2015-09-21 22:08:48.964 TRACE nova.compute.manager ^[[01;35m[instance: a8f73028-1493-4ad2-b957-1d75422b3ff2] ^[[00m  File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 122, in execute
  ^[[01;31m2015-09-21 22:08:48.964 TRACE nova.compute.manager ^[[01;35m[instance: a8f73028-1493-4ad2-b957-1d75422b3ff2] ^[[00m    six.reraise(c, e, tb)
  ^[[01;31m2015-09-21 22:08:48.964 TRACE nova.compute.manager ^[[01;35m[instance: a8f73028-1493-4ad2-b957-1d75422b3ff2] ^[[00m  File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 80, in tworker
  ^[[01;31m2015-09-21 22:08:48.964 TRACE nova.compute.manager ^[[01;35m[instance: a8f73028-1493-4ad2-b957-1d75422b3ff2] ^[[00m    rv = meth(*args, **kwargs)
  ^[[01;31m2015-09-21 22:08:48.964 TRACE nova.compute.manager ^[[01;35m[instance: a8f73028-1493-4ad2-b957-1d75422b3ff2] ^[[00m  File "/usr/local/lib/python2.7/dist-packages/libvirt.py", line 900, in createWithFlags
  ^[[01;31m2015-09-21 22:08:48.964 TRACE nova.compute.manager ^[[01;35m[instance: a8f73028-1493-4ad2-b957-1d75422b3ff2] ^[[00m    if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self)
  ^[[01;31m2015-09-21 22:08:48.964 TRACE nova.compute.manager ^[[01;35m[instance: a8f73028-1493-4ad2-b957-1d75422b3ff2] ^[[00mlibvirtError: unsupported configuration: scripts are not supported on interfaces of type bridge
  ^[[01;31m2015-09-21 22:08:48.964 TRACE nova.compute.manager ^[[01;35m[instance: a8f73028-1493-4ad2-b957-1d75422b3ff2] ^[[00m
   
  This is a result of the patch https://review.openstack.org/#/c/199092/

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


References