kolla-ansible/releasenotes/notes/fix-haproxy-limit-precheck-c56b3ac2331867ee.yaml
Mark Goddard f3350d4e13 Fix HAProxy prechecks during scale-out with limit
Deploy HAProxy on one or more servers. Add another server to the
inventory in the haproxy group, and run the following:

kolla-ansible prechecks --limit <new host>

The following task will fail:

    TASK [haproxy : Checking if kolla_internal_vip_address and
    kolla_external_vip_address are not pingable from any node]

This happens because ansible does not execute on hosts where
haproxy/keepalived is running, and therefore does not know that the VIP
should be active.

This change skips VIP prechecks when not all HAProxy hosts are in the
play.

Closes-Bug: #1868986

Change-Id: Ifbc73806b768f76f803ab01c115a9e5c2e2492ac
2020-03-25 17:10:48 +00:00

7 lines
192 B
YAML

---
fixes:
- |
Fixes an issue with HAProxy prechecks when scaling out using ``--limit`` or
``--serial``. `LP#1868986
<https://bugs.launchpad.net/kolla-ansible/+bug/1868986>`__.