Ask Your Question
1

Horizon via IP address of a 2nd interface

asked 2016-05-24 21:58:13 -0500

kthomas gravatar image

updated 2016-05-25 06:54:51 -0500

I installed Liberty using Packstack on CentOS 7. I would like to access Horizon via an interface on the controller other than the one specified for the controller in the answers.txt file (another physical interface on the same server with its own IP address). Is this possible? Currently, attempting to access horizon via the other interface results in a SYN to the server and a RST response from the server. No entries are added to the horizon log or the httpd error or access logs. Accessing via the normal controller interface works fine.

edit retag flag offensive close merge delete

Comments

Apache servers Horizon, configure Apache to Listen on the other interface

rduncan-t gravatar imagerduncan-t ( 2016-05-25 06:52:29 -0500 )edit

+1 for @rduncan suggestion

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2016-05-25 09:04:43 -0500 )edit

ServerAlias for the 2nd IP address in /etc/httpd/conf.d/15-horizon_vhost.conf did not help. /etc/httpd/conf/httpd.conf has no Listen for 80 or 443 but Horizon works fine on the original interface. /etc/openstack-dashboard/local_settings, ALLOWED_HOSTS = ['*',] already set. Another config location?

kthomas gravatar imagekthomas ( 2016-05-25 13:13:07 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-07-06 02:36:27 -0500

ariksa gravatar image

updated 2016-07-06 02:38:14 -0500

You need to edit /etc/httpd/conf.d/15-horizon_vhost.conf. By default, it includes something like:

## Server aliases
ServerAlias localhost
ServerAlias <CONTROLLER_IP>

You have to add your new IP:

ServerAlias <your_new_desired_IP>

Restart the server after this change.

edit flag offensive delete link more

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-05-24 21:58:13 -0500

Seen: 1,586 times

Last updated: Jul 06 '16