← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1050433] Re: LibvirtBridgeDriver crashes when spawning an instance with NoopFirewallDriver

 

** Changed in: nova/folsom
       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/1050433

Title:
  LibvirtBridgeDriver crashes when spawning an instance with
  NoopFirewallDriver

Status in OpenStack Compute (Nova):
  Fix Released
Status in OpenStack Compute (nova) folsom series:
  Fix Released

Bug description:
  
  I am trying the LibvirtHybridOVSBridgeDriver, with the uptodate devsatck and the vlan manager.

  I've created one network for the demo project : 
  nova-manage network create net2 --fixed_range_v4=172.16.2.0/24 --num_networks=1 --network_size=256 --vlan=1001

  
  I boot an instance : 
  nova boot --flavor 1 --image 000f2e5b-e1d1-4bc0-a9d1-3e07d527f7f1 vm_1

  
  the instance can't be launched du to the following error : 

  2012-09-13 15:14:06 ERROR nova.compute.manager [req-a10f2d0d-4992-4b50-a297-b7b188ab98a1 demo demo] [instance: b6fab81d-d700-4a4a-bb3f-88422e3bc40f] Instance failed to spawn
  2012-09-13 15:14:06 TRACE nova.compute.manager [instance: b6fab81d-d700-4a4a-bb3f-88422e3bc40f] Traceback (most recent call last):
  2012-09-13 15:14:06 TRACE nova.compute.manager [instance: b6fab81d-d700-4a4a-bb3f-88422e3bc40f]   File "/opt/stack/nova/nova/compute/manager.py", line 735, in _spawn
  2012-09-13 15:14:06 TRACE nova.compute.manager [instance: b6fab81d-d700-4a4a-bb3f-88422e3bc40f]     block_device_info)
  2012-09-13 15:14:06 TRACE nova.compute.manager [instance: b6fab81d-d700-4a4a-bb3f-88422e3bc40f]   File "/opt/stack/nova/nova/exception.py", line 117, in wrapped
  2012-09-13 15:14:06 TRACE nova.compute.manager [instance: b6fab81d-d700-4a4a-bb3f-88422e3bc40f]     temp_level, payload)
  2012-09-13 15:14:06 TRACE nova.compute.manager [instance: b6fab81d-d700-4a4a-bb3f-88422e3bc40f]   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
  2012-09-13 15:14:06 TRACE nova.compute.manager [instance: b6fab81d-d700-4a4a-bb3f-88422e3bc40f]     self.gen.next()
  2012-09-13 15:14:06 TRACE nova.compute.manager [instance: b6fab81d-d700-4a4a-bb3f-88422e3bc40f]   File "/opt/stack/nova/nova/exception.py", line 92, in wrapped
  2012-09-13 15:14:06 TRACE nova.compute.manager [instance: b6fab81d-d700-4a4a-bb3f-88422e3bc40f]     return f(*args, **kw)
  2012-09-13 15:14:06 TRACE nova.compute.manager [instance: b6fab81d-d700-4a4a-bb3f-88422e3bc40f]   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 1049, in spawn
  2012-09-13 15:14:06 TRACE nova.compute.manager [instance: b6fab81d-d700-4a4a-bb3f-88422e3bc40f]     block_device_info)
  2012-09-13 15:14:06 TRACE nova.compute.manager [instance: b6fab81d-d700-4a4a-bb3f-88422e3bc40f]   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 1878, in _create_domain_and_network
  2012-09-13 15:14:06 TRACE nova.compute.manager [instance: b6fab81d-d700-4a4a-bb3f-88422e3bc40f]     self.firewall_driver.setup_basic_filtering(instance, network_info)
  2012-09-13 15:14:06 TRACE nova.compute.manager [instance: b6fab81d-d700-4a4a-bb3f-88422e3bc40f] AttributeError: 'LibvirtHybridOVSBridgeDriver' object has no attribute 'setup_basic_filtering'
  2012-09-13 15:14:06 TRACE nova.compute.manager [instance: b6fab81d-d700-4a4a-bb3f-88422e3bc40f] 
  Instance failed to spawn
  2012-09-13 15:14:06 TRACE nova.compute.manager [instance: b6fab81d-d700-4a4a-bb3f-88422e3bc40f] Traceback (most recent call last):
  2012-09-13 15:14:06 TRACE nova.compute.manager [instance: b6fab81d-d700-4a4a-bb3f-88422e3bc40f]   File "/opt/stack/nova/nova/compute/manager.py", line 735, in _spawn
  2012-09-13 15:14:06 TRACE nova.compute.manager [instance: b6fab81d-d700-4a4a-bb3f-88422e3bc40f]     block_device_info)
  2012-09-13 15:14:06 TRACE nova.compute.manager [instance: b6fab81d-d700-4a4a-bb3f-88422e3bc40f]   File "/opt/stack/nova/nova/exception.py", line 117, in wrapped
  2012-09-13 15:14:06 TRACE nova.compute.manager [instance: b6fab81d-d700-4a4a-bb3f-88422e3bc40f]     temp_level, payload)
  2012-09-13 15:14:06 TRACE nova.compute.manager [instance: b6fab81d-d700-4a4a-bb3f-88422e3bc40f]   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
  2012-09-13 15:14:06 TRACE nova.compute.manager [instance: b6fab81d-d700-4a4a-bb3f-88422e3bc40f]     self.gen.next()
  2012-09-13 15:14:06 TRACE nova.compute.manager [instance: b6fab81d-d700-4a4a-bb3f-88422e3bc40f]   File "/opt/stack/nova/nova/exception.py", line 92, in wrapped
  2012-09-13 15:14:06 TRACE nova.compute.manager [instance: b6fab81d-d700-4a4a-bb3f-88422e3bc40f]     return f(*args, **kw)
  2012-09-13 15:14:06 TRACE nova.compute.manager [instance: b6fab81d-d700-4a4a-bb3f-88422e3bc40f]   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 1049, in spawn
  2012-09-13 15:14:06 TRACE nova.compute.manager [instance: b6fab81d-d700-4a4a-bb3f-88422e3bc40f]     block_device_info)
  2012-09-13 15:14:06 TRACE nova.compute.manager [instance: b6fab81d-d700-4a4a-bb3f-88422e3bc40f]   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 1878, in _create_domain_and_network
  2012-09-13 15:14:06 TRACE nova.compute.manager [instance: b6fab81d-d700-4a4a-bb3f-88422e3bc40f]     self.firewall_driver.setup_basic_filtering(instance, network_info)
  2012-09-13 15:14:06 TRACE nova.compute.manager [instance: b6fab81d-d700-4a4a-bb3f-88422e3bc40f] AttributeError: 'LibvirtHybridOVSBridgeDriver' object has no attribute 'setup_basic_filtering'
  2012-09-13 15:14:06 TRACE nova.compute.manager [instance: b6fab81d-d700-4a4a-bb3f-88422e3bc40f]

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