kolla-ansible/releasenotes/notes/fix-haproxy-limit-precheck-c56b3ac2331867ee.yaml
Mark Goddard 2e514a8cf3 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
(cherry picked from commit f3350d4e13)
(cherry picked from commit 79747c4d8d)
2020-04-02 11:21:37 +01: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>`__.