Revision history [back]

click to hide/show revision 1
initial version

havana - cannot spawn instance

Hi Guys,

i'm currently trying to bring up my openstack server. there are two servers. 1 running as a controller( most of the api) and another as compute(nova compute and cinder). i manage to get dashboard and able to create image, bootable volume and others. but the problem is i'm not able to bring up my VM on. always end up with error.

below are the error that i'm able to find in my nova-scheduler.log.

2013-11-04 15:45:51.262 7130 ERROR nova.scheduler.filter_scheduler [req-87fa924d-c634-4a37-acc0-6746d7150010 a789942604184ebf9b6fac85b279b76b 7666f2651b3c440a9b1c3ea0c8cf23d2] [instance: 8c84f0c3-4e70-4862-bee4-b8c2fbaaa017] Error from l
ast host: Stack-Compute (node Stack-Compute): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1037, in _build_instance\n    set_access_ip=set_access_ip)\n', u'  File "/u
sr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1410, in _spawn\n    LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1407, in _
spawn\n    block_device_info)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2063, in spawn\n    admin_pass=admin_password)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", l
ine 2353, in _create_image\n    project_id=instance[\'project_id\'])\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py", line 174, in cache\n    *args, **kwargs)\n', u'  File "/usr/lib/python2.7/dist-packag
es/nova/virt/libvirt/imagebackend.py", line 276, in create_image\n    prepare_template(target=base, *args, **kwargs)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py", line 246, in inner\n    return f(*ar
gs, **kwargs)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py", line 162, in call_if_not_exists\n    fetch_func(target=target, *args, **kwargs)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/lib
virt/utils.py", line 644, in fetch_image\n    images.fetch_to_raw(context, image_id, target, user_id, project_id)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/images.py", line 195, in fetch_to_raw\n    fetch(context, image_hr
ef, path_tmp, user_id, project_id)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/images.py", line 190, in fetch\n    image_service.download(context, image_id, dst_path=path)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/
image/glance.py", line 360, in download\n    for chunk in image_chunks:\n', u'  File "/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line 478, in __iter__\n    chunk = self.next()\n', u'  File "/usr/lib/python2.7/dist-pac
kages/glanceclient/common/http.py", line 494, in next\n    chunk = self._resp.read(CHUNKSIZE)\n', u'  File "/usr/lib/python2.7/httplib.py", line 561, in read\n    s = self.fp.read(amt)\n', u'  File "/usr/lib/python2.7/socket.py", line 38
0, in read\n    data = self._sock.recv(left)\n', u'  File "/usr/lib/python2.7/dist-packages/eventlet/greenio.py", line 262, in recv\n    timeout_exc=socket.timeout("timed out"))\n', u'  File "/usr/lib/python2.7/dist-packages/eventlet/hub
s/__init__.py", line 155, in trampoline\n    return hub.switch()\n', u'  File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 187, in switch\n    return self.greenlet.switch()\n', u'timeout: timed out\n']
2013-11-04 15:45:51.278 7130 WARNING nova.scheduler.driver [req-87fa924d-c634-4a37-acc0-6746d7150010 a789942604184ebf9b6fac85b279b76b 7666f2651b3c440a9b1c3ea0c8cf23d2] [instance: 8c84f0c3-4e70-4862-bee4-b8c2fbaaa017] Setting instance to
ERROR state.
2013-11-04 21:19:04.696 7130 INFO nova.openstack.common.service [-] Caught SIGTERM, exiting

now i think i'm stuck don't know else where to find what is the exact cause of this issue. hope all gurus here can help me. :)

please show me the way..