Bug 1250541 - [RFE] Allow additions of accessible addresses to the Horizon
Summary: [RFE] Allow additions of accessible addresses to the Horizon
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 7.0 (Kilo)
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: ga
: 8.0 (Liberty)
Assignee: Jiri Stransky
QA Contact: Ido Ovadia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-05 12:25 UTC by Yogev Rabl
Modified: 2023-02-22 23:02 UTC (History)
8 users (show)

Fixed In Version: openstack-tripleo-heat-templates-0.8.7-5.el7ost
Doc Type: Enhancement
Doc Text:
This update provides customization to Horizon's 'allowed_hosts' parameter. Use the HorizonAllowedHosts parameter in an environment file's 'default_parameters' section to provide a custom list of hosts allowed to access Horizon. The default is '*', which allows any host.
Clone Of:
Environment:
Last Closed: 2016-05-03 17:11:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 221255 0 'None' 'MERGED' 'Allow one to specify horizon ALLOWED_HOSTS' 2019-11-26 14:44:32 UTC

Description Yogev Rabl 2015-08-05 12:25:15 UTC
Description of problem:
In /etc/openstack-dashboard/local_settings the parameter ALLOWED_HOSTS defines the address to which the Horizon will answer when an http request is been received. In cases when the address is been set externally for an example, by DNS record with a different FQDN than the host name, the new address should be added to the list defined in the ALLOWED_HOSTS parameter. 
In other cases a ServerAlias should be added in the Apache configuration file /etc/httpd/conf.d/15-horizon_vhost.conf with the new IP/FQDN address. 

Version-Release number of selected component (if applicable):
openstack-heat-api-cloudwatch-2015.1.0-5.el7ost.noarch
openstack-heat-engine-2015.1.0-5.el7ost.noarch
heat-cfntools-1.2.8-2.el7.noarch
openstack-heat-api-cfn-2015.1.0-5.el7ost.noarch
openstack-heat-api-2015.1.0-5.el7ost.noarch
openstack-heat-templates-0-0.6.20150605git.el7ost.noarch
python-heatclient-0.6.0-1.el7ost.noarch
openstack-tripleo-heat-templates-0.8.6-45.el7ost.noarch
openstack-heat-common-2015.1.0-5.el7ost.noarch
openstack-tripleo-common-0.0.1.dev6-1.git49b57eb.el7ost.noarch
openstack-tripleo-image-elements-0.9.6-6.el7ost.noarch
openstack-tripleo-0.0.7-0.1.1664e566.el7ost.noarch
openstack-tripleo-puppet-elements-0.0.1-4.el7ost.noarch

Steps to Reproduce:
1. Install OSP
2. Add an additional IP to the controller (or the undercloud host)
3. try to access Horizon

Actual results:
The login page will not be available

Expected results:
A parameter in the installation will ask for additional addresses from which the Horizon will allow to access to

Comment 3 Yanis Guenane 2015-09-08 11:11:58 UTC
Review to address this RFE: https://review.openstack.org/221255

Comment 4 Yanis Guenane 2015-10-15 15:51:53 UTC
Fix merged upstream.

Comment 11 Ido Ovadia 2016-05-03 10:37:14 UTC
Verified
========
openstack-tripleo-heat-templates-0.8.14-9.el7ost.noarch


Note You need to log in before you can comment on or make changes to this bug.