[Bug 1167888] [NEW] Error with Deallocating network for instance

kaytaz alexey at kaytaz.ru
Thu Apr 11 12:03:50 UTC 2013


Public bug reported:

Description:	Ubuntu 12.04.2 LTS
Release:	12.04
nova-compute:
  Installed: 2012.1.3+stable-20120827-4d2a4afe-0ubuntu1.4
  Candidate: 2012.1.3+stable-20120827-4d2a4afe-0ubuntu1.4
  Version table:
 *** 2012.1.3+stable-20120827-4d2a4afe-0ubuntu1.4 0
        500 http://ru.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages
        100 /var/lib/dpkg/status
     2012.1-0ubuntu2 0
        500 http://ru.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

I can't create new instance after "apt-get upgrade" on compute node

Error log:
-----------------
2013-04-11 15:20:37 DEBUG nova.compute.manager [req-b1efc59b-606a-4d19-9db0-5be9dc1c89bc 9ed08e73e24a4bdbb95c0608db744016 0162d894683b43ea8b733bf32d2a28c9] [instance: ff94a1a2-9f8e-4211-8924-b9bfbec8a072] Deallocating network for instance from (pid=2868) _deallocate_network /usr/lib/python2.7/dist-packages/nova/compute/manager.py:641
2013-04-11 15:20:37 DEBUG nova.rpc.amqp [req-b1efc59b-606a-4d19-9db0-5be9dc1c89bc 9ed08e73e24a4bdbb95c0608db744016 0162d894683b43ea8b733bf32d2a28c9] Making asynchronous call on network ... from (pid=2868) multicall /usr/lib/python2.7/dist-packages/nova/rpc/amqp.py:326
2013-04-11 15:20:37 DEBUG nova.rpc.amqp [req-b1efc59b-606a-4d19-9db0-5be9dc1c89bc 9ed08e73e24a4bdbb95c0608db744016 0162d894683b43ea8b733bf32d2a28c9] MSG_ID is 7d96e1dd9b0f477988e356a65ff5d0be from (pid=2868) multicall /usr/lib/python2.7/dist-packages/nova/rpc/amqp.py:329
2013-04-11 15:20:37 ERROR nova.rpc.amqp [req-b1efc59b-606a-4d19-9db0-5be9dc1c89bc 9ed08e73e24a4bdbb95c0608db744016 0162d894683b43ea8b733bf32d2a28c9] Exception during message handling
2013-04-11 15:20:37 TRACE nova.rpc.amqp Traceback (most recent call last):
2013-04-11 15:20:37 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py", line 253, in _process_data
2013-04-11 15:20:37 TRACE nova.rpc.amqp     rval = node_func(context=ctxt, **node_args)
2013-04-11 15:20:37 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 114, in wrapped
2013-04-11 15:20:37 TRACE nova.rpc.amqp     return f(*args, **kw)
2013-04-11 15:20:37 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 183, in decorated_function
2013-04-11 15:20:37 TRACE nova.rpc.amqp     sys.exc_info())
2013-04-11 15:20:37 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2013-04-11 15:20:37 TRACE nova.rpc.amqp     self.gen.next()
2013-04-11 15:20:37 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 177, in decorated_function
2013-04-11 15:20:37 TRACE nova.rpc.amqp     return function(self, context, instance_uuid, *args, **kwargs)
2013-04-11 15:20:37 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 676, in run_instance
2013-04-11 15:20:37 TRACE nova.rpc.amqp     do_run_instance()
2013-04-11 15:20:37 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 989, in inner
2013-04-11 15:20:37 TRACE nova.rpc.amqp     retval = f(*args, **kwargs)
2013-04-11 15:20:37 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 675, in do_run_instance
2013-04-11 15:20:37 TRACE nova.rpc.amqp     self._run_instance(context, instance_uuid, **kwargs)
2013-04-11 15:20:37 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 476, in _run_instance
2013-04-11 15:20:37 TRACE nova.rpc.amqp     self._set_instance_error_state(context, instance_uuid)
2013-04-11 15:20:37 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2013-04-11 15:20:37 TRACE nova.rpc.amqp     self.gen.next()
2013-04-11 15:20:37 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 457, in _run_instance
2013-04-11 15:20:37 TRACE nova.rpc.amqp     self._deallocate_network(context, instance)
2013-04-11 15:20:37 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2013-04-11 15:20:37 TRACE nova.rpc.amqp     self.gen.next()
2013-04-11 15:20:37 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 454, in _run_instance
2013-04-11 15:20:37 TRACE nova.rpc.amqp     injected_files, admin_password)
2013-04-11 15:20:37 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 617, in _spawn
2013-04-11 15:20:37 TRACE nova.rpc.amqp     self._legacy_nw_info(network_info), block_device_info)
2013-04-11 15:20:37 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 114, in wrapped
2013-04-11 15:20:37 TRACE nova.rpc.amqp     return f(*args, **kw)
2013-04-11 15:20:37 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py", line 946, in spawn
2013-04-11 15:20:37 TRACE nova.rpc.amqp     block_device_info=block_device_info)
2013-04-11 15:20:37 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py", line 1568, in to_xml
2013-04-11 15:20:37 TRACE nova.rpc.amqp     rescue, block_device_info)
2013-04-11 15:20:37 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py", line 1451, in _prepare_xml_info
2013-04-11 15:20:37 TRACE nova.rpc.amqp     nics.append(self.vif_driver.plug(instance, network, mapping))
2013-04-11 15:20:37 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 99, in plug
2013-04-11 15:20:37 TRACE nova.rpc.amqp     return self._get_configurations(network, mapping)
2013-04-11 15:20:37 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 69, in _get_configurations
2013-04-11 15:20:37 TRACE nova.rpc.amqp     'ip_address': mapping['ips'][0]['ip'],
2013-04-11 15:20:37 TRACE nova.rpc.amqp IndexError: list index out of range
-----------------------

There is not any issues on "not updating" compute node

** Affects: nova (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: fixed ip nova

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1167888

Title:
  Error with Deallocating network for instance

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



More information about the Ubuntu-server-bugs mailing list