[Openstack] Instance failed to spawn

Rajesh Upadhayay rupadhayay at xavient.com
Tue Sep 10 08:01:28 UTC 2013


Hi,

Can someone please help me as  I have successfully setup Openstack grizzly on DomU but getting below error  and not able to launch instance due to Spawning issue.


2013-09-10 13:19:43.536 WARNING nova.scheduler.driver [req-8cef211b-5ea4-4657-b823-1ca967efd232 33156467441344e8817046e95f0c381c 2687d9c88b514bea9564eb682c5644a5] [inst
ance: ac0f94fc-7c6d-43d6-a49d-2958e0694e6c] Setting instance to ERROR state.
2013-09-10 13:22:40.843 ERROR nova.scheduler.filter_scheduler [req-973d4cd8-c722-4bb5-92b8-ced31c6ab4f0 33156467441344e8817046e95f0c381c 2687d9c88b514bea9564eb682c5644a
5] [instance: fe706720-1111-4498-9b57-f1a6daaeea45] Error from last host: xplinno1ctlr1 (node xenserver): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/p
ython2.7/dist-packages/nova/compute/manager.py", line 848, in _run_instance\n    set_access_ip=set_access_ip)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/comput
e/manager.py", line 1107, in _spawn\n    LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u'  File "/usr/lib/python2.7/contextlib.py", line 24, in
__exit__\n    self.gen.next()\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1103, in _spawn\n    block_device_info)\n', u'  File "/usr/l
ib/python2.7/dist-packages/nova/virt/xenapi/driver.py", line 177, in spawn\n    admin_password, network_info, block_device_info)\n', u'  File "/usr/lib/python2.7/dist-p
ackages/nova/virt/xenapi/vmops.py", line 480, in spawn\n    undo_mgr.rollback_and_reraise(msg=msg, instance=instance)\n', u'  File "/usr/lib/python2.7/dist-packages/nov
a/utils.py", line 1250, in rollback_and_reraise\n    self._rollback()\n', u'  File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__\n    self.gen.next()\n', u'
File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 463, in spawn\n    vdis = create_disks_step(undo_mgr, disk_image_type, image_meta)\n', u'  File
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 142, in inner\n    rv = f(*args, **kwargs)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/
xenapi/vmops.py", line 346, in create_disks_step\n    block_device_info=block_device_info)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", li
ne 317, in _create_disks\n    block_device_info=block_device_info)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py", line 518, in get_vdis_f
or_instance\n    context, session, instance, name_label, image, image_type)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py", line 974, in _
create_image\n    image_id, image_type)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py", line 919, in _create_cached_image\n    image_id, i
mage_type)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py", line 997, in _fetch_image\n    image_id, image_type)\n', u'  File "/usr/lib/pyt
hon2.7/dist-packages/nova/virt/xenapi/vm_utils.py", line 1209, in _fetch_disk_image\n    with vdi_attached_here(session, vdi_ref, read_only=False) as dev:\n', u'  File
"/usr/lib/python2.7/contextlib.py", line 17, in __enter__\n    return self.gen.next()\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py", line
1907, in vdi_attached_here\n    _wait_for_device(dev)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py", line 1864, in _wait_for_device\n
_(\'Timeout waiting for device %s to be created\') % dev)\n', u'StorageError: Timeout waiting for device hdc to be created\n']
2013-09-10 13:22:40.878 WARNING nova.scheduler.driver [req-973d4cd8-c722-4bb5-92b8-ced31c6ab4f0 33156467441344e8817046e95f0c381c 2687d9c88b514bea9564eb682c5644a5] [inst
ance: fe706720-1111-4498-9b57-f1a6daaeea45] Setting instance to ERROR state.

root at xplinno1ctlr1:~# nova hypervisor-list
+----+---------------------+
| ID | Hypervisor hostname |
+----+---------------------+
| 1  | xenserver           |
+----+---------------------+
root at xplinno1ctlr1:~#



Thanks & Regards,
Rajesh Upadhayay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130910/d181b9d9/attachment.html>


More information about the Openstack mailing list