I am currently on OpenStack Mitaka with Nova Compute Hyper-V Driver Installed. and i also own my own hyperv hypervisor
I distributed OpenStack Mitaka with Packstack on CentOS 7
I have a problem creating an instance with the use of the Hypervisor, as soon as I try to create an instance this error appears in the log, and I can't figure out how to fix it
i tried to enter the correct password of Neutron, and every time i launch an instance it appears written to me:
Unauthorized: The request you have made requires authentication. (HTTP 401) (Request ID: req-2aaeeefc-8972-4c6f-aeba-3226bad9a27b)
I installed the Hyper-V driver from the MSI in the link
https://cloudbase.it/downloads/HyperVNovaComputeMitaka1300.msi
Here is the log:
2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] Traceback (most recent call last): 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\nova\compute\manager.py", line 2218, in buildresources 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] yield resources 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\nova\compute\manager.py", line 2064, in buildandruninstance 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] blockdeviceinfo=blockdeviceinfo) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\nova\driver.py", line 54, in wrapper 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] return function(args, *kwargs) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\nova\driver.py", line 153, in spawn 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] adminpassword, networkinfo, blockdeviceinfo) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\nova\vmops.py", line 125, in wrapper 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] return function(self, args, *kwds) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\nova\vmops.py", line 325, in spawn 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] self.destroy(instance) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\osloutils\excutils.py", line 220, in exit 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] self.forcereraise() 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\osloutils\excutils.py", line 196, in forcereraise 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] six.reraise(self.type, self.value, self.tb) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\nova\vmops.py", line 309, in spawn 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] with self.waitvifplugevents(instance, networkinfo): 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\contextlib.py", line 17, in enter 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] return self.gen.next() 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\nova\vmops.py", line 331, in waitvifplugevents 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] events = self.getneutronevents(networkinfo) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\nova\vmops.py", line 360, in getneutronevents 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] for vif in networkinfo if vif.get('active') is False] 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\nova\network\model.py", line 513, in iter 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] return self.syncwrapper(fn, args, *kwargs) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\nova\network\model.py", line 504, in syncwrapper 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] self.wait() 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\nova\network\model.py", line 536, in wait 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] self[:] = self.gt.wait() 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\eventlet\greenthread.py", line 175, in wait 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] return self.exitevent.wait() 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\eventlet\event.py", line 125, in wait 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] current.throw(*self.exc) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\eventlet\greenthread.py", line 214, in main 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] result = function(args, *kwargs) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\nova\utils.py", line 1145, in contextwrapper 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] return func(*args, **kwargs) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\nova\compute\manager.py", line 1587, in _allocatenetworkasync 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] six.reraise(*excinfo) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\nova\compute\manager.py", line 1570, in allocatenetworkasync 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] bindhostid=bindhostid) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\nova\network\neutronv2\api.py", line 666, in allocateforinstance 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] self.deleteports(neutron, instance, createdportids) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\osloutils\excutils.py", line 220, in exit 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] self.forcereraise() 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\osloutils\excutils.py", line 196, in forcereraise 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] six.reraise(self.type, self.value, self.tb) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\nova\network\neutronv2\api.py", line 655, in allocateforinstance 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] securitygroupids, availablemacs, dhcpopts) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\nova\network\neutronv2\api.py", line 254, in createport 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] port = portclient.createport(portreqbody) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutronclient\v20\client.py", line 626, in createport 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] return self.post(self.portspath, body=body) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutronclient\v20\client.py", line 347, in post 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] headers=headers, params=params) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutronclient\v20\client.py", line 270, in dorequest 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] resp, replybody = self.httpclient.dorequest(action, method, body=body) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutronclient\client.py", line 306, in dorequest 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] return self.request(url, method, *kwargs) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutronclient\client.py", line 294, in request 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] resp = super(SessionClient, self).request(args, *kwargs) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\keystoneauth1\adapter.py", line 98, in request 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] return self.session.request(url, method, *kwargs) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\wrapt\wrappers.py", line 561, in call 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] args, kwargs) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\positional_init.py", line 101, in inner 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] return wrapped(*args, **kwargs) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\keystoneauth1\session.py", line 371, in request 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] authheaders = self.getauthheaders(auth) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\keystoneauth1\session.py", line 625, in getauthheaders 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] return auth.getheaders(self, **kwargs) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\keystoneauth1\plugin.py", line 90, in getheaders 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] token = self.gettoken(session) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\keystoneauth1\identity\base.py", line 89, in gettoken 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] return self.getaccess(session).authtoken 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\keystoneauth1\identity\base.py", line 135, in getaccess 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] self.authref = self.getauthref(session) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\keystoneauth1\identity\v3\base.py", line 167, in getauthref 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] authenticated=False, log=False, *rkwargs) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\keystoneauth1\session.py", line 573, in post 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] return self.request(url, 'POST', *kwargs) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\wrapt\wrappers.py", line 561, in _call 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] args, kwargs) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\positional_init_.py", line 101, in inner 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] return wrapped(*args, **kwargs) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\keystoneauth1\session.py", line 468, in request 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] raise exceptions.fromresponse(resp, method, url) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303] Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-2aaeeefc-8972-4c6f-aeba-3226bad9a27b) 2023-04-05 17:07:48.910 3556 ERROR nova.compute.manager [instance: 9c188431-61fe-4780-833a-5b34ac411303]