Ask Your Question

cannout boot instance [closed]

asked 2014-09-18 02:59:07 -0500

sowrdking gravatar image

Hi All,

My environment is CentOS 7 and use nova network type. I want to launch an instance but keep failing.

My Command nova boot --flavor m1.tiny --image cirros-0.3.2-x86_64 --nic net-id=383612dd-59ce-4fd4-9083-edfa4d06c29f --key-name demo-key admin-instance0

[root@controller instances]# nova list
| ID                                   | Name            | Status | Task State | Power State | Networks |
| 768b36af-7654-4b86-9ddd-f868adf41829 | admin-instance0 | ERROR  | -          | NOSTATE     |          |

Error log in dashboard

    Timed out waiting for a reply to message ID 7995a96a53fb4ca59c9c8466d7706cb6
    File "/usr/lib/python2.7/site-packages/nova/compute/", line 290, in decorated_function return function(self, context, *args, **kwargs) File "/usr/lib/python2.7/site-packages/nova/compute/", line 2102, in run_instance do_run_instance() File "/usr/lib/python2.7/site-packages/nova/openstack/common/", line 249, in inner return f(*args, **kwargs) File "/usr/lib/python2.7/site-packages/nova/compute/", line 2101, in do_run_instance legacy_bdm_in_spec) File "/usr/lib/python2.7/site-packages/nova/compute/", line 1225, in _run_instance notify("error", fault=e) # notify that build failed File "/usr/lib/python2.7/site-packages/nova/openstack/common/", line 68, in __exit__ six.reraise(self.type_, self.value, self.tb) File "/usr/lib/python2.7/site-packages/nova/compute/", line 1209, in _run_instance instance, image_meta, legacy_bdm_in_spec) File "/usr/lib/python2.7/site-packages/nova/compute/", line 1373, in _build_instance filter_properties, bdms, legacy_bdm_in_spec) File "/usr/lib/python2.7/site-packages/nova/compute/", line 1419, in _reschedule_or_error self._log_original_error(exc_info, instance_uuid) File "/usr/lib/python2.7/site-packages/nova/openstack/common/", line 68, in __exit__ six.reraise(self.type_, self.value, self.tb) File "/usr/lib/python2.7/site-packages/nova/compute/", line 1414, in _reschedule_or_error bdms, requested_networks) File "/usr/lib/python2.7/site-packages/nova/compute/", line 2149, in _shutdown_instance self._try_deallocate_network(context, instance, requested_networks) File "/usr/lib/python2.7/site-packages/nova/compute/", line 2113, in _try_deallocate_network self._set_instance_error_state(context, instance['uuid']) File "/usr/lib/python2.7/site-packages/nova/openstack/common/", line 68, in __exit__ six.reraise(self.type_, self.value, self.tb) File "/usr/lib/python2.7/site-packages/nova/compute/", line 2108, in _try_deallocate_network self._deallocate_network(context, instance, requested_networks) File "/usr/lib/python2.7/site-packages/nova/compute/", line 1793, in _deallocate_network context, instance, requested_networks=requested_networks) File "/usr/lib/python2.7/site-packages/nova/network/", line 95, in wrapped return func(self, context, *args, **kwargs) File "/usr/lib/python2.7/site-packages/nova/network/", line 319, in deallocate_for_instance requested_networks=requested_networks) File "/usr/lib/python2.7/site-packages/nova/network/", line 190, in deallocate_for_instance return, 'deallocate_for_instance', **kwargs) File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/", line 150, in call wait_for_reply=True, timeout=timeout) File "/usr/lib/python2.7/site-packages/oslo/messaging/", line 90, in _send timeout=timeout) File "/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/", line 412, in send return self._send(target, ctxt, message, wait_for_reply, timeout) File "/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/amqpdriver ...
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by sowrdking
close date 2014-09-18 20:32:20.025886

2 answers

Sort by ยป oldest newest most voted

answered 2014-09-18 03:48:13 -0500

sushma-korati gravatar image

Seems like AMQP related issue, can you check if compute and amqp services are running?

edit flag offensive delete link more

answered 2014-09-18 20:31:12 -0500

sowrdking gravatar image

Thanks sushma.

I found out that my compute IP is conflict other system, so I changed the IP and it will not reply error state. It's task state stay on spawning and no error log, but this is another issue. I will find if there are same topic or open a new issue. Thanks.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2014-09-18 02:59:07 -0500

Seen: 454 times

Last updated: Sep 18 '14