nova launch instance fails with "Unknown auth type: None"

asked 2017-10-16 11:56:07 -0500

Markvr4 gravatar image

I'm creating an "all-in-one" from scratch (not using Packstack), and when I try to launch the cirros demo image, it fails with "Unauthorized: Unknown auth type: None" in the nova-compute.log. I've installed keystone, glance, nova, neutron, horizon, and cinder following the install guide, all of them passing the "Verify" step.

The error occurs in _load_auth_plugin in /usr/lib/python2.7/site-packages/nova/network/neutronv2/, because presumably it can't find the auth_type entry in the [neutron] section of nova.conf. I triple checked the entries, usernames, passwords, and all are correct as far as I can tell. Below is the [neutron] section from nova.conf. The excerpt from the nova-compute.log is also below.

Here is a similar question with no answers: /en/question/98763/openstack-server-createunexpected-api-error/

Any ideas? Please let me know what other information I can provide to help.

Thanks, Mark

From nova.conf:

url = http://control1:9696
auth_url = http://control1:35357
auth_type = password
project_domain_name = default
user_domain_name = default
region_name = RegionOne
project_name = service
username = neutron
password = ********
service_metadata_proxy = true
metadata_proxy_shared_secret = ********

From nova-compute.log:

   ERROR nova.compute.manager [req-3068ccda-37f4-4520-85b1-5e752a31c5bc 5c9883899b9e491ca505916f44a329e8 025cbda3d08f4ae0a00a96ae4c66a2e1 - default default] Instance failed network setup after 1 attempt(s): Unauthorized: Unknown auth type: None
    ERROR nova.compute.manager Traceback (most recent call last):
    ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/", line 1388, in _allocate_network_async
    ERROR nova.compute.manager     bind_host_id=bind_host_id)
    ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/", line 869, in allocate_for_instance
    ERROR nova.compute.manager     admin_client = get_client(context, admin=True)
    ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/", line 138, in get_client
    ERROR nova.compute.manager     _ADMIN_AUTH = _load_auth_plugin(CONF)
    ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/", line 74, in _load_auth_plugin
    ERROR nova.compute.manager     raise neutron_client_exc.Unauthorized(message=err_msg)
    ERROR nova.compute.manager Unauthorized: Unknown auth type: None
    ERROR nova.compute.manager
edit retag flag offensive close merge delete


Can you post what you have in /etc/neutron/neutron.conf? I suspect this has not yet been configured, as your compute service configuration file seems fine.

zerorobben gravatar imagezerorobben ( 2017-10-19 10:20:06 -0500 )edit