Ask Your Question
0

Instance failed network setup

asked 2013-05-15 15:28:33 -0500

colo90 gravatar image

Hi All, i have a Openstack Grizzly installation with Ubuntu 12.04 and cloud archive packages update to the last version Recently i get an error when i'm try to launch new instances. The instance stop on state "networking", this is the nova-compute log :

2013-05-15 16:26:17.711 5588 DEBUG nova.openstack.common.rpc.amqp [-] MSG_ID is 939e148bea1644498babdfcd55759034 multicall /usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py:586 2013-05-15 16:26:17.711 5588 DEBUG nova.openstack.common.rpc.amqp [-] UNIQUE_ID is ce3b99d23c0f4155a710765bfad2dd5a. _add_unique_id /usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py:337 2013-05-15 16:26:22.921 DEBUG nova.openstack.common.rpc.common [req-cab25ef2-a3c6-465b-8c0d-d7f8519bf82f 20b301de7d514d808403a3c1c597eecb b7929874d1fb4ebfacb14a16aa141cd2] Timed out waiting for RPC response: timed out _error_callback /usr/lib/python2.7/dist-packages/nov a/openstack/common/rpc/impl_kombu.py:628 2013-05-15 16:26:22.927 ERROR nova.compute.manager [req-cab25ef2-a3c6-465b-8c0d-d7f8519bf82f 20b301de7d514d808403a3c1c597eecb b7929874d1fb4ebfacb14a16aa141cd2] [instance: aa8a9b0b-b2da-4c00-a9c5-bb4e96d87298] Instance failed network setup 2013-05-15 16:26:22.927 5588 TRACE nova.compute.manager [instance: aa8a9b0b-b2da-4c00-a9c5-bb4e96d87298] Traceback (most recent call last): 2013-05-15 16:26:22.927 5588 TRACE nova.compute.manager [instance: aa8a9b0b-b2da-4c00-a9c5-bb4e96d87298] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1057, in _allocate_network 2013-05-15 16:26:22.927 5588 TRACE nova.compute.manager [instance: aa8a9b0b-b2da-4c00-a9c5-bb4e96d87298] security_groups=security_groups) 2013-05-15 16:26:22.927 5588 TRACE nova.compute.manager [instance: aa8a9b0b-b2da-4c00-a9c5-bb4e96d87298] File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 89, in wrapped 2013-05-15 16:26:22.927 5588 TRACE nova.compute.manager [instance: aa8a9b0b-b2da-4c00-a9c5-bb4e96d87298] return func(self, context, args, *kwargs) 2013-05-15 16:26:22.927 5588 TRACE nova.compute.manager [instance: aa8a9b0b-b2da-4c00-a9c5-bb4e96d87298] File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 46, in wrapper 2013-05-15 16:26:22.927 5588 TRACE nova.compute.manager [instance: aa8a9b0b-b2da-4c00-a9c5-bb4e96d87298] res = f(self, context, args, *kwargs) 2013-05-15 16:26:22.927 5588 TRACE nova.compute.manager [instance: aa8a9b0b-b2da-4c00-a9c5-bb4e96d87298] File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 270, in allocate_for_instance 2013-05-15 16:26:22.927 5588 TRACE nova.compute.manager [instance: aa8a9b0b-b2da-4c00-a9c5-bb4e96d87298] nw_info = self.network_rpcapi.allocate_for_instance(context, **args) 2013-05-15 16:26:22.927 5588 TRACE nova.compute.manager [instance: aa8a9b0b-b2da-4c00-a9c5-bb4e96d87298] File "/usr/lib/python2.7/dist-packages/nova/network/rpcapi.py", line 171, in allocate_for_instance 2013-05-15 16:26:22.927 5588 TRACE nova.compute.manager [instance: aa8a9b0b-b2da-4c00-a9c5-bb4e96d87298] topic=topic, version='1.9') 2013-05-15 16:26:22.927 5588 TRACE nova.compute.manager [instance: aa8a9b0b-b2da-4c00-a9c5-bb4e96d87298] File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/proxy.py", line 80, in call 2013-05-15 16:26:22.927 5588 TRACE nova.compute.manager [instance: aa8a9b0b-b2da-4c00-a9c5-bb4e96d87298] return rpc.call(context, self._get_topic(topic), msg, timeout) 2013-05-15 16:26:22.927 5588 TRACE nova.compute.manager [instance: aa8a9b0b-b2da-4c00-a9c5-bb4e96d87298] File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/__init__.py", line 140, in call 2013-05-15 16:26:22.927 5588 TRACE nova.compute.manager [instance: aa8a9b0b-b2da-4c00-a9c5-bb4e96d87298] return _get_impl().call(CONF, context, topic, msg, timeout) 2013-05-15 16:26:22.927 5588 TRACE nova.compute.manager [instance: aa8a9b0b-b2da-4c00-a9c5-bb4e96d87298] File "/usr/lib/python2 ... (more)

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2013-05-16 10:18:16 -0500

colo90 gravatar image

Thanks yong sheng gong, that solved my question.

edit flag offensive delete link more
0

answered 2013-05-16 00:31:13 -0500

gongysh gravatar image

it seems that you are using nova-network network API in nova compute: 2013-05-15 16:26:22.927 5588 TRACE nova.compute.manager [instance: aa8a9b0b-b2da-4c00-a9c5-bb4e96d87298] File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 270, in allocate_for_instance 2013-05-15 16:26:22.927 5588 TRACE nova.compute.manager [instance: aa8a9b0b-b2da-4c00-a9c5-bb4e96d87298] nw_info = self.network_rpcapi.allocate_for_instance(context, **args) 2013-05-15 16:26:22.927 5588 TRACE nova.compute.manager [instance: aa8a9b0b-b2da-4c00-a9c5-bb4e96d87298] File "/usr/lib/python2.7/dist-packages/nova/network/rpcapi.py", line 171, in allocate_for_instance

you should print out the configuration item values which is printed when nova compute starts with debug= true in nova.conf

edit flag offensive delete link more
0

answered 2013-05-16 10:19:28 -0500

colo90 gravatar image

Thanks for support, i found the problem. Seems that nova ignore part of my nova.conf, precisely after this line "[keystone_authtoken]". After "[keystone_authtoken]" there was my quantum config option. I moved all quantum configuration before this line. Now all works fine.

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: 2013-05-15 15:28:33 -0500

Seen: 50 times

Last updated: May 16 '13