From f6a1e6073174b21e6506cb2f3ca27560040e02fa Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Fri, 5 Aug 2022 14:04:47 +0200 Subject: [PATCH] loadbalancer: ignore missing keepalived container During deployment I got this error: RUNNING HANDLER [loadbalancer : Stop master haproxy container] ok: [192.168.66.143] RUNNING HANDLER [loadbalancer : Stop master proxysql container] ok: [192.168.66.143] RUNNING HANDLER [loadbalancer : Stop master keepalived container] fatal: [192.168.66.143]: FAILED! => changed=false msg: 'No such container: keepalived to stop' Looks like we forgot to allow keepalived to not be present. Change-Id: I720c719a6a6b35c5c2d5b5ee59b48349e58bac82 --- ansible/roles/loadbalancer/handlers/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/roles/loadbalancer/handlers/main.yml b/ansible/roles/loadbalancer/handlers/main.yml index 918522b2f2..6aeb61e235 100644 --- a/ansible/roles/loadbalancer/handlers/main.yml +++ b/ansible/roles/loadbalancer/handlers/main.yml @@ -219,6 +219,7 @@ action: "stop_container" common_options: "{{ docker_common_options }}" name: "keepalived" + ignore_missing: true when: - kolla_action != "config" - groups.kolla_ha_is_master_True is defined