Ask Your Question
0

Failed to spawn instance..........bzr946

asked 2011-04-06 13:43:18 -0500

tonytkdk gravatar image

INSTANCE i-00000002 ami-1aac51b8 192.168.1.6 192.168.1.6 failed to spawn hugokey (hugopro, ubuntu3) 0 m1.tiny 2011-04-06T13:26:32Z nova

LogFile http://pastebin.com/V8sG4TLs or check below ==============nova-compute.log================= 2011-04-06 21:26:04,608 INFO nova [-] called setup_basic_filtering in nwfilter 2011-04-06 21:26:04,609 INFO nova [-] ensuring static filters 2011-04-06 21:26:04,688 DEBUG nova.utils [-] Attempting to grab semaphore "iptables" for method "apply"... from (pid=19429) inner /usr/lib/pymodules/python2.6/nova/utils.py:594 2011-04-06 21:26:04,688 DEBUG nova.utils [-] Attempting to grab file lock "iptables" for method "apply"... from (pid=19429) inner /usr/lib/pymodules/python2.6/nova/utils.py:599 2011-04-06 21:26:04,689 ERROR nova.exception [-] Uncaught exception (nova.exception): TRACE: Traceback (most recent call last): (nova.exception): TRACE: File "/usr/lib/pymodules/python2.6/nova/exception.py", line 120, in _wrap (nova.exception): TRACE: return f( args, *kw) (nova.exception): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py", line 567, in spawn (nova.exception): TRACE: self.firewall_driver.prepare_instance_filter(instance, network_info) (nova.exception): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py", line 1887, in prepare_instance_filter (nova.exception): TRACE: self.iptables.apply() (nova.exception): TRACE: File "/usr/lib/pymodules/python2.6/nova/utils.py", line 606, in inner (nova.exception): TRACE: with lock: (nova.exception): TRACE: File "/usr/lib/pymodules/python2.6/lockfile.py", line 223, in __enter__ (nova.exception): TRACE: self.acquire() (nova.exception): TRACE: File "/usr/lib/pymodules/python2.6/lockfile.py", line 239, in acquire (nova.exception): TRACE: raise LockFailed("failed to create %s" % self.unique_name) (nova.exception): TRACE: LockFailed: failed to create /usr/lib/pymodules/python2.6/ubuntu3.Dummy-1-19429 (nova.exception): TRACE: 2011-04-06 21:26:04,690 ERROR nova.compute.manager [U67VHQXHP6G2359EWE89 hugo hugopro] Instance '2' failed to spawn. Is virtualization enabled in the BIOS? (nova.compute.manager): TRACE: Traceback (most recent call last): (nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/compute/manager.py", line 234, in run_instance (nova.compute.manager): TRACE: self.driver.spawn(instance_ref) (nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/exception.py", line 126, in _wrap (nova.compute.manager): TRACE: raise Error(str(e)) (nova.compute.manager): TRACE: Error: failed to create /usr/lib/pymodules/python2.6/ubuntu3.Dummy-1-19429 (nova.compute.manager): TRACE: 2011-04-06 21:26:52,172 INFO nova.compute.manager [-] Found instance 'instance-00000002' in DB but no VM. State=8, so setting state to shutoff.

2011-04-06 21:26:52,173 INFO nova.compute.manager [-] DB/VM state mismatch. Changing state from '8' to '5'

I never saw this error before .

Does any one do me a favor ? thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2011-04-07 10:01:54 -0500

tonytkdk gravatar image

add a flag into nova.conf

--lock_path=/tmp

assign a path which can be writed by nova

thanks Soren

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-04-06 13:43:18 -0500

Seen: 14 times

Last updated: Apr 07 '11