Ask Your Question
0

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

Message
    Timed out waiting for a reply to message ID 7995a96a53fb4ca59c9c8466d7706cb6
Code
    500
Details
    File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 290, in decorated_function return function(self, context, *args, **kwargs) File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2102, in run_instance do_run_instance() File "/usr/lib/python2.7/site-packages/nova/openstack/common/lockutils.py", line 249, in inner return f(*args, **kwargs) File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2101, in do_run_instance legacy_bdm_in_spec) File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1225, in _run_instance notify("error", fault=e) # notify that build failed File "/usr/lib/python2.7/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__ six.reraise(self.type_, self.value, self.tb) File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1209, in _run_instance instance, image_meta, legacy_bdm_in_spec) File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1373, in _build_instance filter_properties, bdms, legacy_bdm_in_spec) File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1419, in _reschedule_or_error self._log_original_error(exc_info, instance_uuid) File "/usr/lib/python2.7/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__ six.reraise(self.type_, self.value, self.tb) File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1414, in _reschedule_or_error bdms, requested_networks) File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2149, in _shutdown_instance self._try_deallocate_network(context, instance, requested_networks) File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2113, in _try_deallocate_network self._set_instance_error_state(context, instance['uuid']) File "/usr/lib/python2.7/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__ six.reraise(self.type_, self.value, self.tb) File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2108, in _try_deallocate_network self._deallocate_network(context, instance, requested_networks) File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1793, in _deallocate_network context, instance, requested_networks=requested_networks) File "/usr/lib/python2.7/site-packages/nova/network/api.py", line 95, in wrapped return func(self, context, *args, **kwargs) File "/usr/lib/python2.7/site-packages/nova/network/api.py", line 319, in deallocate_for_instance requested_networks=requested_networks) File "/usr/lib/python2.7/site-packages/nova/network/rpcapi.py", line 190, in deallocate_for_instance return cctxt.call(ctxt, 'deallocate_for_instance', **kwargs) File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/client.py", line 150, in call wait_for_reply=True, timeout=timeout) File "/usr/lib/python2.7/site-packages/oslo/messaging/transport.py", line 90, in _send timeout=timeout) File "/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/amqpdriver.py", 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 ...
(more)
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
0

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
0

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

Stats

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

Seen: 380 times

Last updated: Sep 18 '14