Ask Your Question
0

OpenStack new installation configs

asked 2017-06-27 12:26:15 -0600

cloudadmin gravatar image

Hi, I have two questions about the new installation of OpenStack. I choose openstack vanilla installation (Ocata).

When I set up the configuration files on the controller node I need to enter the controller parameter, like

[database] connection = mysql+pymysql://keystone:KEYSTONE_DBPASS@controller/keystone

OR

openstack --os-auth-url http://controller:5000/v3...

Can I there leave this "controller" attribute or I need to enter the IP address of the controller? Or I can change "controller" to "localhost"?

My second question is, where I set up the public IP addres of the OpenStack portal (Horizon)? Can a public IP address be set up in this configuration:

keystone-manage bootstrap --bootstrap-password ADMIN_PASS --bootstrap-admin-url http://controller:35357/v3/ --bootstrap-internal-url http://controller:5000/v3/ --bootstrap-public-url http://controller:5000/v3/ --bootstrap-region-id RegionOne*

Can I in this configuration change bootstrap-public-url attrubite from "controller" to the public IP address?

Thank you!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-06-27 16:59:47 -0600

Bernd Bausch gravatar image

updated 2017-06-27 17:05:32 -0600

You can use the control node's IP address, but controller seems to be less error-prone. Of course there needs to be name resolution for controller, usually by adding it to /etc/hosts. And of course, you can call it something else than controller.

You need to refer to the control node in other places, for example for message queue configuration on the compute node. There, localhost won't work.

When you follow the installation tutorials, the address of the GUI is the address of the control node. If you set up an HA config with several control nodes and a load balancer, it would be the VIP of the load balancer.

edit flag offensive delete link more

Comments

I set up the new environment and I will try that.

cloudadmin gravatar imagecloudadmin ( 2017-07-18 07:53:25 -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

Stats

Asked: 2017-06-27 12:26:15 -0600

Seen: 40 times

Last updated: Jun 27