Bug 1233949
| Summary: | overcloud horizon apache config doesn't appear to use a network vip | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Kambiz Aghaiepour <kambiz> |
| Component: | openstack-tripleo-heat-templates | Assignee: | Jay Dobies <jason.dobies> |
| Status: | CLOSED ERRATA | QA Contact: | Marius Cornea <mcornea> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | high | ||
| Version: | Director | CC: | calfonso, dmacpher, mandreou, mburns, mcornea, rhel-osp-director-maint, sasha |
| Target Milestone: | y1 | Keywords: | Triaged, ZStream |
| Target Release: | 7.0 (Kilo) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-tripleo-heat-templates-0.8.6-49.el7ost | Doc Type: | Bug Fix |
| Doc Text: |
Load balancing for httpd was incorrectly configured on the Overcloud, which meant VIPs were not used when accessing Horizon. This fix properly enables the load balancing for httpd. Now Horizon is accessible through VIPs.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-10-08 12:09:56 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Kambiz Aghaiepour
2015-06-19 19:12:24 UTC
(copy/paste from the related bug as identified in original description) I think this bug is now fixed and can be closed. As we discovered in [1] we are setting this/others in the static hieradata like [2] and indeed the real fix here was [3] https://review.openstack.org/#/c/192870/ though it seems we missed to update the bug and review. I deployed with templates that include [3] and the result lgtm like [4] [1] https://review.openstack.org/#/c/193398/ [2] https://github.com/openstack/tripleo-heat-templates/blob/master/puppet/hieradata/controller.yaml#L115 [3] https://review.openstack.org/#/c/192870/ [4] (undercloud) heat output-show overcloud KeystoneURL "http://192.0.2.16:5000/v2.0/" overcloud-controller-1 cat /etc/haproxy/haproxy. listen horizon bind 192.0.2.15:80 bind 192.0.2.16:80 option httpchk GET / server overcloud-controller-0 192.0.2.20:80 check fall 5 inter 2000 rise 2 server overcloud-controller-1 192.0.2.19:80 check fall 5 inter 2000 rise 2 server overcloud-controller-2 192.0.2.21:80 check fall 5 inter 2000 rise 2 [root@overcloud-controller-1 ~]# cat /etc/httpd/conf.d/10-horizon_vhost.conf | grep VirtualHost <VirtualHost 192.0.2.19:80> </VirtualHost> (undercloud): [stack@instack ~]$ wget 192.0.2.16 --2015-06-25 04:26:06-- http://192.0.2.16/ Connecting to 192.0.2.16:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: http://192.0.2.16/dashboard [following] --2015-06-25 04:26:06-- http://192.0.2.16/dashboard Connecting to 192.0.2.16:80... connected. HTTP request sent, awaiting response... 302 FOUND Location: http://192.0.2.16/dashboard/auth/login/?next=/dashboard/ [following] --2015-06-25 04:26:07-- http://192.0.2.16/dashboard/auth/login/?next=/dashboard/ Connecting to 192.0.2.16:80... connected. HTTP request sent, awaiting response... 200 OK Length: 2406 (2.3K) [text/html] Saving to: ‘index.html’ 100%[======================================================>] 2,406 --.-K/s in 0s 2015-06-25 04:26:08 (218 MB/s) - ‘index.html’ saved [2406/2406] [stack@instack ~]$ [stack@instack ~]$ rpm -qa | grep openstack-tripleo-heat-templates openstack-tripleo-heat-templates-0.8.6-49.el7ost.noarch [stack@instack ~]$ heat output-show overcloud KeystoneURL "http://172.16.23.10:5000/v2.0/" [stack@instack ~]$ curl -L -I http://172.16.23.10/ HTTP/1.1 301 Moved Permanently Date: Mon, 14 Sep 2015 16:51:17 GMT Server: Apache/2.4.6 (Red Hat Enterprise Linux) Location: http://172.16.23.10/dashboard Content-Type: text/html; charset=iso-8859-1 Set-Cookie: SERVERID=; Expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/ Cache-control: private HTTP/1.1 302 FOUND Date: Mon, 14 Sep 2015 16:51:17 GMT Server: Apache/2.4.6 (Red Hat Enterprise Linux) Vary: Accept-Language,Cookie X-Frame-Options: SAMEORIGIN Content-Language: en Location: http://172.16.23.10/dashboard/auth/login/?next=/dashboard/ Content-Type: text/html; charset=utf-8 Set-Cookie: SERVERID=; Expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/ HTTP/1.1 200 OK Date: Mon, 14 Sep 2015 16:51:17 GMT Server: Apache/2.4.6 (Red Hat Enterprise Linux) Content-Language: en Expires: Mon, 14 Sep 2015 16:51:17 GMT Vary: Cookie,Accept-Language,Accept-Encoding Cache-Control: max-age=0 X-Frame-Options: SAMEORIGIN Set-Cookie: csrftoken=PRZ5oKdVj5ROp2s3vkWw9DKhWiBecqg6; expires=Mon, 12-Sep-2016 16:51:17 GMT; Max-Age=31449600; Path=/ Last-Modified: Mon, 14 Sep 2015 16:51:17 GMT Content-Type: text/html; charset=utf-8 Set-Cookie: SERVERID=; Expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/ Cache-control: private Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2015:1862 |