Ask Your Question
0

Can not access the dashboard address of devstack.

asked 2017-08-20 08:00:36 -0500

liaodalin19903 gravatar image

I install the devstack success, and get the bellow logs :

 This is your host IP address: 45.117.40.190
This is your host IPv6 address: ::1
Horizon is now available at http://45.117.40.190/dashboard
Keystone is serving at http://45.117.40.190/identity/
The default users are: admin and demo
The password: devops

WARNING: 
Using lib/neutron-legacy is deprecated, and it will be removed in the future


Services are running under systemd unit files.
For more information see: 
https://docs.openstack.org/devstack/latest/systemd.html

DevStack Version: pike
Change: b93fd6fc5c8d9ab23251c45b427ccad4caeb79e1 Merge "Updated from generate-devstack-plugins-list" 2017-08-17 07:40:15 +0000
OS Version: CentOS 7.2.1511 Core

2017-08-20 19:19:54.281 | stack.sh completed in 1812 seconds.

but I can not access the http://45.117.40.190/dashboard in the browser.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-08-21 05:06:58 -0500

sanjana gravatar image

updated 2017-08-21 23:02:30 -0500

Give this a try In the file: /opt/stack/openstack/horizon/blob/master/openstack_dashboard/local/local_settings.py Uncomment the line below and accordingly add your host IP

ALLOWED_HOSTS=['YOUR_HOST_IP'],

Then probably you can Restart apache webserver with sudo service apache2 restartThen check if it works on the browser: http://YOUR_HOST_IP/dashboard

edit flag offensive delete link more

Comments

there is no apache directory under /etc/, and I searched the find / -name openstack-dashboard.conf , find nothing.

liaodalin19903 gravatar imageliaodalin19903 ( 2017-08-21 21:22:29 -0500 )edit

I have edited my answer. Have a look and let me know if it works.

sanjana gravatar imagesanjana ( 2017-08-21 23:01:16 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-08-20 08:00:36 -0500

Seen: 1,516 times

Last updated: Aug 21 '17