Creating instance from devstack state goes from "spawning" to "error"

asked 2014-05-19 20:31:41 -0600

gavingo15 gravatar image

updated 2014-06-09 16:58:40 -0600

smaffulli gravatar image

As title, when I create instance from horizon "launch" button the instance state begin with "spawning" then becomes "error". I didn't use neutron (I use nova-network). This error seems that while executing sudo nova-rootwrap /etc/nova/rootwrap.conf iptables-restore -c the system waits for the result then times out. In my host, I tried executing sudo iptables-restore -c and it seems to be waiting for something.(I don't know what is it). So I guess the reason of error is because waiting for this command then time out.

Any suggestion or help will be appreciated. Thanks!

The following is the error message:

Remote error: ProcessExecutionError Unexpected error while running command. Command: sudo nova-rootwrap /etc/nova/rootwrap.conf iptables-restore -c Exit code: 1 Stdout: '' Stderr: 'iptables-restore: line 40 failed\n' [u'Traceback (most recent call last):\
File "/opt/stack/nova/nova/compute/", line 290, in decorated_function return function(self, context, *args, **kwargs) File "/opt/stack/nova/nova/compute/", line 2108, in run_instance do_run_instance() File "/opt/stack/nova/nova/openstack/common/", line 249, in inner return f(*args, **kwargs) File "/opt/stack/nova/nova/compute/", line 2107, in do_run_instance legacy_bdm_in_spec) File "/opt/stack/nova/nova/compute/", line 1240, in _run_instance notify("error", fault=e) # notify that build failed File "/opt/stack/nova/nova/openstack/common/", line 82, in __exit__ six.reraise(self.type_, self.value, self.tb) File "/opt/stack/nova/nova/compute/", line 1224, in _run_instance instance, image_meta, legacy_bdm_in_spec) File "/opt/stack/nova/nova/compute/", line 1388, in _build_instance filter_properties, bdms, legacy_bdm_in_spec) File "/opt/stack/nova/nova/compute/", line 1434, in _reschedule_or_error self._log_original_error(exc_info, instance_uuid) File "/opt/stack/nova/nova/openstack/common/", line 82, in __exit__ six.reraise(self.type_, self.value, self.tb) File "/opt/stack/nova/nova/compute/", line 1429, in _reschedule_or_error bdms, requested_networks) File "/opt/stack/nova/nova/compute/", line 2160, in _shutdown_instance self._try_deallocate_network(context, instance, requested_networks) File "/opt/stack/nova/nova/compute/", line 2119, in _try_deallocate_network self._set_instance_error_state(context, instance['uuid']) File "/opt/stack/nova/nova/openstack/common/", line 82, in __exit__ six.reraise(self.type_, self.value, self.tb) File "/opt/stack/nova/nova/compute/", line 2114, in _try_deallocate_network self._deallocate_network(context, instance, requested_networks) File "/opt/stack/nova/nova/compute/", line 1808, in _deallocate_network context, instance, requested_networks=requested_networks) File "/opt/stack/nova/nova/network/", line 43, in wrapped return func(self, context, *args, **kwargs) File "/opt/stack/nova/nova/network/", line 266, in deallocate_for_instance requested_networks=requested_networks) File "/opt/stack/nova/nova/network/", line 190, in deallocate_for_instance return, 'deallocate_for_instance', **kwargs) File "/opt/stack/oslo.messaging/oslo/messaging/rpc/", line 361, in call return self.prepare().call(ctxt, method, **kwargs) File "/opt/stack/oslo.messaging/oslo/messaging/rpc/", line 150, in call wait_for_reply=True, timeout=timeout ...
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2014-05-19 23:08:50 -0600

SGPJ gravatar image

Can you try to launch from CLI using nova boot cmd and also check all nova services are running along with neutron.

edit flag offensive delete link more


Thanks for your response. I use nova-net instead of neutron. Does it affect the execution result?

gavingo15 gravatar imagegavingo15 ( 2014-05-21 05:34:43 -0600 )edit

answered 2016-01-26 03:38:29 -0600

Bertrand gravatar image

how did you fixed this case? I am suffering with it now, any suggestions?

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-05-19 20:31:41 -0600

Seen: 695 times

Last updated: Jan 26 '16