Bug 1232747
| Summary: | Horizon vhosts using different IP address than the one reported after overcloud deployment | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Marius Cornea <mcornea> |
| Component: | openstack-tripleo-heat-templates | Assignee: | Giulio Fidente <gfidente> |
| Status: | CLOSED ERRATA | QA Contact: | Marius Cornea <mcornea> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.0 (Kilo) | CC: | dmacpher, hbrock, jason.dobies, kambiz, kbasil, mandreou, mburns, rhel-osp-director-maint, yeylon |
| Target Milestone: | ga | ||
| Target Release: | Director | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-tripleo-heat-templates-0.8.6-12.el7ost | Doc Type: | Bug Fix |
| Doc Text: |
HAProxy failed to configure the Horizon listener, which caused unavailability of Horizon on the public VIP. This fix eanbles the HAProxy Horizon listener and the Horizon dashboard is now available on the public VIP.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-08-05 13:54:16 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
Marius Cornea
2015-06-17 12:28:20 UTC
Balancing for Horizon is false by default [1] we miss to enable it! 1. https://github.com/openstack/puppet-tripleo/blob/master/manifests/loadbalancer.pp#L205 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 ~]$ 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/RHEA-2015:1549 |