Paunch podman runner requires adaptation for incompatible docker'ish CLI

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

Bug Description

BaseRunner's current_config_ids in paunch is broken for podman CLI, there is no --format '{{.Label "foo"}}' in podman:

template: output:1:2: executing "output" at <.Label>: can't evaluate field Label in type shared.PsContainerOutput

podman instead takes:

# podman ps -a --filter label=config-id=123 --format '{{.Labels}}'
name=ccc,config-id=123

Changed in tripleo:
importance: Undecided → High
milestone: none → stein-1
Changed in tripleo:
status: New → In Progress
assignee: nobody → Bogdan Dobrelya (bogdando)
description: updated
description: updated
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to paunch (master)

Fix proposed to branch: master
Review: https://review.openstack.org/614290

Changed in tripleo:
milestone: stein-1 → stein-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on paunch (master)

Change abandoned by Juan Antonio Osorio Robles (<email address hidden>) on branch: master
Review: https://review.openstack.org/614290
Reason: clearing the gate

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Alex Schultz (<email address hidden>) on branch: master
Review: https://review.openstack.org/614290
Reason: Clearing the gate. Do not retore this until being given the all clear. See http://lists.openstack.org/pipermail/openstack-discuss/2018-November/000368.html

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

Reviewed: https://review.openstack.org/614290
Committed: https://git.openstack.org/cgit/openstack/paunch/commit/?id=4a61309e637be4d3ba8e4bc19172447155146c81
Submitter: Zuul
Branch: master

commit 4a61309e637be4d3ba8e4bc19172447155146c81
Author: Bogdan Dobrelya <email address hidden>
Date: Tue Oct 30 17:05:18 2018 +0100

    W/a Label filter is broken for podman vs docker

    Related https://github.com/containers/libpod/issues/1729
    Use the format that currently works for podman, but is not
    compatible to docker CLI.

    Closes-Bug: #1798785
    Change-Id: Ibd9ce9c2e21eaff1404f37a680fccbec0c212223
    Signed-off-by: Bogdan Dobrelya <email address hidden>

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

This issue was fixed in the openstack/paunch 4.2.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.