termie / nova-migration-demo

Nova is a cloud computing fabric controller (the main part of an IaaS system). It is written in Python.
http://openstack.org/projects/compute/
Apache License 2.0
2 stars 0 forks source link

I start a instance,but for a moment ,it shutdown #821

Open termie opened 13 years ago

termie commented 13 years ago

I start a instance use euca_run_instances, first the instance start at status launching,but after a moment,the status changed to shutdown.

I found ERROR In nova-compute.log

2011-04-14 18:36:46,748 ERROR nova.exception [-] Uncaught exception (nova.exception): TRACE: Traceback (most recent call last): (nova.exception): TRACE: File "/root/nova/novascript/nova/nova/exception.py", line 120, in _wrap (nova.exception): TRACE: return f(_args, *_kw) (nova.exception): TRACE: File "/root/nova/novascript/nova/nova/virt/libvirt_conn.py", line 617, in spawn (nova.exception): TRACE: domain = self._create_new_domain(xml) (nova.exception): TRACE: File "/root/nova/novascript/nova/nova/virt/libvirt_conn.py", line 1077, in _create_new_domain (nova.exception): TRACE: domain = self._conn.defineXML(xml) (nova.exception): TRACE: File "/usr/lib/python2.6/dist-packages/libvirt.py", line 1368, in defineXML (nova.exception): TRACE: if ret is None:raise libvirtError('virDomainDefineXML() failed', conn=self) (nova.exception): TRACE: libvirtError: operation failed: domain 'instance-00000001' already exists with uuid b4116cb3-9d9a-3de9-c660-4d41499f5cf1 (nova.exception): TRACE: 2011-04-14 18:36:46,774 ERROR nova.compute.manager [XRWJO4Y1NHZ4X76ETDIN admin admin] Instance '1' failed to spawn. Is virtualization enabled in the BIOS? (nova.compute.manager): TRACE: Traceback (most recent call last): (nova.compute.manager): TRACE: File "/root/nova/novascript/nova/nova/compute/manager.py", line 234, in run_instance (nova.compute.manager): TRACE: self.driver.spawn(instance_ref) (nova.compute.manager): TRACE: File "/root/nova/novascript/nova/nova/exception.py", line 126, in _wrap (nova.compute.manager): TRACE: raise Error(str(e)) (nova.compute.manager): TRACE: Error: operation failed: domain 'instance-00000001' already exists with uuid b4116cb3-9d9a-3de9-c660-4d41499f5cf1 (nova.compute.manager): TRACE: 2011-04-14 18:37:28,699 INFO nova.compute.manager [-] Found instance 'instance-00000001' in DB but no VM. State=5, so setting state to shutoff. 2011-04-14 18:38:28,733 INFO nova.compute.manager [-] Found instance 'instance-00000001' in DB but no VM. State=5, so setting state to shutoff. 2011-04-14 18:39:28,764 INFO nova.compute.manager [-] Found instance 'instance-00000001' in DB but no VM. State=5, so setting state to shutoff. 2011-04-14 18:40:28,794 INFO nova.compute.manager [-] Found instance 'instance-00000001' in DB but no VM. State=5, so setting state to shutoff. 2011-04-14 18:41:28,822 INFO nova.compute.manager [-] Found instance 'instance-00000001' in DB but no VM. State=5, so setting state to shutoff. 2011-04-14 18:42:28,856 INFO nova.compute.manager [-] Found instance 'instance-00000001' in DB but no VM. State=5, so setting state to shutoff. 2011-04-14 18:43:28,886 INFO nova.compute.manager [-] Found instance 'instance-00000001' in DB but no VM. State=5, so setting state to shutoff. 2011-04-14 18:44:28,916 INFO nova.compute.manager [-] Found instance 'instance-00000001' in DB but no VM. State=5, so setting state to shutoff. 2011-04-14 18:45:28,950 INFO nova.compute.manager [-] Found instance 'instance-00000001' in DB but no VM. State=5, so setting state to shutoff. 2011-04-14 18:46:28,981 INFO nova.compute.manager [-] Found instance 'instance-00000001' in DB but no VM. State=5, so setting state to shutoff. 2011-04-14 18:47:29,019 INFO nova.compute.manager [-] Found instance 'instance-00000001' in DB but no VM. State=5, so setting state to shutoff. 2011-04-14 18:48:29,057 INFO nova.compute.manager [-] Found instance 'instance-00000001' in DB but no VM. State=5, so setting state to shutoff. 2011-04-14 18:49:29,090 INFO nova.compute.manager [-] Found instance 'instance-00000001' in DB but no VM. State=5, so setting state to shutoff. 2011-04-14 18:50:29,125 INFO nova.compute.manager [-] Found instance 'instance-00000001' in DB but no VM. State=5, so setting state to shutoff. 2011-04-14 18:51:29,153 INFO nova.compute.manager [-] Found instance 'instance-00000001' in DB but no VM. State=5, so setting state to shutoff. 2011-04-14 18:52:29,182 INFO nova.compute.manager [-] Found instance 'instance-00000001' in DB but no VM. State=5, so setting state to shutoff. 2011-04-14 18:53:29,212 INFO nova.compute.manager [-] Found instance 'instance-00000001' in DB but no VM. State=5, so setting state to shutoff. 2011-04-14 18:54:29,243 INFO nova.compute.manager [-] Found instance 'instance-00000001' in DB but no VM. State=5, so setting state to shutoff. 2011-04-14 18:55:29,276 INFO nova.compute.manager [-] Found instance 'instance-00000001' in DB but no VM. State=5, so setting state to shutoff.