Public bug reported:

Using Horizon I try to launch an instance with 2 networks defined.

The operation fails with the following error:
ERROR nova.scheduler.filter_scheduler [req-cae61024-6723-4218-bd5e-71b42d181cea 
admin demo] [instance: 54c6f9ba-57e5-4680-bb6b-72eb2da484db] Error from last 
host: devstack-vmware1 (node devstack-vmware1): [u'Traceback (most recent call 
last):
File "/opt/stack/nova/nova/compute/manager.py", line 1304, in _build_instance 
set_access_ip=set_access_ip)
File "/opt/stack/nova/nova/compute/manager.py", line 394, in decorated_function 
 return function(self, context, *args, **kwargs)
File "/opt/stack/nova/nova/compute/manager.py", line 1716, in _spawn 
LOG.exception(_(\'Instance failed to spawn\'), instance=instance)
 
File "/opt/stack/nova/nova/openstack/common/excutils.py", line 68, in __exit__  
six.reraise(self.type_ self.value, self.tb)
File "/opt/stack/nova/nova/compute/manager.py", line 1713, in _spawn 
block_device_info)
File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2241, in spawn 
block_device_info)
File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 3628, in 
_create_domain_and_network network_info)
File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__ self.gen.next()
File "/opt/stack/nova/nova/compute/manager.py", line 556, in 
wait_for_instance_event actual_event = event.wait() u"AttributeError: 
'NoneType' object has no attribute 'wait'\n"]

Looks like there is a None event in the events map.

When  I  launch an instance with 1 network defined I face no issues.

** Affects: nova
     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/1296808

Title:
  Devstack. Fail to boot an instance if more than 1 network is defined

Status in OpenStack Compute (Nova):
  New

Bug description:
  Using Horizon I try to launch an instance with 2 networks defined.

  The operation fails with the following error:
  ERROR nova.scheduler.filter_scheduler 
[req-cae61024-6723-4218-bd5e-71b42d181cea admin demo] [instance: 
54c6f9ba-57e5-4680-bb6b-72eb2da484db] Error from last host: devstack-vmware1 
(node devstack-vmware1): [u'Traceback (most recent call last):
  File "/opt/stack/nova/nova/compute/manager.py", line 1304, in _build_instance 
set_access_ip=set_access_ip)
  File "/opt/stack/nova/nova/compute/manager.py", line 394, in 
decorated_function  return function(self, context, *args, **kwargs)
  File "/opt/stack/nova/nova/compute/manager.py", line 1716, in _spawn 
LOG.exception(_(\'Instance failed to spawn\'), instance=instance)
   
  File "/opt/stack/nova/nova/openstack/common/excutils.py", line 68, in 
__exit__  six.reraise(self.type_ self.value, self.tb)
  File "/opt/stack/nova/nova/compute/manager.py", line 1713, in _spawn 
block_device_info)
  File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2241, in spawn 
block_device_info)
  File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 3628, in 
_create_domain_and_network network_info)
  File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__ self.gen.next()
  File "/opt/stack/nova/nova/compute/manager.py", line 556, in 
wait_for_instance_event actual_event = event.wait() u"AttributeError: 
'NoneType' object has no attribute 'wait'\n"]

  Looks like there is a None event in the events map.

  When  I  launch an instance with 1 network defined I face no issues.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to