Bug 1965237 - container-status validaton fails (pre-upgrade group)
Summary: container-status validaton fails (pre-upgrade group)
Keywords:
Status: CLOSED DUPLICATE of bug 1963872
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-validations
Version: 16.1 (Train)
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: RHOS Maint
QA Contact: nlevinki
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-27 09:08 UTC by Michele Valsecchi
Modified: 2022-08-17 15:16 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-31 09:29:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-4207 0 None None None 2022-08-17 15:16:40 UTC

Description Michele Valsecchi 2021-05-27 09:08:04 UTC
Description of problem:
container-status tries to use podman to verify container status on Overcloud node and fails, as those nodes are still using docker.

Version-Release number of selected component (if applicable):
16.1 (undercloud 16.1, overcloud node still 13.X as this happens _during_ FFU)

How reproducible:


Steps to Reproduce:
1. Complete undercloud upgrade
2. run openstack tripleo validator run --group pre-upgrade --python-interpreter /usr/libexec/platform-python
3. openstack tripleo validator show run <uuid-of-container-status-validator>

Actual results:

Ansible fails with the following log

(undercloud) [stack@openstackhostundercloud ~]$ openstack tripleo validator show run XXXX
{
    "hosts": {
        "overcloud-controller-X": {
            "_ansible_no_log": false,
            "action": "command",
            "changed": false,
            "cmd": "podman ps -a --filter status=exited --format '{{ .Names }} {{ .Status }}'", <======
            "failed": true, <===
            "invocation": {
                "module_args": {
                    "_raw_params": "podman  ps -a --filter 'status=exited' --format '{{ .Names }} {{ .Status }}' \n", <====
...
                }
            },
            "msg": "[Errno 2] No such file or directory", <===
            "rc": 2
        }
    },
    "name": "Get failed containers for podman",
    "status": "FAILED"
}

Expected results:

Ansible should succeed and use docker for said check

Additional info:

This happens for all nodes

Comment 1 Gaël Chamoulaud 2021-05-31 09:29:09 UTC

*** This bug has been marked as a duplicate of bug 1963872 ***


Note You need to log in before you can comment on or make changes to this bug.