Ask Your Question
0

Launching Instance failed [closed]

asked 2013-12-05 07:45:16 -0500

anonymous user

Anonymous

http://docs.openstack.org/havana/install-guide/install/apt/content/

I followed this documentation to install on a single node.

It's successful to lanuch instance and it's work.

I add a new compute node on the other machine and its failures.

I just install nova-compute and nova-network on the new node.

When launch the instance , there is an error on the new node.

2013-12-05 21:20:31.344 3980 INFO nova.openstack.common.rpc.common [-] Connected to AMQP server on controller:5672

2013-12-05 21:20:31.425 3980 ERROR nova.compute.manager [-] Instance failed network setup after 1 attempt(s)

2013-12-05 21:20:31.425 3980 TRACE nova.compute.manager Traceback (most recent call last):

2013-12-05 21:20:31.425 3980 TRACE nova.compute.manager File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1228, in _allocate_network_async

2013-12-05 21:20:31.425 3980 TRACE nova.compute.manager dhcp_options=dhcp_options)

2013-12-05 21:20:31.425 3980 TRACE nova.compute.manager File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 93, in wrapped

2013-12-05 21:20:31.425 3980 TRACE nova.compute.manager return func(self, context, args, *kwargs)

2013-12-05 21:20:31.425 3980 TRACE nova.compute.manager File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 49, in wrapper

2013-12-05 21:20:31.425 3980 TRACE nova.compute.manager res = f(self, context, args, *kwargs)

2013-12-05 21:20:31.425 3980 TRACE nova.compute.manager File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 300, in allocate_for_instance

2013-12-05 21:20:31.425 3980 TRACE nova.compute.manager nw_info = self.network_rpcapi.allocate_for_instance(context, **args)

2013-12-05 21:20:31.425 3980 TRACE nova.compute.manager File "/usr/lib/python2.7/dist-packages/nova/network/rpcapi.py", line 184, in allocate_for_instance

2013-12-05 21:20:31.425 3980 TRACE nova.compute.manager macs=jsonutils.to_primitive(macs))

2013-12-05 21:20:31.425 3980 TRACE nova.compute.manager File "/usr/lib/python2.7/dist-packages/nova/rpcclient.py", line 85, in call

2013-12-05 21:20:31.425 3980 TRACE nova.compute.manager return self._invoke(self.proxy.call, ctxt, method, **kwargs)

2013-12-05 21:20:31.425 3980 TRACE nova.compute.manager File "/usr/lib/python2.7/dist-packages/nova/rpcclient.py", line 63, in _invoke

2013-12-05 21:20:31.425 3980 TRACE nova.compute.manager return cast_or_call(ctxt, msg, **self.kwargs)

2013-12-05 21:20:31.425 3980 TRACE nova.compute.manager File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/proxy.py", line 126, in call

2013-12-05 21:20:31.425 3980 TRACE nova.compute.manager result = rpc.call(context, real_topic, msg, timeout)

2013-12-05 21:20:31.425 3980 TRACE nova.compute.manager File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/__init__.py", line 139, in call

2013-12-05 21:20:31.425 3980 TRACE nova.compute.manager return _get_impl().call(CONF, context, topic, msg, timeout)

2013-12-05 21:20:31.425 3980 TRACE nova.compute.manager File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_kombu.py ... (more)

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by dheeru
close date 2013-12-13 04:36:39.507104

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-12-05 08:38:14 -0500

dheeru gravatar image

updated 2013-12-13 04:36:25 -0500

I have posted article on how to troubleshoot this kind of issue. Please look at the following link. It may help. If you still have problem, do let me know. I can help you to troubleshoot.

http://virtual2privatecloud.com/troubleshooting-openstack-nova/

Summary : Issue was nova sql table was empty. After re-creating it is working fine.

edit flag offensive delete link more

Comments

How is it going ? Were you able to solve the issue ? Do you need any help ? Do let me know if you need help. Please update us. It helps the community as well.

dheeru gravatar imagedheeru ( 2013-12-06 22:44:23 -0500 )edit

I run nova console-log <uuid> this command will get HTTP404 Error, and instance stop at spanwing state. If I stop node1 and use a single node, nova console-log get nothing, and instance start successful. I think is the networking problem and I'm not sure node1's networking configuration is correct.

Getter gravatar imageGetter ( 2013-12-08 21:35:43 -0500 )edit

HI, I found my nova table in mysql is empty, after I fixed that, everything is worked, thanks your help

Getter gravatar imageGetter ( 2013-12-09 03:18:13 -0500 )edit

Hi Getter, How you are able to solve the empty mysql tables issue because i am facing same problem. Can you please share the fix?

nikil gravatar imagenikil ( 2014-02-25 12:02:07 -0500 )edit

Provided link works no more. http://virtual2privatecloud.com/troubleshooting-openstack-nova/ (http://virtual2privatecloud.com/troub...)

I am having the same problem. Below is the error I am seeing from Nova logs

ERROR nova.compute.manager [-] Instance failed network setup after 1 attempt(s)

Can you please help me?

kranthi.guttikonda9@gmail.com gravatar imagekranthi.guttikonda9@gmail.com ( 2015-11-11 17:57:04 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2013-12-05 07:45:16 -0500

Seen: 2,941 times

Last updated: Dec 13 '13