← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2092750] [NEW] keystone doesnt authenticate nova api

 

Public bug reported:

when i create a new nova instance, i get an error unexpected API error :
keystoneauth1.exceptions.discovery.DiscoveryFailure'> (HTTP 500)

this is the nova api log:

2024-12-31 10:00:15.171 2012 ERROR nova.api.openstack.wsgi     self._plugin = self._do_create_plugin(session)
2024-12-31 10:00:15.171 2012 ERROR nova.api.openstack.wsgi   File "/usr/lib/python3/dist-packages/keystoneauth1/identity/generic/base.py", line 155, in _do_create_plugin
2024-12-31 10:00:15.171 2012 ERROR nova.api.openstack.wsgi     raise exceptions.DiscoveryFailure(
2024-12-31 10:00:15.171 2012 ERROR nova.api.openstack.wsgi keystoneauth1.exceptions.discovery.DiscoveryFailure: Could not find versioned identity endpoints when attempting to authenticate. Please check that your auth_url is correct. Forbidden (HTTP 403)
2024-12-31 10:00:15.171 2012 ERROR nova.api.openstack.wsgi
2024-12-31 10:00:15.173 2012 INFO nova.api.openstack.wsgi [None req-84c7778f-6da4-4a67-8ce8-058eaa49203e 299ed24be4a64f32ba94ffd16488ace6 77067c6552974ea5a5f64399e2e34829 - - default default] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'keystoneauth1.exceptions.discovery.DiscoveryFailure'>
2024-12-31 10:00:15.174 2012 DEBUG nova.api.openstack.wsgi [None req-84c7778f-6da4-4a67-8ce8-058eaa49203e 299ed24be4a64f32ba94ffd16488ace6 77067c6552974ea5a5f64399e2e34829 - - default default] Returning 500 to user: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'keystoneauth1.exceptions.discovery.DiscoveryFailure'> __call__ /usr/lib/python3/dist-packages/nova/api/openstack/wsgi.py:936
2024-12-31 10:00:15.175 2012 INFO nova.osapi_compute.wsgi.server [None req-84c7778f-6da4-4a67-8ce8-058eaa49203e 299ed24be4a64f32ba94ffd16488ace6 77067c6552974ea5a5f64399e2e34829 - - default default] 192.168.0.22 "POST /v2.1/servers HTTP/1.1" status: 500 len: 658 time: 0.0260627

i have configured everything as per documentation.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/2092750

Title:
  keystone doesnt authenticate nova api

Status in OpenStack Compute (nova):
  New

Bug description:
  when i create a new nova instance, i get an error unexpected API error
  : keystoneauth1.exceptions.discovery.DiscoveryFailure'> (HTTP 500)

  this is the nova api log:

  2024-12-31 10:00:15.171 2012 ERROR nova.api.openstack.wsgi     self._plugin = self._do_create_plugin(session)
  2024-12-31 10:00:15.171 2012 ERROR nova.api.openstack.wsgi   File "/usr/lib/python3/dist-packages/keystoneauth1/identity/generic/base.py", line 155, in _do_create_plugin
  2024-12-31 10:00:15.171 2012 ERROR nova.api.openstack.wsgi     raise exceptions.DiscoveryFailure(
  2024-12-31 10:00:15.171 2012 ERROR nova.api.openstack.wsgi keystoneauth1.exceptions.discovery.DiscoveryFailure: Could not find versioned identity endpoints when attempting to authenticate. Please check that your auth_url is correct. Forbidden (HTTP 403)
  2024-12-31 10:00:15.171 2012 ERROR nova.api.openstack.wsgi
  2024-12-31 10:00:15.173 2012 INFO nova.api.openstack.wsgi [None req-84c7778f-6da4-4a67-8ce8-058eaa49203e 299ed24be4a64f32ba94ffd16488ace6 77067c6552974ea5a5f64399e2e34829 - - default default] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'keystoneauth1.exceptions.discovery.DiscoveryFailure'>
  2024-12-31 10:00:15.174 2012 DEBUG nova.api.openstack.wsgi [None req-84c7778f-6da4-4a67-8ce8-058eaa49203e 299ed24be4a64f32ba94ffd16488ace6 77067c6552974ea5a5f64399e2e34829 - - default default] Returning 500 to user: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'keystoneauth1.exceptions.discovery.DiscoveryFailure'> __call__ /usr/lib/python3/dist-packages/nova/api/openstack/wsgi.py:936
  2024-12-31 10:00:15.175 2012 INFO nova.osapi_compute.wsgi.server [None req-84c7778f-6da4-4a67-8ce8-058eaa49203e 299ed24be4a64f32ba94ffd16488ace6 77067c6552974ea5a5f64399e2e34829 - - default default] 192.168.0.22 "POST /v2.1/servers HTTP/1.1" status: 500 len: 658 time: 0.0260627

  i have configured everything as per documentation.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/2092750/+subscriptions