Folks, could we port FIX to STABLE/ESSEX ?
Also we need to port this one:
https://github.com/openstack/nova/commit/50b9c032fdc520c1461ff4651b60b4fc4b8f8e19
Because I've also plunged in this traceback, if I've tried to launch an instance:
compute.log
2012-08-07 22:25:03 DEBUG nova.rpc.amqp [req-fd243ca3-feaf-4071-926d-2a83ed6467ba t1a t1] Making asynchronous cast on network... from (pid=31512) cast /usr/lib/python2.6/site-packages/nova/rpc/amqp.py:351 2012-08-07 22:25:03 ERROR nova.rpc.amqp [req-fd243ca3-feaf-4071-926d-2a83ed6467ba t1a t1] Exception during message handling 2012-08-07 22:25:03 TRACE nova.rpc.amqp Traceback (most recent call last): 2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/rpc/amqp.py", line 253, in _process_data 2012-08-07 22:25:03 TRACE nova.rpc.amqp rval = node_func(context=ctxt, **node_args) 2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/exception.py", line 114, in wrapped 2012-08-07 22:25:03 TRACE nova.rpc.amqp return f(*args, **kw) 2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 183, in decorated_function 2012-08-07 22:25:03 TRACE nova.rpc.amqp sys.exc_info()) 2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib64/python2.6/contextlib.py", line 23, in __exit__ 2012-08-07 22:25:03 TRACE nova.rpc.amqp self.gen.next() 2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 177, in decorated_function 2012-08-07 22:25:03 TRACE nova.rpc.amqp return function(self, context, instance_uuid, *args, **kwargs) 2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 657, in run_instance 2012-08-07 22:25:03 TRACE nova.rpc.amqp do_run_instance() 2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/utils.py", line 945, in inner 2012-08-07 22:25:03 TRACE nova.rpc.amqp retval = f(*args, **kwargs) 2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 656, in do_run_instance 2012-08-07 22:25:03 TRACE nova.rpc.amqp self._run_instance(context, instance_uuid, **kwargs) 2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 457, in _run_instance 2012-08-07 22:25:03 TRACE nova.rpc.amqp self._set_instance_error_state(context, instance_uuid) 2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib64/python2.6/contextlib.py", line 23, in __exit__ 2012-08-07 22:25:03 TRACE nova.rpc.amqp self.gen.next() 2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 438, in _run_instance 2012-08-07 22:25:03 TRACE nova.rpc.amqp self._deallocate_network(context, instance) 2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib64/python2.6/contextlib.py", line 23, in __exit__ 2012-08-07 22:25:03 TRACE nova.rpc.amqp self.gen.next() 2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 435, in _run_instance 2012-08-07 22:25:03 TRACE nova.rpc.amqp injected_files, admin_password) 2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 598, in _spawn 2012-08-07 22:25:03 TRACE nova.rpc.amqp self._legacy_nw_info(network_info), block_device_info) 2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/exception.py", line 114, in wrapped 2012-08-07 22:25:03 TRACE nova.rpc.amqp return f(*args, **kw) 2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/connection.py", line 919, in spawn 2012-08-07 22:25:03 TRACE nova.rpc.amqp block_device_info=block_device_info) 2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/connection.py", line 1539, in to_xml 2012-08-07 22:25:03 TRACE nova.rpc.amqp rescue, block_device_info) 2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/connection.py", line 1422, in _prepare_xml_info 2012-08-07 22:25:03 TRACE nova.rpc.amqp nics.append(self.vif_driver.plug(instance, network, mapping)) 2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/vif.py", line 101, in plug 2012-08-07 22:25:03 TRACE nova.rpc.amqp return self._get_configurations(network, mapping) 2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/vif.py", line 71, in _get_configurations 2012-08-07 22:25:03 TRACE nova.rpc.amqp 'ip_address': mapping['ips'][0]['ip'], 2012-08-07 22:25:03 TRACE nova.rpc.amqp IndexError: list index out of range 2012-08-07 22:25:03 TRACE nova.rpc.amqp
Folks, could we port FIX to STABLE/ESSEX ?
Also we need to port this one:
https:/ /github. com/openstack/ nova/commit/ 50b9c032fdc520c 1461ff4651b60b4 fc4b8f8e19
Because I've also plunged in this traceback, if I've tried to launch an instance:
compute.log
2012-08-07 22:25:03 DEBUG nova.rpc.amqp [req-fd243ca3- feaf-4071- 926d-2a83ed6467 ba t1a t1] Making asynchronous cast on network... from (pid=31512) cast /usr/lib/ python2. 6/site- packages/ nova/rpc/ amqp.py: 351 feaf-4071- 926d-2a83ed6467 ba t1a t1] Exception during message handling python2. 6/site- packages/ nova/rpc/ amqp.py" , line 253, in _process_data context= ctxt, **node_args) python2. 6/site- packages/ nova/exception. py", line 114, in wrapped python2. 6/site- packages/ nova/compute/ manager. py", line 183, in decorated_function python2. 6/contextlib. py", line 23, in __exit__ python2. 6/site- packages/ nova/compute/ manager. py", line 177, in decorated_function python2. 6/site- packages/ nova/compute/ manager. py", line 657, in run_instance python2. 6/site- packages/ nova/utils. py", line 945, in inner python2. 6/site- packages/ nova/compute/ manager. py", line 656, in do_run_instance instance( context, instance_uuid, **kwargs) python2. 6/site- packages/ nova/compute/ manager. py", line 457, in _run_instance instance_ error_state( context, instance_uuid) python2. 6/contextlib. py", line 23, in __exit__ python2. 6/site- packages/ nova/compute/ manager. py", line 438, in _run_instance e_network( context, instance) python2. 6/contextlib. py", line 23, in __exit__ python2. 6/site- packages/ nova/compute/ manager. py", line 435, in _run_instance python2. 6/site- packages/ nova/compute/ manager. py", line 598, in _spawn nw_info( network_ info), block_device_info) python2. 6/site- packages/ nova/exception. py", line 114, in wrapped python2. 6/site- packages/ nova/virt/ libvirt/ connection. py", line 919, in spawn info=block_ device_ info) python2. 6/site- packages/ nova/virt/ libvirt/ connection. py", line 1539, in to_xml python2. 6/site- packages/ nova/virt/ libvirt/ connection. py", line 1422, in _prepare_xml_info self.vif_ driver. plug(instance, network, mapping)) python2. 6/site- packages/ nova/virt/ libvirt/ vif.py" , line 101, in plug configurations( network, mapping) python2. 6/site- packages/ nova/virt/ libvirt/ vif.py" , line 71, in _get_configurations 'ips'][ 0]['ip' ],
2012-08-07 22:25:03 ERROR nova.rpc.amqp [req-fd243ca3-
2012-08-07 22:25:03 TRACE nova.rpc.amqp Traceback (most recent call last):
2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib/
2012-08-07 22:25:03 TRACE nova.rpc.amqp rval = node_func(
2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib/
2012-08-07 22:25:03 TRACE nova.rpc.amqp return f(*args, **kw)
2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib/
2012-08-07 22:25:03 TRACE nova.rpc.amqp sys.exc_info())
2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib64/
2012-08-07 22:25:03 TRACE nova.rpc.amqp self.gen.next()
2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib/
2012-08-07 22:25:03 TRACE nova.rpc.amqp return function(self, context, instance_uuid, *args, **kwargs)
2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib/
2012-08-07 22:25:03 TRACE nova.rpc.amqp do_run_instance()
2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib/
2012-08-07 22:25:03 TRACE nova.rpc.amqp retval = f(*args, **kwargs)
2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib/
2012-08-07 22:25:03 TRACE nova.rpc.amqp self._run_
2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib/
2012-08-07 22:25:03 TRACE nova.rpc.amqp self._set_
2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib64/
2012-08-07 22:25:03 TRACE nova.rpc.amqp self.gen.next()
2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib/
2012-08-07 22:25:03 TRACE nova.rpc.amqp self._deallocat
2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib64/
2012-08-07 22:25:03 TRACE nova.rpc.amqp self.gen.next()
2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib/
2012-08-07 22:25:03 TRACE nova.rpc.amqp injected_files, admin_password)
2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib/
2012-08-07 22:25:03 TRACE nova.rpc.amqp self._legacy_
2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib/
2012-08-07 22:25:03 TRACE nova.rpc.amqp return f(*args, **kw)
2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib/
2012-08-07 22:25:03 TRACE nova.rpc.amqp block_device_
2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib/
2012-08-07 22:25:03 TRACE nova.rpc.amqp rescue, block_device_info)
2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib/
2012-08-07 22:25:03 TRACE nova.rpc.amqp nics.append(
2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib/
2012-08-07 22:25:03 TRACE nova.rpc.amqp return self._get_
2012-08-07 22:25:03 TRACE nova.rpc.amqp File "/usr/lib/
2012-08-07 22:25:03 TRACE nova.rpc.amqp 'ip_address': mapping[
2012-08-07 22:25:03 TRACE nova.rpc.amqp IndexError: list index out of range
2012-08-07 22:25:03 TRACE nova.rpc.amqp