Ask Your Question
0

instance launch failure on hyperv

asked 2015-03-26 14:31:01 -0500

saleen1989 gravatar image

Unable to launch Windows 7 vhd instance on Windows 2012 Server hyper-v compute node. Management stack is running on Centos 7 host. Appears to be a keystone authorization issue of some sort. What is causing this issue?

Error: Neutron error creating port on network Unauthorized: {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}} ERROR nova.compute.manager [-] Instance failed network setup after 1 attempt(s)

ERROR nova.network.neutronv2.api [-] [instance: d97a127e-cb12-423e-9c1b-d468e860fc2a] Neutron error creating port on network 7f64910a-7b91-47c8-a3a9-a4f5d2f92e89
TRACE nova.network.neutronv2.api [instance: d97a127e-cb12-423e-9c1b-d468e860fc2a] Traceback (most recent call last):
TRACE nova.network.neutronv2.api [instance: d97a127e-cb12-423e-9c1b-d468e860fc2a]   File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\nova\network\neutronv2\api.py", line 214, in _create_port
...
_authenticate_keystone
TRACE nova.network.neutronv2.api [instance: d97a127e-cb12-423e-9c1b-d468e860fc2a]     allow_redirects=True)
2015-03-26 10:27:58.117 760 TRACE nova.network.neutronv2.api [instance: d97a127e-cb12-423e-9c1b-d468e860fc2a]   File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutronclient\client.py", line 136, in _cs_request
TRACE nova.network.neutronv2.api [instance: d97a127e-cb12-423e-9c1b-d468e860fc2a]     raise exceptions.Unauthorized(message=body)
TRACE nova.network.neutronv2.api [instance: d97a127e-cb12-423e-9c1b-d468e860fc2a] Unauthorized: {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}
TRACE nova.network.neutronv2.api [instance: d97a127e-cb12-423e-9c1b-d468e860fc2a] 
ERROR nova.compute.manager [-] Instance failed network setup after 1 attempt(s)
nova-conductor.log:2015-03-26 13:08:41.012 15117 ERROR nova.scheduler.utils [req-b7cbd4a8-bfb7-469a-90d7-8f4b061e2df1 None] [instance: c5d893be-2cbd-4867-b31c-fe983c30b4ee] Error from last host: HYPERV2012MS (node HYPERV2012MS): [u'Traceback (most recent call last):\n', u'  File "C:\\Program Files (x86)\\Cloudbase Solutions\\OpenStack\\Nova\\Python27\\lib\\site-packages\\nova\\compute\\manager.py", line 2030, in _do_build_and_run_instance\n    filter_properties)\n', u'  File "C:\\Program Files (x86)\\Cloudbase Solutions\\OpenStack\\Nova\\Python27\\lib\\site-packages\\nova\\compute\\manager.py", line 2161, in _build_and_run_instance\n    instance_uuid=instance.uuid, reason=six.text_type(e))\n', u'RescheduledException: Build of instance c5d893be-2cbd-4867-b31c-fe983c30b4ee was re-scheduled: {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}\n']

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-03-26 14:33:43 -0500

saleen1989 gravatar image

Windows install of nova compute node has typo in the neutron config file. Modify the admin_tenant_name from service to services.

C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\etc\neutron\neutron.conf

[keystone_authtoken]
admin_tenant_name = services
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-03-26 14:31:01 -0500

Seen: 680 times

Last updated: Mar 26 '15