unable to start the instance

asked 2013-12-26 04:00:04 -0600

ygk gravatar image

updated 2013-12-27 14:26:38 -0600

smaffulli gravatar image

I have installed openstack on centos. The centos vm is installed on ESX. On two such centos VMs, I am trying to install openstack. I am unable to start the instance: The scheduler log is hown below

2013-12-26 04:41:49.236 1880 ERROR nova.scheduler.filter_scheduler [req-a5eb6f8a-6383-4ece-a813-fc0ab86c0056 75515c357bed4240b26ac7b3cfa364d7 01fc5697da1b4970ae785fdfe5300ae3] [instance: 9fab8885-e3d9-4e80-9ae0-63bd0239fe8a] Error from last host: controller (node controller): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1037, in _build_instance\n    set_access_ip=set_access_ip)\n', u'  File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1420, in _spawn\n    LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u'  File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1417, in _spawn\n    block_device_info)\n', u'  File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 2059, in spawn\n    admin_pass=admin_password)\n', u'  File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 2457, in _create_image\n    net = netutils.get_injected_network_template(network_info)\n', u'  File "/usr/lib/python2.6/site-packages/nova/virt/netutils.py", line 74, in get_injected_network_template\n    if not (network_info and template):\n', u'  File "/usr/lib/python2.6/site-packages/nova/network/model.py", line 379, in __len__\n    return self._sync_wrapper(fn, *args, **kwargs)\n', u'  File "/usr/lib/python2.6/site-packages/nova/network/model.py", line 366, in _sync_wrapper\n    self.wait()\n', u'  File "/usr/lib/python2.6/site-packages/nova/network/model.py", line 398, in wait\n    self[:] = self._gt.wait()\n', u'  File "/usr/lib/python2.6/site-packages/eventlet/greenthread.py", line 166, in wait\n    return self._exit_event.wait()\n', u'  File "/usr/lib/python2.6/site-packages/eventlet/event.py", line 116, in wait\n    return hubs.get_hub().switch()\n', u'  File "/usr/lib/python2.6/site-packages/eventlet/hubs/hub.py", line 177, in switch\n    return self.greenlet.switch()\n', u'  File "/usr/lib/python2.6/site-packages/eventlet/greenthread.py", line 192, in main\n    result = function(*args, **kwargs)\n', u'  File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1238, in _allocate_network_async\n    dhcp_options=dhcp_options)\n', u'  File "/usr/lib/python2.6/site-packages/nova/network/api.py", line 94, in wrapped\n    return func(self, context, *args, **kwargs)\n', u'  File "/usr/lib/python2.6/site-packages/nova/network/api.py", line 49, in wrapper\n    res = f(self, context, *args, **kwargs)\n', u'  File "/usr/lib/python2.6/site-packages/nova/network/api.py", line 301, in allocate_for_instance\n    nw_info = self.network_rpcapi.allocate_for_instance(context, **args)\n', u'  File "/usr/lib/python2.6/site-packages/nova/network/rpcapi.py", line 184, in allocate_for_instance\n    macs=jsonutils.to_primitive(macs))\n', u'  File "/usr/lib/python2.6/site-packages/nova/rpcclient.py", line 85, in call\n    return self._invoke(self.proxy.call, ctxt, method, **kwargs)\n', u'  File "/usr/lib/python2.6/site-packages/nova/rpcclient.py", line 63, in _invoke\n    return cast_or_call(ctxt, msg, **self.kwargs)\n', u'  File "/usr/lib/python2.6/site-packages ...
edit retag flag offensive close merge delete


Sorry, that's way too long to look through. What kind of system do you have and does it have virtualization enabled?

Marco Shaw gravatar imageMarco Shaw ( 2013-12-26 16:29:51 -0600 )edit

The centos vm is installed on ESX. On two such centos VMs, I am trying to install openstack.

ygk gravatar imageygk ( 2013-12-27 04:29:27 -0600 )edit

is this a duplicate of the question you asked on https://ask.openstack.org/en/question/9445/creating-network/?

smaffulli gravatar imagesmaffulli ( 2013-12-27 14:27:55 -0600 )edit

Thanks all for the response. I am now trying to install openstack with neutron networking instead of nova networking. Will let you know if it succeeds.

ygk gravatar imageygk ( 2013-12-28 02:38:45 -0600 )edit