loadbalancer upgrade task fails for podman based deployment

Bug #2063896 reported by Michal Wyszkowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Undecided
Michal Wyszkowski
Bobcat
New
Undecided
Unassigned
Caracal
Fix Released
Undecided
Michal Wyszkowski

Bug Description

In podman based deployment, when upgrade is performed, "loadbalancer : Stop and remove containers for haproxy exporter containers" task fails with following error:

fatal: [control02]: FAILED! => {"changed": true, "msg": "'Traceback (most recent call last):\\n File \"/tmp/ansible_kolla_container_payload_lq3twr8l/ansible_kolla_container_payload.zip/ansible/modules/kolla_container.py\", line 416, in main\\n File \"/tmp/ansible_kolla_container_payload_lq3twr8l/ansible_kolla_container_payload.zip/ansible/module_utils/kolla_docker_worker.py\", line 15, in <module>\\n import docker\\nModuleNotFoundError: No module named \\'docker\\'\\n'"}
fatal: [control01]: FAILED! => {"changed": true, "msg": "'Traceback (most recent call last):\\n File \"/tmp/ansible_kolla_container_payload_m3e50v0z/ansible_kolla_container_payload.zip/ansible/modules/kolla_container.py\", line 416, in main\\n File \"/tmp/ansible_kolla_container_payload_m3e50v0z/ansible_kolla_container_payload.zip/ansible/module_utils/kolla_docker_worker.py\", line 15, in <module>\\n import docker\\nModuleNotFoundError: No module named \\'docker\\'\\n'"}
fatal: [control03]: FAILED! => {"changed": true, "msg": "'Traceback (most recent call last):\\n File \"/tmp/ansible_kolla_container_payload_tj89qi2d/ansible_kolla_container_payload.zip/ansible/modules/kolla_container.py\", line 416, in main\\n File \"/tmp/ansible_kolla_container_payload_tj89qi2d/ansible_kolla_container_payload.zip/ansible/module_utils/kolla_docker_worker.py\", line 15, in <module>\\n import docker\\nModuleNotFoundError: No module named \\'docker\\'\\n'"}

Changed in kolla-ansible:
status: New → In Progress
assignee: nobody → Michal Wyszkowski (micwyszk)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/917258
Committed: https://opendev.org/openstack/kolla-ansible/commit/ca90fb83279b67e3fcd613f025427dc4d059f1a2
Submitter: "Zuul (22348)"
Branch: master

commit ca90fb83279b67e3fcd613f025427dc4d059f1a2
Author: Michal Wyszkowski <email address hidden>
Date: Sat Apr 27 02:18:02 2024 +0200

    loadbalancer: fix upgrade task when podman is used

    Closes-Bug: 2063896
    Change-Id: Ie0d6a8f458562eb32171b5fe23b8cd0cd375dcfb

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

Fix proposed to branch: stable/2024.1
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/918648

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

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/918648
Committed: https://opendev.org/openstack/kolla-ansible/commit/8bc386740393866022ff701a5054b73ab77806e7
Submitter: "Zuul (22348)"
Branch: stable/2024.1

commit 8bc386740393866022ff701a5054b73ab77806e7
Author: Michal Wyszkowski <email address hidden>
Date: Sat Apr 27 02:18:02 2024 +0200

    loadbalancer: fix upgrade task when podman is used

    Closes-Bug: 2063896
    Change-Id: Ie0d6a8f458562eb32171b5fe23b8cd0cd375dcfb
    (cherry picked from commit ca90fb83279b67e3fcd613f025427dc4d059f1a2)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 18.0.0.0rc2

This issue was fixed in the openstack/kolla-ansible 18.0.0.0rc2 release candidate.

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.