To get started with OpenStack, you will first login to Horizon.
Horizon is a web-based interface used to administer OpenStack services, also known as OpenStack’s dashboard. This is where you will do everything in OpenStack from making an instance, creating networks, managing your users, and so on.
For a full list of the purpose and features of Horizon, see OpenStack’s Horizon documentation.
How to Login to Horizon
Step 1 — Login to Flex Metal Central
To get started, login to Flex Metal Central
The landing page appears this way:
Step 2 — Navigate to Cloud
Once logged in, click on the cloud you are working with to navigate to that cloud’s details page.
Step 3 — Access Horizon
Next, find and click the Horizon link on the left sidebar. It will be the last item in the list.
Clicking this link will load the Horizon login page.
Step 4 — How to obtain the Horizon password
Next, you need to acquire the Horizon administrator password from one of the cloud’s hardware nodes.
Initially, you will login to Horizon with the administrator account. The administrator account’s username is admin.
Next, you will need to obtain the password for the admin account. The
password is stored in a text file called
/etc/kolla/passwords.yml on each
To acquire the password use SSH to access a hardware node, then
/etc/kolla/passwords.yml, find the entry labeled
keystone_admin_password. The file stores information in a “key: value”
format, so the password will be the second entry on that line.
Step 5 — SSH into a hardware node
During cloud setup, you uploaded your SSH public key. This key exists on each hardware node and allows you to login to each node using SSH.
To SSH in, ensure you have one node’s IP address, and the private key on the system you will use to access your cloud.
Requirements to SSH into a node:
- Username, which is root
- Authentication is with SSH keys
- An IP address of a hardware node
Here’s an example command used to SSH in assuming
~/.ssh/YOUR_KEY is the
path to your private key and a hardware node IP is 126.96.36.199:
$ ssh -i ~/.ssh/YOUR_KEY email@example.com
Step 6 — Obtain Horizon password
Once logged in, search for
keystone_admin_password inside of
# grep keystone_admin_password /etc/kolla/passwords.yml keystone_admin_password: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Step 7 — Access Horizon
You can now login to Horizon using the credentials obtained from the previous sections.
Enter in the credentials into the Horizon login page to login.
Once logged in, you should see something similar to:
Initial Horizon login: