Comment 2 for bug 1761487

Revision history for this message
Matt Riedemann (mriedem) wrote : Re: Nova, Unexpected API Error while creating VM

You don't have the [neutron] user credentials section of nova.conf configured:

2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi [req-70a6cb07-72d9-41f3-80aa-ae6c230c62da 04d3da9cc34a42dcbae24a380d04bffd fc6d09cb92104842b7e7f843a953fec8 - default default] Unexpected exception in API method: Unauthorized: Unknown auth type: None
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi Traceback (most recent call last):
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 788, in wrapped
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi return f(*args, **kwargs)
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 108, in wrapper
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi return func(*args, **kwargs)
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 108, in wrapper
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi return func(*args, **kwargs)
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 108, in wrapper
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi return func(*args, **kwargs)
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 108, in wrapper
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi return func(*args, **kwargs)
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 108, in wrapper
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi return func(*args, **kwargs)
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 108, in wrapper
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi return func(*args, **kwargs)
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 108, in wrapper
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi return func(*args, **kwargs)
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 108, in wrapper
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi return func(*args, **kwargs)
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/servers.py", line 553, in create
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi **create_kwargs)
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/dist-packages/nova/hooks.py", line 154, in inner
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi rv = f(*args, **kwargs)
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1639, in create
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi tags=tags, supports_multiattach=supports_multiattach)
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1086, in _create_instance
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi reservation_id, max_count)
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 830, in _validate_and_build_base_options
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi pci_request_info, requested_networks)
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 1566, in create_pci_requests_for_sriov_ports
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi neutron = get_client(context, admin=True)
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 153, in get_client
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi _ADMIN_AUTH = _load_auth_plugin(CONF)
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 76, in _load_auth_plugin
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi raise neutron_client_exc.Unauthorized(message=err_msg)
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi Unauthorized: Unknown auth type: None
2018-04-05 11:27:05.821 4205 ERROR nova.api.openstack.wsgi