Comment 3 for bug 1836531

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-ansible (master)

Reviewed: https://review.opendev.org/670971
Committed: https://git.openstack.org/cgit/openstack/tripleo-ansible/commit/?id=d2d53ab69c23f988b800e0f0faacc683b0b41b61
Submitter: Zuul
Branch: master

commit d2d53ab69c23f988b800e0f0faacc683b0b41b61
Author: Jose Luis Franco Arza <email address hidden>
Date: Tue Jul 16 09:45:58 2019 +0200

    Cover the case when the container engine is not available.

    In the case the container engine passed in tripleo_container_cli
    isn't installed (for example: if we try to remove a docker container
    when the instance has podman installed and docker isn't present) then
    the role would fail. This patch includes a guard which in the case
    the container engine passed in tripleo_container_cli doesn't exist
    then nothing is done.
    Besides, a check for the container being run in the docker-rm part
    was missing, this check is being added too.

    Change-Id: Ib5501321fef1a3921fbb17bcfabfb2f5c7c96c41
    Related-Bug: #1836531