Failed to discover available identity versions
Followed the procedure to setup the devstack on a digital ocean droplet based on the instructions from the https://docs.openstack.org/developer/devstack/ (tutorial).
While executing ./stack.sh
the script exits with error stating,
Failed to discover available identity versions when contacting http://<public_id>/identity_admin. Attempting to parse version from URL.
Could not determine a suitable URL for the plugin
Also tried to pass the no_proxy
env variable as suggested in this https://ask.openstack.org/en/question/87854/keystone-token-generation-fails-for-devstack/ (thread).
This is often an indication that keystone isn't running or is listening on the wrong address/port. To check,
pgrep keystone
, thencurl http://YOURIP:5000
andcurl http://YOURIP:35357
. Also use lsof or ss to check if anybody listens at ports 5000 or 35357.Also check for other errors in the stack.log file (its location is configuration-dependent).