← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1117770] Re: linuxbridge-agent not creating bridge anymore

 

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

** Changed in: nova
    Milestone: None => grizzly-3

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

Title:
  linuxbridge-agent not creating bridge anymore

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  I'm running grizzly trunk on ubuntu (grizzly-trunk-testing) after
  doing an apt-get upgrade, the bridges are not created automatically by
  the linuxbridge agent.

  1. the linuxbridge is not create automatically
  2. libvirt XML description relies on this bridge (brqxxxxxx)
  3. the VM cannot spawn because of the XML description refenrencing an inexisting bridge

  Here is the error in the nova-compute:

  2013-02-06 17:34:18.436 DEBUG nova.openstack.common.lockutils [req-19ba2bda-7106-475b-94ea-c421ae0791e7 8636766bc6b342539a9c1b0e3e0c24cc 24e6c25ee7bf4f5bbcd19c53bbe84f37] Got semaphore "441bc017-c5e8-4511-abe9-ac8cae3ff9a0" for method "do_run_instance"... inner /usr/lib
  2013-02-06 17:34:19.243 ERROR nova.compute.manager [req-19ba2bda-7106-475b-94ea-c421ae0791e7 8636766bc6b342539a9c1b0e3e0c24cc 24e6c25ee7bf4f5bbcd19c53bbe84f37] [instance: 6cd8560e-ff35-4742-bcf7-94b9ed6a0ce9] Instance failed to spawn
  2013-02-06 17:34:19.243 4957 TRACE nova.compute.manager [instance: 6cd8560e-ff35-4742-bcf7-94b9ed6a0ce9] Traceback (most recent call last):
  2013-02-06 17:34:19.243 4957 TRACE nova.compute.manager [instance: 6cd8560e-ff35-4742-bcf7-94b9ed6a0ce9]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 984, in _spawn
  2013-02-06 17:34:19.243 4957 TRACE nova.compute.manager [instance: 6cd8560e-ff35-4742-bcf7-94b9ed6a0ce9]     block_device_info)
  2013-02-06 17:34:19.243 4957 TRACE nova.compute.manager [instance: 6cd8560e-ff35-4742-bcf7-94b9ed6a0ce9]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 1186, in spawn
  2013-02-06 17:34:19.243 4957 TRACE nova.compute.manager [instance: 6cd8560e-ff35-4742-bcf7-94b9ed6a0ce9]     block_device_info)
  2013-02-06 17:34:19.243 4957 TRACE nova.compute.manager [instance: 6cd8560e-ff35-4742-bcf7-94b9ed6a0ce9]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2064, in _create_domain_and_network
  2013-02-06 17:34:19.243 4957 TRACE nova.compute.manager [instance: 6cd8560e-ff35-4742-bcf7-94b9ed6a0ce9]     domain = self._create_domain(xml, instance=instance)
  2013-02-06 17:34:19.243 4957 TRACE nova.compute.manager [instance: 6cd8560e-ff35-4742-bcf7-94b9ed6a0ce9]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2029, in _create_domain
  2013-02-06 17:34:19.243 4957 TRACE nova.compute.manager [instance: 6cd8560e-ff35-4742-bcf7-94b9ed6a0ce9]     domain.createWithFlags(launch_flags)
  2013-02-06 17:34:19.243 4957 TRACE nova.compute.manager [instance: 6cd8560e-ff35-4742-bcf7-94b9ed6a0ce9]   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 187, in doit
  2013-02-06 17:34:19.243 4957 TRACE nova.compute.manager [instance: 6cd8560e-ff35-4742-bcf7-94b9ed6a0ce9]     result = proxy_call(self._autowrap, f, *args, **kwargs)
  2013-02-06 17:34:19.243 4957 TRACE nova.compute.manager [instance: 6cd8560e-ff35-4742-bcf7-94b9ed6a0ce9]   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 147, in proxy_call
  2013-02-06 17:34:19.243 4957 TRACE nova.compute.manager [instance: 6cd8560e-ff35-4742-bcf7-94b9ed6a0ce9]     rv = execute(f,*args,**kwargs)
  2013-02-06 17:34:19.243 4957 TRACE nova.compute.manager [instance: 6cd8560e-ff35-4742-bcf7-94b9ed6a0ce9]   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 76, in tworker
  2013-02-06 17:34:19.243 4957 TRACE nova.compute.manager [instance: 6cd8560e-ff35-4742-bcf7-94b9ed6a0ce9]     rv = meth(*args,**kwargs)
  2013-02-06 17:34:19.243 4957 TRACE nova.compute.manager [instance: 6cd8560e-ff35-4742-bcf7-94b9ed6a0ce9]   File "/usr/lib/python2.7/dist-packages/libvirt.py", line 650, in createWithFlags
  2013-02-06 17:34:19.243 4957 TRACE nova.compute.manager [instance: 6cd8560e-ff35-4742-bcf7-94b9ed6a0ce9]     if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self)
  2013-02-06 17:34:19.243 4957 TRACE nova.compute.manager [instance: 6cd8560e-ff35-4742-bcf7-94b9ed6a0ce9] libvirtError: Cannot get interface MTU on 'brqe9ac8133-fd': No such device
  2013-02-06 17:34:19.243 4957 TRACE nova.compute.manager [instance: 6cd8560e-ff35-4742-bcf7-94b9ed6a0ce9] 


  If I manually create a bridge for all quantum networks, I can spawn
  VM, AFAICT this was done automatically by the quantum plugin as needed
  when spawning VMs.

  Boris

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