Ask Your Question
0

auth_plugins.MissingAuthPlugin exception in nova-compute

asked 2019-11-11 23:39:23 -0500

Limepage Alex gravatar image

Hi, I have been following the step-by-step installation guide of OpenStack train to setup OpenStack in a virtual environment. When I was installing Nova on a compute node (following https://docs.openstack.org/nova/train/install/compute-install-ubuntu.html (this guide)), I am getting the following error in /var/log/nova/nova-compute.log:

2019-11-12 05:07:46.476 17194 INFO os_vif [-] Loaded VIF plugins: linux_bridge, noop, ovs
2019-11-12 05:07:46.583 17194 CRITICAL nova [req-8204f135-a787-4b06-ae1f-77315d04d35c - - - - -] Unhandled error: keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin: An auth plugin is required to determine endpoint URL
2019-11-12 05:07:46.583 17194 ERROR nova Traceback (most recent call last):
2019-11-12 05:07:46.583 17194 ERROR nova   File "/usr/bin/nova-compute", line 10, in <module>
2019-11-12 05:07:46.583 17194 ERROR nova     sys.exit(main())
2019-11-12 05:07:46.583 17194 ERROR nova   File "/usr/lib/python3/dist-packages/nova/cmd/compute.py", line 57, in main
2019-11-12 05:07:46.583 17194 ERROR nova     topic=compute_rpcapi.RPC_TOPIC)
2019-11-12 05:07:46.583 17194 ERROR nova   File "/usr/lib/python3/dist-packages/nova/service.py", line 257, in create
2019-11-12 05:07:46.583 17194 ERROR nova     periodic_interval_max=periodic_interval_max)
2019-11-12 05:07:46.583 17194 ERROR nova   File "/usr/lib/python3/dist-packages/nova/service.py", line 129, in __init__
2019-11-12 05:07:46.583 17194 ERROR nova     self.manager = manager_class(host=self.host, *args, **kwargs)
2019-11-12 05:07:46.583 17194 ERROR nova   File "/usr/lib/python3/dist-packages/nova/compute/manager.py", line 531, in __init__
2019-11-12 05:07:46.583 17194 ERROR nova     self.reportclient = report.SchedulerReportClient()
2019-11-12 05:07:46.583 17194 ERROR nova   File "/usr/lib/python3/dist-packages/nova/scheduler/client/report.py", line 186, in __init__
2019-11-12 05:07:46.583 17194 ERROR nova     self._client = self._create_client()
2019-11-12 05:07:46.583 17194 ERROR nova   File "/usr/lib/python3/dist-packages/nova/scheduler/client/report.py", line 229, in _create_client
2019-11-12 05:07:46.583 17194 ERROR nova     client = self._adapter or utils.get_sdk_adapter('placement')
2019-11-12 05:07:46.583 17194 ERROR nova   File "/usr/lib/python3/dist-packages/nova/utils.py", line 1039, in get_sdk_adapter
2019-11-12 05:07:46.583 17194 ERROR nova     return getattr(conn, service_type)
2019-11-12 05:07:46.583 17194 ERROR nova   File "/usr/lib/python3/dist-packages/openstack/service_description.py", line 92, in __get__
2019-11-12 05:07:46.583 17194 ERROR nova     endpoint = proxy_mod.Proxy.get_endpoint(proxy)
2019-11-12 05:07:46.583 17194 ERROR nova   File "/usr/lib/python3/dist-packages/keystoneauth1/adapter.py", line 282, in get_endpoint
2019-11-12 05:07:46.583 17194 ERROR nova     return self.session.get_endpoint(auth or self.auth, **kwargs)
2019-11-12 05:07:46.583 17194 ERROR nova   File "/usr/lib/python3/dist-packages/keystoneauth1/session.py", line 1198, in get_endpoint
2019-11-12 05:07:46.583 17194 ERROR nova     auth = self._auth_required(auth, 'determine endpoint URL')
2019-11-12 05:07:46.583 17194 ERROR nova   File "/usr/lib/python3/dist-packages/keystoneauth1/session.py", line 1138, in _auth_required
2019-11-12 05:07:46.583 17194 ERROR nova     raise exceptions.MissingAuthPlugin ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-11-12 03:33:27 -0500

Limepage Alex gravatar image

After carefully reading the installation guide of nova, I found that I forgot to set "auth_type" in "placement" section to "password". Nova works after restarting the nova-compute service.

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

Stats

Asked: 2019-11-11 23:39:23 -0500

Seen: 200 times

Last updated: Nov 11 '19