paunch: cont_exec_args doesn't support unique names

Bug #1840992 reported by Emilien Macchi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Bogdan Dobrelya

Bug Description

cont_exec_args method doesn't support unique name, it wasn't done in https://review.opendev.org/#/c/676156/.

So every time the method is called during a stack update with existing containers, it's trying to run "podman exec" into a container which doesn't exist anymore.

Tags: containers
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to paunch (master)

Fix proposed to branch: master
Review: https://review.opendev.org/677852

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to paunch (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/679040

Changed in tripleo:
assignee: Emilien Macchi (emilienm) → Bogdan Dobrelya (bogdando)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on paunch (master)

Change abandoned by Bogdan Dobrelya (bogdando) (<email address hidden>) on branch: master
Review: https://review.opendev.org/679040

Changed in tripleo:
milestone: train-3 → ussuri-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to paunch (master)

Reviewed: https://review.opendev.org/677852
Committed: https://git.openstack.org/cgit/openstack/paunch/commit/?id=2609ef687019c263cdcd5ab069044d2a3857a949
Submitter: Zuul
Branch: master

commit 2609ef687019c263cdcd5ab069044d2a3857a949
Author: Emilien Macchi <email address hidden>
Date: Wed Aug 21 19:31:11 2019 -0400

    Add unique names support for cont_exec_args method

    In I5617e11f5d315f408d818e1ce47aa68f4a0d777a we switched
    container_run_args to run the container cli run into a unique container
    name, but we forgot to do it for the container cli execs.

    So this patch will run the exec using the delegated container_name if we
    can otherwise fall back on the fixed container name.

    Co-Authored-By: Bogdan Dobrelya <email address hidden>
    Change-Id: I2654148d566f62b3e3620baf84f504113cb7312d
    Closes-Bug: #1840992

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/paunch 5.3.0

This issue was fixed in the openstack/paunch 5.3.0 release.

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.