From ca90fb83279b67e3fcd613f025427dc4d059f1a2 Mon Sep 17 00:00:00 2001 From: Michal Wyszkowski Date: Sat, 27 Apr 2024 02:18:02 +0200 Subject: [PATCH] loadbalancer: fix upgrade task when podman is used Closes-Bug: 2063896 Change-Id: Ie0d6a8f458562eb32171b5fe23b8cd0cd375dcfb --- ansible/roles/loadbalancer/tasks/upgrade.yml | 1 + releasenotes/notes/bug-2063896-f6a4853a2e5046da.yaml | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 releasenotes/notes/bug-2063896-f6a4853a2e5046da.yaml diff --git a/ansible/roles/loadbalancer/tasks/upgrade.yml b/ansible/roles/loadbalancer/tasks/upgrade.yml index 5407bfed60..57fa9c5813 100644 --- a/ansible/roles/loadbalancer/tasks/upgrade.yml +++ b/ansible/roles/loadbalancer/tasks/upgrade.yml @@ -5,6 +5,7 @@ become: true kolla_container: action: "stop_and_remove_container" + common_options: "{{ docker_common_options }}" name: "prometheus_haproxy_exporter" when: - inventory_hostname in groups['loadbalancer'] diff --git a/releasenotes/notes/bug-2063896-f6a4853a2e5046da.yaml b/releasenotes/notes/bug-2063896-f6a4853a2e5046da.yaml new file mode 100644 index 0000000000..ec57688c6f --- /dev/null +++ b/releasenotes/notes/bug-2063896-f6a4853a2e5046da.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Fixes a bug where loadbalancer upgrade task fails, + when podman was used as container engine. + `LP#2063896 `__