<div dir="ltr"><div><div>Hello,<br><br>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.<br><br></div>The error received when creating the initial instance is here:<br>
<0>Jan 7 15:39:03 node-8 ?<179>nova-nova.scheduler.filter_scheduler ERROR: Error from last host: <a href="http://node-7.corp.alianza.com">node-7.corp.alianza.com</a> (node <a href="http://node-7.corp.alianza.com">node-7.corp.alianza.com</a>): [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']<br>
<br></div>The error I am getting now why trying to view the instances in Horizon is here:<br><0>Jan 7 17:06:40 node-8 ?<179>nova-nova.api.openstack ERROR: Caught error: 'instance_type_memory_mb'<br>Traceback (most recent call last):<br>
File "/usr/lib/python2.6/site-packages/nova/api/openstack/__init__.py", line 81, in __call__<br> return req.get_response(self.application)<br> File "/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/request.py", line 1053, in get_response<br>
application, catch_exc_info=False)<br> File "/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/request.py", line 1022, in call_application<br> app_iter = application(self.environ, start_response)<br>
File "/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py", line 159, in __call__<br> return resp(environ, start_response)<br> File "/usr/lib/python2.6/site-packages/keystoneclient/middleware/auth_token.py", line 454, in __call__<br>
return self.app(env, start_response)<br> File "/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py", line 159, in __call__<br> return resp(environ, start_response)<br> File "/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py", line 159, in __call__<br>
return resp(environ, start_response)<br> File "/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py", line 159, in __call__<br> return resp(environ, start_response)<br> File "/usr/lib/python2.6/site-packages/Routes-1.12.3-py2.6.egg/routes/middleware.py", line 131, in __call__<br>
response = self.app(environ, start_response)<br> File "/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py", line 159, in __call__<br> return resp(environ, start_response)<br> File "/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py", line 147, in __call__<br>
resp = self.call_func(req, *args, **self.kwargs)<br> File "/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py", line 208, in call_func<br> return self.func(req, *args, **kwargs)<br> File "/usr/lib/python2.6/site-packages/nova/api/openstack/wsgi.py", line 890, in __call__<br>
content_type, body, accept)<br> File "/usr/lib/python2.6/site-packages/nova/api/openstack/wsgi.py", line 942, in _process_stack<br> action_result = self.dispatch(meth, request, action_args)<br> File "/usr/lib/python2.6/site-packages/nova/api/openstack/wsgi.py", line 1022, in dispatch<br>
return method(req=request, **action_args)<br> File "/usr/lib/python2.6/site-packages/nova/api/openstack/compute/servers.py", line 479, in detail<br> servers = self._get_servers(req, is_detail=True)<br> File "/usr/lib/python2.6/site-packages/nova/api/openstack/compute/servers.py", line 563, in _get_servers<br>
response = self._view_builder.detail(req, instance_list)<br> File "/usr/lib/python2.6/site-packages/nova/api/openstack/compute/views/servers.py", line 128, in detail<br> return self._list_view(self.show, request, instances)<br>
File "/usr/lib/python2.6/site-packages/nova/api/openstack/compute/views/servers.py", line 132, in _list_view<br> server_list = [func(request, server)["server"] for server in servers]<br> File "/usr/lib/python2.6/site-packages/nova/api/openstack/compute/views/servers.py", line 62, in wrapped<br>
return func(self, request, instance)<br> File "/usr/lib/python2.6/site-packages/nova/api/openstack/compute/views/servers.py", line 102, in show<br> "flavor": self._get_flavor(request, instance),<br>
File "/usr/lib/python2.6/site-packages/nova/api/openstack/compute/views/servers.py", line 184, in _get_flavor<br> instance_type = instance_types.extract_instance_type(instance)<br> File "/usr/lib/python2.6/site-packages/nova/compute/instance_types.py", line 247, in extract_instance_type<br>
instance_type[key] = type_fn(sys_meta[type_key])<br>KeyError: 'instance_type_memory_mb'<br><div><div><br>I am running Grizzly.<br><br></div><div>This looks similar to the bug filed here (<a href="https://bugs.launchpad.net/nova/+bug/1161022">https://bugs.launchpad.net/nova/+bug/1161022</a>) but we are already running with the patch that fixes that issue.<br>
<br></div><div>Any help would be appreciated.<br><br></div><div>Thanks,<br></div><div>Danny<br></div></div></div>