Failure on "copy certificate, chgrp, restart haproxy" task while updating from Red Hat OpenStack Platform 16.1 to 16.2
Issue
-
It failed to update controller nodes from 16.1 to 16.2 with the following error message.
$ openstack overcloud update run --stack overcloud --limit Controller : "2022-01-01 01:03:05.985885 | aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa | FATAL | copy certificate, chgrp, restart haproxy | controller-0 | item=19ed081f9fea | error={\"ansible_loop_var\": \"item\", \"changed\": true, \"cmd\": \"set -e\\nif podman ps -f \\\"id=aaaaaaaaaaaa\\\" --format \\\"{{.Names}}\\\" | grep -q \\\"^haproxy-bundle\\\"; then\\n tar -c /etc/pki/tls/private/overcloud_endpoint.pem | podman exec -i aaaaaaaaaaaa tar -C / -xv\\nelse\\n podman cp /etc/pki/tls/private/overcloud_endpoint.pem aaaaaaaaaaaa:/etc/pki/tls/private/overcloud_endpoint.pem\\nfi\\npodman exec --user root aaaaaaaaaaaa chgrp haproxy /etc/pki/tls/private/overcloud_endpoint.pem\\npodman kill --signal=HUP aaaaaaaaaaaa\\n\", \"delta\": \"0:00:00.619092\", \"end\": \"2022-01-01 01:03:05.925234\", \"item\": \"aaaaaaaaaaaa\", \"msg\": \"non-zero return code\", \"rc\": 2, \"start\": \"2022-01-01 01:03:05.306142\", \"stderr\": \"tar: Removing leading `/' from member names\\ntar: This does not look like a tar archive\\ntar: Exiting with failure status due to previous errors\\nError: non zero exit code: 2: OCI runtime error\", \"stderr_lines\": [\"tar: Removing leading `/' from member names\", \"tar: This does not look like a tar archive\", \"tar: Exiting with failure status due to previous errors\", \"Error: non zero exit code: 2: OCI runtime error\"], \"stdout\": \"\", \"stdout_lines\": []}", :
Environment
- Red Hat OpenStack Platform 16.1
- Red Hat OpenStack Platform 16.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.