[Openstack] not able to start nova-compute "Instance could not be found"

Shashi Kanth Boddula shashi.bsd at gmail.com
Mon May 14 18:36:04 UTC 2012


Essex on Ubuntu 12.04 LTS.

I am not able to start nova-compute service.

# start nova-compute
nova-compute start/running, process 2262

# status nova-compute
nova-compute stop/waiting


In the log i see bellow. "Instance instance-00000009 could not be found".

2012-05-15 00:02:11 INFO nova.rpc.common
[req-16833960-e870-4425-9ef9-be21737ffa9d None None] Connected to AMQP
server on openstack:5672
2012-05-15 00:02:12 CRITICAL nova [-] Instance instance-00000009 could not
be found.
2012-05-15 00:02:12 TRACE nova Traceback (most recent call last):
2012-05-15 00:02:12 TRACE nova   File "/usr/bin/nova-compute", line 49, in
<module>
2012-05-15 00:02:12 TRACE nova     service.wait()
2012-05-15 00:02:12 TRACE nova   File
"/usr/lib/python2.7/dist-packages/nova/service.py", line 413, in wait
2012-05-15 00:02:12 TRACE nova     _launcher.wait()
2012-05-15 00:02:12 TRACE nova   File
"/usr/lib/python2.7/dist-packages/nova/service.py", line 131, in wait
2012-05-15 00:02:12 TRACE nova     service.wait()
2012-05-15 00:02:12 TRACE nova   File
"/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 166, in
wait
2012-05-15 00:02:12 TRACE nova     return self._exit_event.wait()
2012-05-15 00:02:12 TRACE nova   File
"/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait
2012-05-15 00:02:12 TRACE nova     return hubs.get_hub().switch()
2012-05-15 00:02:12 TRACE nova   File
"/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 177, in switch
2012-05-15 00:02:12 TRACE nova     return self.greenlet.switch()
2012-05-15 00:02:12 TRACE nova   File
"/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 192, in
main
2012-05-15 00:02:12 TRACE nova     result = function(*args, **kwargs)
2012-05-15 00:02:12 TRACE nova   File
"/usr/lib/python2.7/dist-packages/nova/service.py", line 101, in run_server
2012-05-15 00:02:12 TRACE nova     server.start()
2012-05-15 00:02:12 TRACE nova   File
"/usr/lib/python2.7/dist-packages/nova/service.py", line 162, in start
2012-05-15 00:02:12 TRACE nova     self.manager.init_host()
2012-05-15 00:02:12 TRACE nova   File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 247, in
init_host
2012-05-15 00:02:12 TRACE nova     self.reboot_instance(context,
instance['uuid'])
2012-05-15 00:02:12 TRACE nova   File
"/usr/lib/python2.7/dist-packages/nova/exception.py", line 114, in wrapped
2012-05-15 00:02:12 TRACE nova     return f(*args, **kw)
2012-05-15 00:02:12 TRACE nova   File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 153, in
decorated_function
2012-05-15 00:02:12 TRACE nova     function(self, context, instance_uuid,
*args, **kwargs)
2012-05-15 00:02:12 TRACE nova   File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 171, in
decorated_function
2012-05-15 00:02:12 TRACE nova     return function(self, context,
instance_uuid, *args, **kwargs)
2012-05-15 00:02:12 TRACE nova   File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 898, in
reboot_instance
2012-05-15 00:02:12 TRACE nova     reboot_type)
2012-05-15 00:02:12 TRACE nova   File
"/usr/lib/python2.7/dist-packages/nova/exception.py", line 114, in wrapped
2012-05-15 00:02:12 TRACE nova     return f(*args, **kw)
2012-05-15 00:02:12 TRACE nova   File
"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py", line
718, in reboot
2012-05-15 00:02:12 TRACE nova     if self._soft_reboot(instance):
2012-05-15 00:02:12 TRACE nova   File
"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py", line
738, in _soft_reboot
2012-05-15 00:02:12 TRACE nova     dom = self._lookup_by_name(instance.name)
2012-05-15 00:02:12 TRACE nova   File
"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py", line
1542, in _lookup_by_name
2012-05-15 00:02:12 TRACE nova     raise
exception.InstanceNotFound(instance_id=instance_name)
2012-05-15 00:02:12 TRACE nova InstanceNotFound: Instance instance-00000009
could not be found.
2012-05-15 00:02:12 TRACE nova

Anyone help me how to solve this issue?

Thanks in advance.

# nova-manage service list
nova-compute     openstack                            nova
enabled    XXX   2012-05-14 12:38:29
nova-scheduler   openstack                            nova
enabled    :-)   2012-05-14 18:35:15
nova-volume      openstack                            nova
enabled    :-)   2012-05-14 18:35:16
nova-network     openstack                            nova
enabled    :-)   2012-05-14 18:35:14
nova-consoleauth openstack                            nova
enabled    :-)   2012-05-14 18:35:22




-- 
Thanks & Regards,
Shashi Kanth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120515/ff5cc775/attachment.html>


More information about the Openstack mailing list