← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1312016] [NEW] nova libvirtError: Unable to add bridge brqxxx-xx port tapxxx-xx: Device or resource busy

 

Public bug reported:

Hello:  My OpenStack's version is 2013.1.5(G) , plugin is linuxbridge
,os is ubuntu12.04.3 ,

When  i launch three instances , two instances is successful, and one of
the three is failed to spawn .

I check the log of nova-compute , I  found the following  errors :

(it's worth noting that:
"libvirtError: Unable to add bridge brq233a5889-2e port tap3f81c08a-39: Device or resource busy")

Somebody in the same problem?

2014-04-24 14:41:58.499 ERROR nova.compute.manager [req-4dc590cc-9a34-460d-8c6a-4efdfb9de456 fd7179d2284247179c70db99ee1842db 4f50d05ffb6b44a29f9b23978e40542b] [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1] Instance failed to spawn
2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1] Traceback (most recent call last):
2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1119, in _spawn
2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]     block_device_info)
2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 1539, in spawn
2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]     block_device_info)
2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2455, in _create_domain_and_network
2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]     domain = self._create_domain(xml, instance=instance)
2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2416, in _create_domain
2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]     domain.createWithFlags(launch_flags)
2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 187, in doit
2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]     result = proxy_call(self._autowrap, f, *args, **kwargs)
2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 147, in proxy_call
2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]     rv = execute(f,*args,**kwargs)
2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 76, in tworker
2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]     rv = meth(*args,**kwargs)
2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]   File "/usr/lib/python2.7/dist-packages/libvirt.py", line 728, in createWithFlags
2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]     if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self)
2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]

libvirtError: Unable to add bridge brq233a5889-2e port tap3f81c08a-39:
Device or resource busy

2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]
2014-04-24 14:41:58.680 AUDIT nova.compute.manager [req-4dc590cc-9a34-460d-8c6a-4efdfb9de456 fd7179d2284247179c70db99ee1842db 4f50d05ffb6b44a29f9b23978e40542b] [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1] Terminating instance

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: grizzly linuxbridge nova

** Description changed:

- 
- Hello:  My OpenStack's version is 2013.1.5(G) , plugin is linuxbridge ,os is ubuntu12.04.3 ,
+ Hello:  My OpenStack's version is 2013.1.5(G) , plugin is linuxbridge
+ ,os is ubuntu12.04.3 ,
  
  When  i launch three instances , two instances is successful, and one of
  the three is failed to spawn .
  
- I check the log of nova-compute , I  found eth following  errors :
+ I check the log of nova-compute , I  found the following  errors :
  
  (it's worth noting that:
  "libvirtError: Unable to add bridge brq233a5889-2e port tap3f81c08a-39: Device or resource busy")
  
  Somebody in the same problem?
- 
- 
  
  2014-04-24 14:41:58.499 ERROR nova.compute.manager [req-4dc590cc-9a34-460d-8c6a-4efdfb9de456 fd7179d2284247179c70db99ee1842db 4f50d05ffb6b44a29f9b23978e40542b] [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1] Instance failed to spawn
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1] Traceback (most recent call last):
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1119, in _spawn
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]     block_device_info)
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 1539, in spawn
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]     block_device_info)
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2455, in _create_domain_and_network
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]     domain = self._create_domain(xml, instance=instance)
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2416, in _create_domain
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]     domain.createWithFlags(launch_flags)
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 187, in doit
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]     result = proxy_call(self._autowrap, f, *args, **kwargs)
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 147, in proxy_call
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]     rv = execute(f,*args,**kwargs)
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 76, in tworker
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]     rv = meth(*args,**kwargs)
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]   File "/usr/lib/python2.7/dist-packages/libvirt.py", line 728, in createWithFlags
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]     if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self)
- 2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1] 
+ 2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]
  
  libvirtError: Unable to add bridge brq233a5889-2e port tap3f81c08a-39:
  Device or resource busy
  
- 2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1] 
+ 2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]
  2014-04-24 14:41:58.680 AUDIT nova.compute.manager [req-4dc590cc-9a34-460d-8c6a-4efdfb9de456 fd7179d2284247179c70db99ee1842db 4f50d05ffb6b44a29f9b23978e40542b] [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1] Terminating instance

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

Title:
  nova libvirtError: Unable to add bridge brqxxx-xx port tapxxx-xx:
  Device or resource busy

Status in OpenStack Compute (Nova):
  New

Bug description:
  Hello:  My OpenStack's version is 2013.1.5(G) , plugin is linuxbridge
  ,os is ubuntu12.04.3 ,

  When  i launch three instances , two instances is successful, and one
  of the three is failed to spawn .

  I check the log of nova-compute , I  found the following  errors :

  (it's worth noting that:
  "libvirtError: Unable to add bridge brq233a5889-2e port tap3f81c08a-39: Device or resource busy")

  Somebody in the same problem?

  2014-04-24 14:41:58.499 ERROR nova.compute.manager [req-4dc590cc-9a34-460d-8c6a-4efdfb9de456 fd7179d2284247179c70db99ee1842db 4f50d05ffb6b44a29f9b23978e40542b] [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1] Instance failed to spawn
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1] Traceback (most recent call last):
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1119, in _spawn
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]     block_device_info)
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 1539, in spawn
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]     block_device_info)
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2455, in _create_domain_and_network
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]     domain = self._create_domain(xml, instance=instance)
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2416, in _create_domain
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]     domain.createWithFlags(launch_flags)
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 187, in doit
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]     result = proxy_call(self._autowrap, f, *args, **kwargs)
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 147, in proxy_call
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]     rv = execute(f,*args,**kwargs)
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 76, in tworker
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]     rv = meth(*args,**kwargs)
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]   File "/usr/lib/python2.7/dist-packages/libvirt.py", line 728, in createWithFlags
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]     if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self)
  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]

  libvirtError: Unable to add bridge brq233a5889-2e port tap3f81c08a-39:
  Device or resource busy

  2014-04-24 14:41:58.499 60306 TRACE nova.compute.manager [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1]
  2014-04-24 14:41:58.680 AUDIT nova.compute.manager [req-4dc590cc-9a34-460d-8c6a-4efdfb9de456 fd7179d2284247179c70db99ee1842db 4f50d05ffb6b44a29f9b23978e40542b] [instance: 496c546b-4afc-4b48-9984-08c42cbe36d1] Terminating instance

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


Follow ups

References