← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1325731] [NEW] libvirt out of sync with nova causes instance to endlessly reschedule

 

Public bug reported:

2014-06-02 13:32:26.404 ERROR nova.compute.manager [req-7aaaef0e-46ed-4547-acec-d788aa3aafc8 demo demo] [instance: 0bb3d301-96c7-44f4-8235-ba0d062a011b] Instance failed to spawn
2014-06-02 13:32:26.404 TRACE nova.compute.manager [instance: 0bb3d301-96c7-44f4-8235-ba0d062a011b] Traceback (most recent call last):
2014-06-02 13:32:26.404 TRACE nova.compute.manager [instance: 0bb3d301-96c7-44f4-8235-ba0d062a011b]   File "/opt/stack/nova/nova/compute/manager.py", line 2062, in _build_resources
2014-06-02 13:32:26.404 TRACE nova.compute.manager [instance: 0bb3d301-96c7-44f4-8235-ba0d062a011b]     yield resources
2014-06-02 13:32:26.404 TRACE nova.compute.manager [instance: 0bb3d301-96c7-44f4-8235-ba0d062a011b]   File "/opt/stack/nova/nova/compute/manager.py", line 1965, in _build_and_run_instance
2014-06-02 13:32:26.404 TRACE nova.compute.manager [instance: 0bb3d301-96c7-44f4-8235-ba0d062a011b]     block_device_info=block_device_info)
2014-06-02 13:32:26.404 TRACE nova.compute.manager [instance: 0bb3d301-96c7-44f4-8235-ba0d062a011b]   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2288, in spawn
2014-06-02 13:32:26.404 TRACE nova.compute.manager [instance: 0bb3d301-96c7-44f4-8235-ba0d062a011b]     block_device_info)
2014-06-02 13:32:26.404 TRACE nova.compute.manager [instance: 0bb3d301-96c7-44f4-8235-ba0d062a011b]   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 3684, in _create_domain_and_network
2014-06-02 13:32:26.404 TRACE nova.compute.manager [instance: 0bb3d301-96c7-44f4-8235-ba0d062a011b]     power_on=power_on)
2014-06-02 13:32:26.404 TRACE nova.compute.manager [instance: 0bb3d301-96c7-44f4-8235-ba0d062a011b]   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 3582, in _create_domain
2014-06-02 13:32:26.404 TRACE nova.compute.manager [instance: 0bb3d301-96c7-44f4-8235-ba0d062a011b]     raise e
2014-06-02 13:32:26.404 TRACE nova.compute.manager [instance: 0bb3d301-96c7-44f4-8235-ba0d062a011b] libvirtError: operation failed: domain 'instance-00000002' already exists with uuid f24839a2-6523-438b-a4c3-b46ddba11389
2014-06-02 13:32:26.404 TRACE nova.compute.manager [instance: 0bb3d301-96c7-44f4-8235-ba0d062a011b] 
2014-06-02 13:32:26.406 ERROR root [req-7aaaef0e-46ed-4547-acec-d788aa3aafc8 demo demo] Original exception being dropped: ['Traceback (most recent call last):\n', '  File "/opt/stack/nova/nova/compute/manager.py", line 2062, in _build_resources\n    yield resources\n', '  File "/opt/stack/nova/nova/compute/manager.py", line 1965, in _build_and_run_instance\n    block_device_info=block_device_info)\n', '  File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2288, in spawn\n    block_device_info)\n', '  File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 3684, in _create_domain_and_network\n    power_on=power_on)\n', '  File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 3582, in _create_domain\n    raise e\n', "libvirtError: operation failed: domain 'instance-00000002' already exists with uuid f24839a2-6523-438b-a4c3-b46ddba11389\n"]

** 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/1325731

Title:
  libvirt out of sync with nova causes instance to endlessly reschedule

Status in OpenStack Compute (Nova):
  New

Bug description:
  2014-06-02 13:32:26.404 ERROR nova.compute.manager [req-7aaaef0e-46ed-4547-acec-d788aa3aafc8 demo demo] [instance: 0bb3d301-96c7-44f4-8235-ba0d062a011b] Instance failed to spawn
  2014-06-02 13:32:26.404 TRACE nova.compute.manager [instance: 0bb3d301-96c7-44f4-8235-ba0d062a011b] Traceback (most recent call last):
  2014-06-02 13:32:26.404 TRACE nova.compute.manager [instance: 0bb3d301-96c7-44f4-8235-ba0d062a011b]   File "/opt/stack/nova/nova/compute/manager.py", line 2062, in _build_resources
  2014-06-02 13:32:26.404 TRACE nova.compute.manager [instance: 0bb3d301-96c7-44f4-8235-ba0d062a011b]     yield resources
  2014-06-02 13:32:26.404 TRACE nova.compute.manager [instance: 0bb3d301-96c7-44f4-8235-ba0d062a011b]   File "/opt/stack/nova/nova/compute/manager.py", line 1965, in _build_and_run_instance
  2014-06-02 13:32:26.404 TRACE nova.compute.manager [instance: 0bb3d301-96c7-44f4-8235-ba0d062a011b]     block_device_info=block_device_info)
  2014-06-02 13:32:26.404 TRACE nova.compute.manager [instance: 0bb3d301-96c7-44f4-8235-ba0d062a011b]   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2288, in spawn
  2014-06-02 13:32:26.404 TRACE nova.compute.manager [instance: 0bb3d301-96c7-44f4-8235-ba0d062a011b]     block_device_info)
  2014-06-02 13:32:26.404 TRACE nova.compute.manager [instance: 0bb3d301-96c7-44f4-8235-ba0d062a011b]   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 3684, in _create_domain_and_network
  2014-06-02 13:32:26.404 TRACE nova.compute.manager [instance: 0bb3d301-96c7-44f4-8235-ba0d062a011b]     power_on=power_on)
  2014-06-02 13:32:26.404 TRACE nova.compute.manager [instance: 0bb3d301-96c7-44f4-8235-ba0d062a011b]   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 3582, in _create_domain
  2014-06-02 13:32:26.404 TRACE nova.compute.manager [instance: 0bb3d301-96c7-44f4-8235-ba0d062a011b]     raise e
  2014-06-02 13:32:26.404 TRACE nova.compute.manager [instance: 0bb3d301-96c7-44f4-8235-ba0d062a011b] libvirtError: operation failed: domain 'instance-00000002' already exists with uuid f24839a2-6523-438b-a4c3-b46ddba11389
  2014-06-02 13:32:26.404 TRACE nova.compute.manager [instance: 0bb3d301-96c7-44f4-8235-ba0d062a011b] 
  2014-06-02 13:32:26.406 ERROR root [req-7aaaef0e-46ed-4547-acec-d788aa3aafc8 demo demo] Original exception being dropped: ['Traceback (most recent call last):\n', '  File "/opt/stack/nova/nova/compute/manager.py", line 2062, in _build_resources\n    yield resources\n', '  File "/opt/stack/nova/nova/compute/manager.py", line 1965, in _build_and_run_instance\n    block_device_info=block_device_info)\n', '  File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2288, in spawn\n    block_device_info)\n', '  File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 3684, in _create_domain_and_network\n    power_on=power_on)\n', '  File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 3582, in _create_domain\n    raise e\n', "libvirtError: operation failed: domain 'instance-00000002' already exists with uuid f24839a2-6523-438b-a4c3-b46ddba11389\n"]

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


Follow ups

References