Use Vagrant installed devstack
. Set the HOST_IP
to 127.0.0.1
before the installation config. After finish the installation, it told use these information to access web ui:
=========================
DevStack Component Timing
=========================
Total runtime 3523
run_process 113
test_with_retry 7
pip_install 647
wait_for_service 51
yum_install 338
git_timed 853
=========================
This is your host IP address: 127.0.0.1
This is your host IPv6 address: ::1
Horizon is now available at http://127.0.0.1/dashboard
Keystone is serving at http://127.0.0.1/identity/
The default users are: admin and demo
The password: secret
Services are running under systemd unit files.
For more information see:
https://docs.openstack.org/developer/devstack/systemd.html
I set private_ip
in Vagrantfile with 192.168.33.11
, I tried this way to access the web ui:
http://192.168.33.11/dashboard
But not works. Therefore, I test used curl
in Vagrant can confirm something:
[stack@localhost devstack]$ curl -I http://127.0.0.1/dashboard
HTTP/1.1 302 Found
Date: Mon, 05 Jun 2017 10:38:37 GMT
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_wsgi/3.4 Python/2.7.5
Vary: Accept-Language,Cookie
X-Frame-Options: SAMEORIGIN
Content-Language: en
Location: http://127.0.0.1/dashboard/auth/login/?next=/dashboard/
Content-Type: text/html; charset=utf-8
How to access the dashboard now?