Ask Your Question
0

Windows Instance - Instance failed network setup after 1 attempt(s)”.

asked 2014-04-01 08:04:36 -0600

Nader gravatar image

Hi,

I have managed to get my Hyper-V instance configured using the CloudBase installer and it shows healthy in the openstack services list. I’m able to deploy VMs on it. The problem is that instance deployment fails with “Instance failed network setup after 1 attempt(s)”.

Checking the Hyper-V logs, I see that a VM is created, at the same time I spawn a new instance thru OpenStack, but it’s shortly deleted. I can also see that the VHD I used as a volume for the OpenStack Instance is copied to the Hyper-V server’s local storage.

The Hyper-V host is Windows Server 2012 R2, I’m using nova network (not neutron). The instance deployment fails exactly at the same place every time. Please find below the nova’s log.

2014-04-01 03:32:02.039 6760 ERROR nova.compute.manager [-] Instance failed network setup after 1 attempt(s) 2014-04-01 03:32:02.039 6760 TRACE nova.compute.manager Traceback (most recent call last): 2014-04-01 03:32:02.039 6760 TRACE nova.compute.manager File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\nova\compute\manager.py", line 1244, in _allocate_network_async 2014-04-01 03:32:02.039 6760 TRACE nova.compute.manager dhcp_options=dhcp_options) 2014-04-01 03:32:02.039 6760 TRACE nova.compute.manager File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\nova\network\api.py", line 94, in wrapped 2014-04-01 03:32:02.039 6760 TRACE nova.compute.manager return func(self, context, args, *kwargs) 2014-04-01 03:32:02.039 6760 TRACE nova.compute.manager File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\nova\network\api.py", line 49, in wrapper 2014-04-01 03:32:02.039 6760 TRACE nova.compute.manager res = f(self, context, args, *kwargs) 2014-04-01 03:32:02.039 6760 TRACE nova.compute.manager File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\nova\network\api.py", line 301, in allocate_for_instance 2014-04-01 03:32:02.039 6760 TRACE nova.compute.manager nw_info = self.network_rpcapi.allocate_for_instance(context, *args) 2014-04-01 03:32:02.039 6760 TRACE nova.compute.manager File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\nova\network\rpcapi.py", line 184, in allocate_for_instance 2014-04-01 03:32:02.039 6760 TRACE nova.compute.manager macs=jsonutils.to_primitive(macs)) 2014-04-01 03:32:02.039 6760 TRACE nova.compute.manager File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\nova\rpcclient.py", line 85, in call 2014-04-01 03:32:02.039 6760 TRACE nova.compute.manager return self._invoke(self.proxy.call, ctxt, method, *kwargs) 2014-04-01 03:32:02.039 6760 TRACE nova.compute.manager File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\nova\rpcclient.py", line 63, in _invoke 2014-04-01 03:32:02.039 6760 TRACE nova.compute.manager return cast_or_call(ctxt, msg, *self.kwargs) 2014-04-01 03:32:02.039 6760 TRACE nova.compute.manager File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack ... (more)

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2017-01-05 02:11:58 -0600

lohg001 gravatar image

Any update into this. I got a same problem

BR, Daniel

edit flag offensive delete link more

Comments

Hello,

Make sure you follow this how-to https://cloudbase.it/neutron-hyper-v-... Can you post the Hyper-V nova logs and the neutron hyper-v agent logs?

Thank you, Adrian Vladu

ader1990 gravatar imageader1990 ( 2017-03-20 14:56:20 -0600 )edit
0

answered 2014-04-01 09:13:48 -0600

alexpilotti gravatar image

Can you please post the log in paste.openstack.org? It's unfortunately very hard to read it formatted in the post.

Thanks,

Alessandro

edit flag offensive delete link more

Comments

Thanks - Here is it: http://paste.openstack.org/show/74755/

Nader gravatar imageNader ( 2014-04-01 09:43:07 -0600 )edit

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: 2014-04-01 08:04:36 -0600

Seen: 829 times

Last updated: Jan 05 '17