keepalived enters FAULT state when public internet is not pingable from management network

Bug #1570420 reported by Greg Faust
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Medium
Jean-Philippe Evrard

Bug Description

when the ping check fails, keepalived enters a FAULT state:

https://github.com/openstack/openstack-ansible/blob/master/playbooks/vars/configs/keepalived_haproxy.yml#L34

https://github.com/evrardjp/ansible-keepalived/blob/master/templates/keepalived.conf.j2#L38

in my environment the public internet is not pingable from the management network.

It seems unreasonable to assume that the public internet is pingable.

Changed in openstack-ansible:
importance: Undecided → Medium
milestone: none → newton-1
assignee: nobody → Jean-Philippe Evrard (jean-philippe-evrard)
status: New → Confirmed
Changed in openstack-ansible:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible (master)

Reviewed: https://review.openstack.org/305971
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=ae99efd64c367108075df6930f9a66b3c979b8e6
Submitter: Jenkins
Branch: master

commit ae99efd64c367108075df6930f9a66b3c979b8e6
Author: Jean-Philippe Evrard <email address hidden>
Date: Thu Apr 14 17:14:19 2016 +0100

    Adding modularity to keepalived configuration

    This patch introduces modularity into the default keepalived
    configuration: Currently, keepalived uses a ping to check its
    alive status. The IP was hard setted in the configuration file.

    This patch introduces multiple variables:
    - keepalived_ping_address
    - keepalived_ping_count
    - keepalived_ping_interval

    The one probably used the most will be the
    ``keepalived_ping_address``. It's therefore listed in
    ``user_variables`` with the other keepalived variables.

    Fixes-Bug: #1570420

    Change-Id: Ic9a591fe739dd4ee3b0ad0130190e000404fb73a

Changed in openstack-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/307680

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible (stable/mitaka)

Reviewed: https://review.openstack.org/307680
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=a27c1e4b6386f782e8813d5615ba8159fee74ada
Submitter: Jenkins
Branch: stable/mitaka

commit a27c1e4b6386f782e8813d5615ba8159fee74ada
Author: Jean-Philippe Evrard <email address hidden>
Date: Thu Apr 14 17:14:19 2016 +0100

    Adding modularity to keepalived configuration

    This patch introduces modularity into the default keepalived
    configuration: Currently, keepalived uses a ping to check its
    alive status. The IP was hard setted in the configuration file.

    This patch introduces multiple variables:
    - keepalived_ping_address
    - keepalived_ping_count
    - keepalived_ping_interval

    The one probably used the most will be the
    ``keepalived_ping_address``. It's therefore listed in
    ``user_variables`` with the other keepalived variables.

    Fixes-Bug: #1570420

    Change-Id: Ic9a591fe739dd4ee3b0ad0130190e000404fb73a
    (cherry picked from commit ae99efd64c367108075df6930f9a66b3c979b8e6)

tags: added: in-stable-mitaka
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.