DevStack installation issue

asked 2019-04-09 09:23:34 -0600

Adammm gravatar image

updated 2019-04-10 04:48:18 -0600

Hello, I'm new here, I have done devstack installation (

I set those variables (local.conf) :


and then I went to Horizon http://MY_IP/dashboard/auth/login/

but I'm not able to login, webpage shows me that error : Unable to establish connection to keystone endpoint.

Should I add something else to my configuration ?? I tried to login as admin using my_password

also I tried to run some cli commands :

openstack project list
Missing value auth-url required for auth plugin password

I'm quite sure that my configuration is not complete. Please help


Thank you for answer,

systemctl status devstack@keystone.service
● devstack@keystone.service - Devstack devstack@keystone.service
   Loaded: loaded (/etc/systemd/system/devstack@keystone.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2019-04-09 15:20:41 UTC; 16h ago
 Main PID: 900 (uwsgi)
   Status: "uWSGI is ready"
    Tasks: 3 (limit: 4915)
   CGroup: /system.slice/system-devstack.slice/devstack@keystone.service
           ├─ 900 keystoneuWSGI master
           ├─1311 keystoneuWSGI worker 1
           └─1312 keystoneuWSGI worker 2

it indicates that my keystone service is running correctly right ?

Also I created script and run it :


export OS_IDENTITY_API_VERSION=3 #(defaults to 2.0)
export OS_PROJECT_NAME=admin
export OS_USERNAME=admin
export OS_DEFAULT_DOMAIN=default
export HOST_IP=
export OS_AUTH_URL=https://$SERVICE_HOST:5000/v3.0
#export OS_AUTH_URL=http://localhost:5000/v3

Should I use localhost or just ip ?

I'm still not able login to horizon but something changed here

stack@adam:~/devstack$ openstack user list
Failed to discover available identity versions when contacting Attempting to parse version from URL.
Unable to establish connection to HTTPSConnectionPool(host='', port=5000): Max retries exceeded with url: /v3.0/auth/tokens (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fdf39315e90>: Failed to establish a new connection: [Errno 111] Connection refused',))
edit retag flag offensive close merge delete


The first error probably indicates that Keystone is not running. Confirm that with systemctl devstack@keystone. Why is it not running? journalctl -u devstack@keystone.

I also suggest to add a LOGFILE directive to local.conf, so that you have messages saved in a file.

Bernd Bausch gravatar imageBernd Bausch ( 2019-04-09 14:51:58 -0600 )edit

The second error says that you have not set up your shell environment. See also

Bernd Bausch gravatar imageBernd Bausch ( 2019-04-09 14:54:37 -0600 )edit

First, the only password required in the RC script is the user password.

Yes, Keystone is running, but it is not listening at The correct address and port should be in the openrc file in the devstack directory. Anyway, I recommend you use openrc instead of your own RC script.

Bernd Bausch gravatar imageBernd Bausch ( 2019-04-10 04:45:36 -0600 )edit

I don’t remember how Devstack configures it by default, but the correct Keystone endpoint might be something like rather than a port number. You can double check that in Apache’s virtualhost configuration under /etc/apache2 (assuming Ubuntu).

Bernd Bausch gravatar imageBernd Bausch ( 2019-04-10 04:47:11 -0600 )edit

I have reinstalled openstack and used openrc file and it seems to be working. Thanks

Adammm gravatar imageAdammm ( 2019-04-10 09:13:27 -0600 )edit