[Openstack] Instance Creation Failed...Error: Unable to retrieve instances.
Danny Beutler
dannybeutler at gmail.com
Tue Jan 7 17:08:19 UTC 2014
Hello,
After attempting to create a new instance which failed due to an error, I
am now unable to create instances, view instances, or delete instances.
The error received when creating the initial instance is here:
<0>Jan 7 15:39:03 node-8 ?<179>nova-nova.scheduler.filter_scheduler ERROR:
Error from last host: node-7.corp.alianza.com (node node-7.corp.alianza.com):
[u'Traceback (most recent call last):\n', u' File
"/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 864, in
_run_instance\n set_access_ip=set_access_ip)\n', u' File
"/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1123, in
_spawn\n LOG.exception(_(\'Instance failed to spawn\'),
instance=instance)\n', u' File "/usr/lib64/python2.6/contextlib.py", line
23, in __exit__\n self.gen.next()\n', u' File
"/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1119, in
_spawn\n block_device_info)\n', u' File
"/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 1524,
in spawn\n admin_pass=admin_password)\n', u' File
"/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 1809,
in _create_image\n project_id=instance[\'project_id\'])\n', u' File
"/usr/lib/python2.6/site-packages/nova/virt/libvirt/imagebackend.py", line
158, in cache\n *args, **kwargs)\n', u' File
"/usr/lib/python2.6/site-packages/nova/virt/libvirt/imagebackend.py", line
291, in create_image\n raise exception.ImageTooLarge()\n',
u'ImageTooLarge: Image is larger than instance type allows\n']
The error I am getting now why trying to view the instances in Horizon is
here:
<0>Jan 7 17:06:40 node-8 ?<179>nova-nova.api.openstack ERROR: Caught
error: 'instance_type_memory_mb'
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/nova/api/openstack/__init__.py",
line 81, in __call__
return req.get_response(self.application)
File
"/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/request.py",
line 1053, in get_response
application, catch_exc_info=False)
File
"/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/request.py",
line 1022, in call_application
app_iter = application(self.environ, start_response)
File
"/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py", line
159, in __call__
return resp(environ, start_response)
File
"/usr/lib/python2.6/site-packages/keystoneclient/middleware/auth_token.py",
line 454, in __call__
return self.app(env, start_response)
File
"/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py", line
159, in __call__
return resp(environ, start_response)
File
"/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py", line
159, in __call__
return resp(environ, start_response)
File
"/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py", line
159, in __call__
return resp(environ, start_response)
File
"/usr/lib/python2.6/site-packages/Routes-1.12.3-py2.6.egg/routes/middleware.py",
line 131, in __call__
response = self.app(environ, start_response)
File
"/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py", line
159, in __call__
return resp(environ, start_response)
File
"/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py", line
147, in __call__
resp = self.call_func(req, *args, **self.kwargs)
File
"/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py", line
208, in call_func
return self.func(req, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/nova/api/openstack/wsgi.py", line
890, in __call__
content_type, body, accept)
File "/usr/lib/python2.6/site-packages/nova/api/openstack/wsgi.py", line
942, in _process_stack
action_result = self.dispatch(meth, request, action_args)
File "/usr/lib/python2.6/site-packages/nova/api/openstack/wsgi.py", line
1022, in dispatch
return method(req=request, **action_args)
File
"/usr/lib/python2.6/site-packages/nova/api/openstack/compute/servers.py",
line 479, in detail
servers = self._get_servers(req, is_detail=True)
File
"/usr/lib/python2.6/site-packages/nova/api/openstack/compute/servers.py",
line 563, in _get_servers
response = self._view_builder.detail(req, instance_list)
File
"/usr/lib/python2.6/site-packages/nova/api/openstack/compute/views/servers.py",
line 128, in detail
return self._list_view(self.show, request, instances)
File
"/usr/lib/python2.6/site-packages/nova/api/openstack/compute/views/servers.py",
line 132, in _list_view
server_list = [func(request, server)["server"] for server in servers]
File
"/usr/lib/python2.6/site-packages/nova/api/openstack/compute/views/servers.py",
line 62, in wrapped
return func(self, request, instance)
File
"/usr/lib/python2.6/site-packages/nova/api/openstack/compute/views/servers.py",
line 102, in show
"flavor": self._get_flavor(request, instance),
File
"/usr/lib/python2.6/site-packages/nova/api/openstack/compute/views/servers.py",
line 184, in _get_flavor
instance_type = instance_types.extract_instance_type(instance)
File "/usr/lib/python2.6/site-packages/nova/compute/instance_types.py",
line 247, in extract_instance_type
instance_type[key] = type_fn(sys_meta[type_key])
KeyError: 'instance_type_memory_mb'
I am running Grizzly.
This looks similar to the bug filed here (
https://bugs.launchpad.net/nova/+bug/1161022) but we are already running
with the patch that fixes that issue.
Any help would be appreciated.
Thanks,
Danny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140107/9e02b1fa/attachment.html>
More information about the Openstack
mailing list