Essex on Ubuntu 12.04 LTS.<br><br>I am not able to start nova-compute service. <br><br># start nova-compute <br>nova-compute start/running, process 2262<br><br># status nova-compute <br>nova-compute stop/waiting<br><br><br>
In the log i see bellow. "Instance instance-00000009 could not be found".<br><br>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<br>
2012-05-15 00:02:12 CRITICAL nova [-] Instance instance-00000009 could not be found.<br>2012-05-15 00:02:12 TRACE nova Traceback (most recent call last):<br>2012-05-15 00:02:12 TRACE nova   File "/usr/bin/nova-compute", line 49, in <module><br>
2012-05-15 00:02:12 TRACE nova     service.wait()<br>2012-05-15 00:02:12 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 413, in wait<br>2012-05-15 00:02:12 TRACE nova     _launcher.wait()<br>
2012-05-15 00:02:12 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 131, in wait<br>2012-05-15 00:02:12 TRACE nova     service.wait()<br>2012-05-15 00:02:12 TRACE nova   File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 166, in wait<br>
2012-05-15 00:02:12 TRACE nova     return self._exit_event.wait()<br>2012-05-15 00:02:12 TRACE nova   File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait<br>2012-05-15 00:02:12 TRACE nova     return hubs.get_hub().switch()<br>
2012-05-15 00:02:12 TRACE nova   File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 177, in switch<br>2012-05-15 00:02:12 TRACE nova     return self.greenlet.switch()<br>2012-05-15 00:02:12 TRACE nova   File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 192, in main<br>
2012-05-15 00:02:12 TRACE nova     result = function(*args, **kwargs)<br>2012-05-15 00:02:12 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 101, in run_server<br>2012-05-15 00:02:12 TRACE nova     server.start()<br>
2012-05-15 00:02:12 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 162, in start<br>2012-05-15 00:02:12 TRACE nova     self.manager.init_host()<br>2012-05-15 00:02:12 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 247, in init_host<br>
2012-05-15 00:02:12 TRACE nova     self.reboot_instance(context, instance['uuid'])<br>2012-05-15 00:02:12 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 114, in wrapped<br>2012-05-15 00:02:12 TRACE nova     return f(*args, **kw)<br>
2012-05-15 00:02:12 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 153, in decorated_function<br>2012-05-15 00:02:12 TRACE nova     function(self, context, instance_uuid, *args, **kwargs)<br>
2012-05-15 00:02:12 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 171, in decorated_function<br>2012-05-15 00:02:12 TRACE nova     return function(self, context, instance_uuid, *args, **kwargs)<br>
2012-05-15 00:02:12 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 898, in reboot_instance<br>2012-05-15 00:02:12 TRACE nova     reboot_type)<br>2012-05-15 00:02:12 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 114, in wrapped<br>
2012-05-15 00:02:12 TRACE nova     return f(*args, **kw)<br>2012-05-15 00:02:12 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py", line 718, in reboot<br>2012-05-15 00:02:12 TRACE nova     if self._soft_reboot(instance):<br>
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<br>2012-05-15 00:02:12 TRACE nova     dom = self._lookup_by_name(<a href="http://instance.name">instance.name</a>)<br>
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<br>2012-05-15 00:02:12 TRACE nova     raise exception.InstanceNotFound(instance_id=instance_name)<br>
2012-05-15 00:02:12 TRACE nova InstanceNotFound: Instance instance-00000009 could not be found.<br>2012-05-15 00:02:12 TRACE nova <br><br>Anyone help me how to solve this issue?<br><br>Thanks in advance.<br><br># nova-manage service list<br>
nova-compute     openstack                            nova             enabled    XXX   2012-05-14 12:38:29<br>nova-scheduler   openstack                            nova             enabled    :-)   2012-05-14 18:35:15<br>
nova-volume      openstack                            nova             enabled    :-)   2012-05-14 18:35:16<br>nova-network     openstack                            nova             enabled    :-)   2012-05-14 18:35:14<br>
nova-consoleauth openstack                            nova             enabled    :-)   2012-05-14 18:35:22<br><br><br><br clear="all"><br>-- <br>Thanks & Regards,<br>Shashi Kanth<br><br>