periodic-tripleo-ci-centos-9-scenario001-standalone-master failing with "Error: can only create exec sessions on running containers: container state improper", "stderr_lines": ["Error: can only create exec sessions on running containers: container state improper"]
Following is the traceback observed;-
2022-08-25 05:05:49.943073 | fa163e02-628f-531e-573f-0000000051df | FATAL | add access to podman to collectd user | standalone | error={"changed": true, "cmd": "sudo podman exec -it collectd setfacl -R -m u:collectd:rwx /run/podman", "delta": "0:00:00.112981", "end": "2022-08-25 09:05:49.917607", "msg": "non-zero return code", "rc": 255, "start": "2022-08-25 09:05:49.804626", "stderr": "Error: can only create exec sessions on running containers: container state improper", "stderr_lines": ["Error: can only create exec sessions on running containers: container state improper"], "stdout": "", "stdout_lines": []}
For more reference please refer to the following links:-
- https://logserver.rdoproject.org/83/40083/20/check/periodic-tripleo-ci-centos-9-scenario001-standalone-master/2f66046/logs/undercloud/home/zuul/standalone_deploy.log.txt.gz
- https://logserver.rdoproject.org/openstack-periodic-integration-main/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-9-scenario001-standalone-master/a4e337c/logs/undercloud/home/zuul/standalone_deploy.log.txt.gz
- https://logserver.rdoproject.org/56/36356/68/check/periodic-tripleo-ci-centos-9-scenario001-standalone-master/b95367a/logs/undercloud/home/zuul/standalone_deploy.log.txt.g
The error message says that collectd container is not running yet, we might need to improve this code. The error happens on a recent code added:
https:/ /opendev. org/openstack/ tripleo- heat-templates/ commit/ 298463b8104665b 7cd7afea70c6d29 52384d6b89