Ask Your Question
0

state hold on pending

asked 2011-02-17 09:20:08 -0600

I can't start the instances . It hold on pending state. How can I fix it ?

edit retag flag offensive close merge delete

5 answers

Sort by ยป oldest newest most voted
0

answered 2011-02-23 06:25:43 -0600

I can fix the problem. Thanks!!!

edit flag offensive delete link more
0

answered 2011-10-26 23:43:12 -0600

robpneff gravatar image

Ricky, it would be helpful if you said what was wrong and how you fixed it.

edit flag offensive delete link more
0

answered 2011-02-18 12:15:48 -0600

berendt gravatar image

Please append your configuration (/etc/nova/nova.conf), your logfiles (/var/log/nova/*), the used nova version and the used distribution. Without more details you won't get an answer...

edit flag offensive delete link more
0

answered 2011-02-20 04:39:27 -0600

Thanks Christian , My imformation is :

nova.conf : --dhcpbridge_flagfile=/etc/nova/nova.conf --dhcpbridge=/usr/bin/nova-dhcpbridge --logdir=/var/log/nova --state_path=/var/lib/nova --verbose --s3_host=10.0.2.15 --rabbit_host=10.0.2.15 --cc_host=10.0.2.15 --ec2_url=http://10.0.2.15:8773/services/Cloud --fixed_range=10.0.0.0/12 --network_size=8 --FAKE_subdomain=ec2 --routing_source_ip=10.0.2.15 --verbose --sql_connection=mysql://root:nova@10.0.2.15/nova --network_manager=nova.network.manager.FlatManager

nova-compute : 2011-02-20 11:07:38,175 DEBUG nova.virt.libvirt_conn [-] Connecting to libvirt: qemu:///system from MainProcess (pid=5391) _get_connection /usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py:183 2011-02-20 11:07:38,797 AUDIT nova.compute.manager [T1J09MUMNQEX5P5DVHB4 admin ccproject] instance 1: starting... 2011-02-20 11:07:40,080 DEBUG nova.virt.libvirt_conn [-] instance instance-00000001: starting toXML method from MainProcess (pid=5391) to_xml /usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py:665 2011-02-20 11:07:40,242 DEBUG nova.virt.libvirt_conn [-] instance instance-00000001: finished toXML method from MainProcess (pid=5391) to_xml /usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py:733 2011-02-20 11:07:40,270 INFO nova.root [-] called setup_basic_filtering in nwfilter 2011-02-20 11:07:40,271 INFO nova.root [-] ensuring static filters 2011-02-20 11:07:40,683 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 116, in _wrap (nova.exception): TRACE: return f(args, *kw) (nova.exception): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py", line 408, in spawn (nova.exception): TRACE: self.firewall_driver.prepare_instance_filter(instance) (nova.exception): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py", line 1237, in prepare_instance_filter (nova.exception): TRACE: self.apply_ruleset() (nova.exception): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py", line 1240, in apply_ruleset (nova.exception): TRACE: current_filter, _ = self.execute('sudo iptables-save -t filter') (nova.exception): TRACE: File "/usr/lib/pymodules/python2.6/nova/utils.py", line 147, in execute (nova.exception): TRACE: cmd=cmd) (nova.exception): TRACE: ProcessExecutionError: Unexpected error while running command. (nova.exception): TRACE: Command: sudo iptables-save -t filter (nova.exception): TRACE: Exit code: 1 (nova.exception): TRACE: Stdout: '' (nova.exception): TRACE: Stderr: 'sudo: no tty present and no askpass program specified\n' (nova.exception): TRACE: 2011-02-20 11:07:40,732 ERROR nova.compute.manager [T1J09MUMNQEX5P5DVHB4 admin ccproject] instance 1: Failed to spawn (nova.compute.manager): TRACE: Traceback (most recent call last): (nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/compute/manager.py", line 211, 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 122, in _wrap (nova.compute.manager): TRACE: raise Error(str(e)) (nova.compute.manager): TRACE: Error: Unexpected error while running command. (nova.compute.manager): TRACE: Command: sudo iptables-save -t filter (nova.compute.manager): TRACE: Exit code: 1 (nova.compute.manager): TRACE: Stdout: '' (nova.compute.manager): TRACE: Stderr: 'sudo: no ... (more)

edit flag offensive delete link more
0

answered 2011-02-22 06:52:07 -0600

berendt gravatar image

fix sudo and try it again (sudo: no tty present and no askpass program specified)...

please use http://paste.openstack.org to paste logfiles, configurations, ... (sorry, forgot the link in my previous posting)

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-02-17 09:20:08 -0600

Seen: 68 times

Last updated: Oct 26 '11