Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Failed to discover available identity versions when contacting http://127.0.0.1:5000/v3.0. Attempting to parse version from URL.

I am using ubuntu 16.04.5 and I wanna install devstack. the installation was finished and everything seems working fine. but when I want to start using openstack commands, it feeds back error. As the experience from google, I tried export no_proxy=127.0.0.1 to close the http proxy, but still not work. i would really appreciate if someone can help me to narrow down the root cause! Thanks in advance.

logs below: stack@ubuntu-devstack:/root$ cd /opt/stack stack@ubuntu-devstack:~$ export OS_USERNAME=demo stack@ubuntu-devstack:~$ export OS_PASSWORD=secret stack@ubuntu-devstack:~$ export OS_TENANT_NAME=demo stack@ubuntu-devstack:~$ export OS_AUTH_URL=http://127.0.0.1:5000/v3.0 stack@ubuntu-devstack:~$ openstack user list Failed to discover available identity versions when contacting http://127.0.0.1:5000/v3.0. Attempting to parse version from URL. Unable to establish connection to http://127.0.0.1:5000/v3.0/auth/tokens: HTTPConnectionPool(host='127.0.0.1', port=5000): Max retries exceeded with url: /v3.0/auth/tokens (Caused by NewConnectionError('<urllib3.connection.httpconnection object="" at="" 0x7fbeb3b3dd90="">: Failed to establish a new connection: [Errno 111] Connection refused',)) stack@ubuntu-devstack:~$ openstack server list Failed to discover available identity versions when contacting http://127.0.0.1:5000/v3.0. Attempting to parse version from URL. Unable to establish connection to http://127.0.0.1:5000/v3.0/auth/tokens: HTTPConnectionPool(host='127.0.0.1', port=5000): Max retries exceeded with url: /v3.0/auth/tokens (Caused by NewConnectionError('<urllib3.connection.httpconnection object="" at="" 0x7f9543d3d0d0="">: Failed to establish a new connection: [Errno 111] Connection refused',))