Ask Your Question
1

nova_compute.log - Compute Node - Message Timeout when creating networking for new instance

asked 2015-08-10 11:51:56 -0500

rcs123 gravatar image

updated 2015-08-11 03:23:17 -0500

I'm trying to get KILO working and have followed the instructions at http://docs.openstack.org/kilo/install-guide/install/yum/content/ch_overview.html (http://docs.openstack.org/kilo/instal...)

I've a three node setup and have been able to verify the configuration according to the install instructions and have attempted to setup neutron networking rather than nova networking.

When it comes to launching an instance with the following command

nova boot --flavor m1.tiny --image cirros-0.3.4-x86_64 --nic net-id=3b017a7e-0e90-4b09-952d-ba6d8b164f2a --security-group default --key-name demo-key demo-instance1

It fails and remains in the following state.

+--------------------------------------+----------------+--------+------------+-------------+----------+
| ID                                   | Name           | Status | Task State | Power State | Networks |
+--------------------------------------+----------------+--------+------------+-------------+----------+
| 225609ff-c600-42ea-9cfe-fd1d41713e72 | demo-instance1 | ERROR  | spawning   | NOSTATE     |          |
| 2cd55483-3951-4bea-8c07-506dfefb3fee | demo-instance1 | ERROR  | spawning   | NOSTATE     |          |
| 2ea3bf33-32ed-44fb-a162-213e2b3f1602 | demo-instance1 | ERROR  | spawning   | NOSTATE     |          |
| 63f9c7db-b85d-4399-b8ce-52fdce06080a | demo-instance1 | ERROR  | spawning   | NOSTATE     |          |
| 64a30f6a-d5db-490d-ae90-7e81d1d6b6bf | demo-instance1 | ERROR  | spawning   | NOSTATE     |          |
| 7bb9d34c-66f2-443c-a5da-986ea7e89fbd | demo-instance1 | ERROR  | -          | NOSTATE     |          |
| 80ec5331-fc60-46f4-8f97-08c06142dff8 | demo-instance1 | ERROR  | spawning   | NOSTATE     |          |
| a46e771f-422b-4c40-8a14-5bd45e4b0da6 | demo-instance1 | ERROR  | -          | NOSTATE     |          |
| cbca6c9d-f9d1-4ed7-a14d-9baa68d9eb7c | demo-instance1 | ERROR  | spawning   | NOSTATE     |          |
+--------------------------------------+----------------+--------+------------+-------------+----------+

I've turned on lots of debug and see the following on the compute node indicating some timeout related to the network setup.

2015-08-10 09:04:51.658 1302 ERROR nova.compute.manager [-] Instance failed network setup after 1 attempt(s)
2015-08-10 09:04:51.658 1302 TRACE nova.compute.manager Traceback (most recent call last):
2015-08-10 09:04:51.658 1302 TRACE nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1770, in _allocate_network_async
2015-08-10 09:04:51.658 1302 TRACE nova.compute.manager     dhcp_options=dhcp_options)
2015-08-10 09:04:51.658 1302 TRACE nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/network/api.py", line 49, in wrapped
2015-08-10 09:04:51.658 1302 TRACE nova.compute.manager     return func(self, context, *args, **kwargs)
2015-08-10 09:04:51.658 1302 TRACE nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/network/base_api.py", line 64, in wrapper
2015-08-10 09:04:51.658 1302 TRACE nova.compute.manager     res = f(self, context, *args, **kwargs)
2015-08-10 09:04:51.658 1302 TRACE nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/network/api.py", line 281, in allocate_for_instance
2015-08-10 09:04:51.658 1302 TRACE nova.compute.manager     nw_info = self.network_rpcapi.allocate_for_instance(context, **args)
2015-08-10 09:04:51.658 1302 TRACE nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/network/rpcapi.py", line 152, in allocate_for_instance
2015-08-10 09:04:51.658 1302 TRACE nova.compute.manager     macs=jsonutils.to_primitive(macs))
2015-08-10 09:04:51.658 1302 TRACE nova.compute.manager   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 156, in call
2015-08-10 09:04:51.658 1302 TRACE nova.compute.manager     retry=self.retry)
2015-08-10 09:04:51.658 1302 TRACE nova.compute.manager   File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 90, in _send
2015-08-10 09:04:51.658 1302 TRACE nova.compute.manager     timeout=timeout, retry=retry)
2015-08-10 09:04:51.658 1302 TRACE nova.compute.manager   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 350, in send
2015-08-10 09:04:51.658 ...
(more)
edit retag flag offensive close merge delete

Comments

How are neutron and nova services? Check neutron agent-list and nova service-list Nova errors usually comes from neutron

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2015-08-10 14:45:01 -0500 )edit

Hi Eduardo,

Thanks for the reply. I've checked the services and agents, and they are all up and working ok.

Thanks Richard

rcs123 gravatar imagercs123 ( 2015-08-11 03:24:34 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-08-11 04:23:08 -0500

rcs123 gravatar image

I've gone through all the settings and configuration files again.

I made some changes, fixing some errors - I had managed to put some of the Neutron Networking setup sections in the wrong sections (oslo_messaging_rabbit) rather than the default section.

In essence it was typos and errors on my part.

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: 2015-08-10 11:51:56 -0500

Seen: 640 times

Last updated: Aug 11 '15