← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1036672] Re: Unable to spawn instance after I delete and create same network

 

really old invalid bug

** Changed in: nova
       Status: Incomplete => Invalid

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

Title:
  Unable to spawn instance after I delete and create same network

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  Steps to reproduce:

  1. Create project and network
  2. Spawn instance
  3. Delete instance
  4. Delete project and network
  5. Create same network
  6. Create project
  7. Spawn instance

  Affected releases: OpenStack Essex

  Description:

  You are unable to spawn instance with network that was previosly
  deleted and recreated. Instance get ERROR state and in nova-
  compute.log you will see this error:

  2012-08-13 19:47:38 nova.compute.manager: ERROR [req-51fc575d-6e0f-482e-8087-7fcacfd72af4 0d2d8dab9f9d415986d28505ed4861bb b833a8f1094b4815b50ddcc21b2b6423] Instance failed to spawn
  2012-08-13 19:47:38 TRACE nova.compute.manager [instance: f6531b3d-9764-48b8-b36f-695c8f06480a] Traceback (most recent call last):
  2012-08-13 19:47:38 TRACE nova.compute.manager [instance: f6531b3d-9764-48b8-b36f-695c8f06480a]   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 598, in _spawn
  2012-08-13 19:47:38 TRACE nova.compute.manager [instance: f6531b3d-9764-48b8-b36f-695c8f06480a]     self._legacy_nw_info(network_info), block_device_info)
  2012-08-13 19:47:38 TRACE nova.compute.manager [instance: f6531b3d-9764-48b8-b36f-695c8f06480a]   File "/usr/lib/python2.6/site-packages/nova/exception.py", line 114, in wrapped
  2012-08-13 19:47:38 TRACE nova.compute.manager [instance: f6531b3d-9764-48b8-b36f-695c8f06480a]     return f(*args, **kw)
  2012-08-13 19:47:38 TRACE nova.compute.manager [instance: f6531b3d-9764-48b8-b36f-695c8f06480a]   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/connection.py", line 919, in spawn
  2012-08-13 19:47:38 TRACE nova.compute.manager [instance: f6531b3d-9764-48b8-b36f-695c8f06480a]     block_device_info=block_device_info)
  2012-08-13 19:47:38 TRACE nova.compute.manager [instance: f6531b3d-9764-48b8-b36f-695c8f06480a]   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/connection.py", line 1539, in to_xml
  2012-08-13 19:47:38 TRACE nova.compute.manager [instance: f6531b3d-9764-48b8-b36f-695c8f06480a]     rescue, block_device_info)
  2012-08-13 19:47:38 TRACE nova.compute.manager [instance: f6531b3d-9764-48b8-b36f-695c8f06480a]   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/connection.py", line 1422, in _prepare_xml_info
  2012-08-13 19:47:38 TRACE nova.compute.manager [instance: f6531b3d-9764-48b8-b36f-695c8f06480a]     nics.append(self.vif_driver.plug(instance, network, mapping))
  2012-08-13 19:47:38 TRACE nova.compute.manager [instance: f6531b3d-9764-48b8-b36f-695c8f06480a]   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/vif.py", line 99, in plug
  2012-08-13 19:47:38 TRACE nova.compute.manager [instance: f6531b3d-9764-48b8-b36f-695c8f06480a]     return self._get_configurations(network, mapping)
  2012-08-13 19:47:38 TRACE nova.compute.manager [instance: f6531b3d-9764-48b8-b36f-695c8f06480a]   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/vif.py", line 69, in _get_configurations
  2012-08-13 19:47:38 TRACE nova.compute.manager [instance: f6531b3d-9764-48b8-b36f-695c8f06480a]     'ip_address': mapping['ips'][0]['ip'],
  2012-08-13 19:47:38 TRACE nova.compute.manager [instance: f6531b3d-9764-48b8-b36f-695c8f06480a] IndexError: list index out of range
  2012-08-13 19:47:38 TRACE nova.compute.manager [instance: f6531b3d-9764-48b8-b36f-695c8f06480a]

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