Ask Your Question
0

Horizon Dashboard Admin Authorization after Kolla Deployment

asked 2016-07-05 08:40:19 -0600

After deploying Kolla I'm having an issue finding clear documentation on how to set the admin username/password for the Horizon dashboard to login for the first time in this environment.

When I get back to my project tonight will I need to use an Ansible command to configure Keystone? Or is there something I missed in the "passwords.yml" file?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2016-07-05 08:59:16 -0600

Hi, @SpacemanSpiff.

There is a password for admin user at /etc/kolla/passwords.yml

####################
# OpenStack options
####################
keystone_admin_password:

That password should let you loggin at dashboard as admin user.

Before deploy kolla, use this command to generate random passwords.

kolla-genpwd

Regards

edit flag offensive delete link more

Comments

ran kolla-genpwd before deployment, however resulted in:

[Errno 13] Permission denied: '/etc/kolla/passwords.yml'

was able to edit the passwords.yml (as I've done before) and edited only keystone_admin_password:

Horizon login result: unable to establish connection to keystone endpoint horizon

SpacemanSpiff gravatar imageSpacemanSpiff ( 2016-07-05 19:09:16 -0600 )edit

Alright...I'll be glad when we get past this part and I can login. Your help has been much appreciated. The address for the dashboard should be the one listed for "virbr0" correct?

SpacemanSpiff gravatar imageSpacemanSpiff ( 2016-07-05 19:59:01 -0600 )edit

yea...I'm going to the wrong one

SpacemanSpiff gravatar imageSpacemanSpiff ( 2016-07-05 20:40:22 -0600 )edit

Horizon IP probably is the public endpoint(should be the VIP address associated with keepalived at haproxy). If you only configured kolla_internal_vip_address, the public endpoint is the same as the internal. If not, it will be kolla_external_vip_address.

Regards

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2016-07-06 01:36:52 -0600 )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: 2016-07-05 08:40:19 -0600

Seen: 1,717 times

Last updated: Jul 05 '16