Paunch warning are logged on standard output, cannot be silenced
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
paunch |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In recent podman-based environment such as those used by undercloud upgrade CI job [1], when I run paunch to list the configured containers on the system, I get spurious warnings:
[zuul@subnode-0 ~]$ sudo paunch list --default-runtime docker -f json
image_exist isn't supported by docker
image_exist isn't supported by docker
image_exist isn't supported by docker
image_exist isn't supported by docker
image_exist isn't supported by docker
image_exist isn't supported by docker
[...]
[
{
"status": "running",
"container": "rabbitmq",
"image": "docker.
"config": "tripleo_step1",
"command": "kolla_start"
},
[...]
The problem is that those warning cannot be silenced because paunch logs warnings both logs in the log file (can be overriden at command line) _and_ to stdout [2].
Consequently, paunch's output is mangled with warning and this makes it hard to parse and process.
[1] e.g. tripleo-
[2] https:/
Changed in paunch: | |
status: | New → Fix Released |
https:/ /review. openstack. org/#/c/ 630211/