Bug 1234637
| Summary: | HAProxy health check for glance_registry fails for all backend nodes | ||
|---|---|---|---|
| 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: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 7.0 (Kilo) | CC: | bperkins, dmacpher, mburns, mcornea, ohochman, rhel-osp-director-maint, rrosa |
| Target Milestone: | ga | Keywords: | Triaged |
| Target Release: | Director | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-puppet-modules-2015.1.7-5.el7ost | Doc Type: | Bug Fix |
| Doc Text: |
An incorrect configuration of the HAProxy backend caused HAProxy to forward requests for the glance-registry service to offline nodes. This fix monitors the glance-registry service for updates to ensure offline nodes are detected.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-08-05 13:55:19 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-22 21:52:12 UTC
Can you please provide the haproxy logs? Log shows Connection refused but the backends are actually accessible, just returning Authentication required. [root@overcloud-controller-0 heat-admin]# journalctl -l -o cat -u haproxy| grep regist Proxy glance_registry started. Server glance_registry/overcloud-controller-0 is DOWN, reason: Layer4 connection problem, info: "Connection refused", check duration: 0ms. 2 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue. Server glance_registry/overcloud-controller-1 is DOWN, reason: Layer4 connection problem, info: "Connection refused", check duration: 0ms. 1 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue. Server glance_registry/overcloud-controller-2 is DOWN, reason: Layer4 connection problem, info: "Connection refused", check duration: 0ms. 0 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue. proxy glance_registry has no server available! [root@overcloud-controller-0 heat-admin]# grep -A6 glance_registry /etc/haproxy/haproxy.cfg listen glance_registry bind 172.16.2.4:9191 option httpchk GET / server overcloud-controller-0 172.16.2.7:9191 check fall 5 inter 2000 rise 2 server overcloud-controller-1 172.16.2.6:9191 check fall 5 inter 2000 rise 2 server overcloud-controller-2 172.16.2.8:9191 check fall 5 inter 2000 rise 2 [root@overcloud-controller-0 heat-admin]# curl 172.16.2.7:9191 Authentication required [root@overcloud-controller-0 heat-admin]# curl 172.16.2.6:9191 Authentication required [root@overcloud-controller-0 heat-admin]# curl 172.16.2.8:9191 Authentication required [root@overcloud-controller-0 heat-admin]# curl 172.16.2.4:9191 curl: (52) Empty reply from server Fix should be included in openstack-puppet-modules-2015.1.7-5.el7ost 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 |