HAProxy nodes in High Availability Guide

Bug #1516465 reported by Larry Smith Jr. on 2015-11-16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bogdan Dobrelya

Bug Description

Following the HA setup for HAProxy in regards to Telemetry services (Ceilometer), after installing Ceilometer the hosts show listening on tcp/8777 but the HAProxy admin page shows them as being down. In turn, this causes an error in Horizon which states unable to retrieve the list of Monitoring resource list. After making the following change to HAProxy everything comes up as it should and the ability to view objects is available.

listen ceilometer_api_cluster
  bind {{ openstack_services_vip }}:8777
  balance source
  option tcpka
# option httpchk ###Fails when set to httpchk
  option tcplog
{% for host in groups['openstack-controller-nodes'] %}
  server {{ host }} {{ host }}:8777 check inter 2000 rise 2 fall 5
{% endfor %}

Release: 0.0.1 on 2015-11-15 23:15
SHA: 419733138b3f98c79a25be1092c4efc5d2bd1e36
Source: http://git.openstack.org/cgit/openstack/ha-guide/tree/doc/ha-guide/source/controller-ha-haproxy.rst
URL: http://docs.openstack.org/ha-guide/controller-ha-haproxy.html

Bogdan Dobrelya (bogdando) wrote :

It seems valid point, although I cannot bring any arguments why one should NOT use httpchk for ceilomter but should use it for the rest of API services in OpenStack

Changed in openstack-manuals:
status: New → Confirmed

Fix proposed to branch: master
Review: https://review.openstack.org/255837

Changed in openstack-manuals:
assignee: nobody → Bogdan Dobrelya (bogdando)
status: Confirmed → In Progress
Changed in openstack-manuals:
assignee: Bogdan Dobrelya (bogdando) → KATO Tomoyuki (kato-tomoyuki)
Changed in openstack-manuals:
assignee: KATO Tomoyuki (kato-tomoyuki) → Bogdan Dobrelya (bogdando)

Reviewed: https://review.openstack.org/255837
Committed: https://git.openstack.org/cgit/openstack/ha-guide/commit/?id=a21014154db96d92682b0d25a0990ddd65e1cb5d
Submitter: Jenkins
Branch: master

commit a21014154db96d92682b0d25a0990ddd65e1cb5d
Author: Bogdan Dobrelya <email address hidden>
Date: Thu Dec 10 13:19:46 2015 +0100

    Fix HAProxy configuration for controllers

    * Do not use option httpcheck for Ceilometer API
    * Address TODO for the haproxy.conf at controllers
    * Address TODO for Galera HAProxy conf backup directive

    Closes-bug: #1516465

    Change-Id: I10a9f7d68e24d65d4581e130f2dacdc99c38ac10
    Signed-off-by: Bogdan Dobrelya <email address hidden>

Changed in openstack-manuals:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers