As you can see on the exception, this is not a Nova bug. Keystone just tells you 'sorry, it's forbidden' so maybe you have some wrong configuration for it. Eventually, as I said, as this is not a Nova bug, closing this report.
** Changed in: nova Status: New => Invalid -- 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/2055004 Title: unable to create vm - Could not find versioned identity endpoints Status in OpenStack Compute (nova): Invalid Bug description: Hi, Description =========== After unstalling openstack I've been trying to create a vm with the command below, but I'm getting this error: 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'> (HTTP 500) (Request-ID: req-4e85e38c-f6b8-43ce-ae29-4b96b41da25e) Command: openstack server create --flavor x1.test --image cirros my- instance I've doubled check the nova conf and so far everything looks ok. Logs ========= logs in var/log/nova/nova-api.log 2024-02-26 01:04:14.853 23820 INFO nova.osapi_compute.wsgi.server [None req-fc792d37-360b-4cbc-8259-e3ad051c2816 01ac288623ee4fcf844338f25b8edb5e 831bbb9ad88e4fd6a8536715ffc0a4c3 - - default default] 192.168.16.20 "GET /v2.1/flavors HTTP/1.1" status: 200 len: 1288 time: 0.0286248 2024-02-26 01:04:14.868 23820 INFO nova.osapi_compute.wsgi.server [None req-58facd70-3a50-4a22-8155-b83d18336ecc 01ac288623ee4fcf844338f25b8edb5e 831bbb9ad88e4fd6a8536715ffc0a4c3 - - default default] 192.168.16.20 "GET /v2.1/flavors/1 HTTP/1.1" status: 200 len: 753 time: 0.0087411 2024-02-26 01:04:14.907 23820 WARNING oslo_config.cfg [None req-56b6dfe0-c3f7-4d41-88e0-71fef6781b15 01ac288623ee4fcf844338f25b8edb5e 831bbb9ad88e4fd6a8536715ffc0a4c3 - - default default] Deprecated: Option "api_servers" from group "glance" is deprecated for removal ( Support for image service configuration via standard keystoneauth1 Adapter options was added in the 17.0.0 Queens release. The api_servers option was retained temporarily to allow consumers time to cut over to a real load balancing solution. ). Its value may be silently ignored in the future. 2024-02-26 01:04:15.366 23820 WARNING keystoneauth.identity.generic.base [None req-56b6dfe0-c3f7-4d41-88e0-71fef6781b15 01ac288623ee4fcf844338f25b8edb5e 831bbb9ad88e4fd6a8536715ffc0a4c3 - - default default] Failed to discover available identity versions when contacting http://openstackcs/identity. Attempting to parse version from URL.: keystoneauth1.exceptions.http.Forbidden: Forbidden (HTTP 403) 2024-02-26 01:04:15.368 23820 ERROR nova.api.openstack.wsgi [None req-56b6dfe0-c3f7-4d41-88e0-71fef6781b15 01ac288623ee4fcf844338f25b8edb5e 831bbb9ad88e4fd6a8536715ffc0a4c3 - - default default] Unexpected exception in API method: 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-02-26 01:04:15.368 23820 ERROR nova.api.openstack.wsgi Traceback (most recent call last): 2024-02-26 01:04:15.368 23820 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/identity/generic/base.py", line 136, in _do_create_plugin 2024-02-26 01:04:15.368 23820 ERROR nova.api.openstack.wsgi disc = self.get_discovery(session, 2024-02-26 01:04:15.368 23820 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/identity/base.py", line 608, in get_discovery 2024-02-26 01:04:15.368 23820 ERROR nova.api.openstack.wsgi return discover.get_discovery(session=session, url=url, 2024-02-26 01:04:15.368 23820 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/discover.py", line 1460, in get_discovery 2024-02-26 01:04:15.368 23820 ERROR nova.api.openstack.wsgi disc = Discover(session, url, authenticated=authenticated) 2024-02-26 01:04:15.368 23820 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/discover.py", line 540, in __init__ 2024-02-26 01:04:15.368 23820 ERROR nova.api.openstack.wsgi self._data = get_version_data(session, url, 2024-02-26 01:04:15.368 23820 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/discover.py", line 107, in get_version_data 2024-02-26 01:04:15.368 23820 ERROR nova.api.openstack.wsgi resp = session.get(url, headers=headers, authenticated=authenticated) 2024-02-26 01:04:15.368 23820 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/session.py", line 1141, in get 2024-02-26 01:04:15.368 23820 ERROR nova.api.openstack.wsgi return self.request(url, 'GET', **kwargs) 2024-02-26 01:04:15.368 23820 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/session.py", line 986, in request 2024-02-26 01:04:15.368 23820 ERROR nova.api.openstack.wsgi raise exceptions.from_response(resp, method, url) 2024-02-26 01:04:15.368 23820 ERROR nova.api.openstack.wsgi keystoneauth1.exceptions.http.Forbidden: Forbidden (HTTP 403) 2024-02-26 01:04:15.368 23820 ERROR nova.api.openstack.wsgi 2024-02-26 01:04:15.368 23820 ERROR nova.api.openstack.wsgi During handling of the above exception, another exception occurred: 2024-02-26 01:04:15.368 23820 ERROR nova.api.openstack.wsgi nova.conf ============== [keystone_authtoken] www_authenticate_uri = http://openstackcs:5000/ auth_url = http://openstackcs:5000/ memcached_servers = openstackcs:11211 auth_type = password project_domain_name = Default user_domain_name = Default project_name = service username = nova password = F4k3@P4ss To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/2055004/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp