741f5b333d
There are two issues in the zuul merger and executor shutdowns. The first is that `docker-compose ps -q` will report exited containers unlike `docker ps -q`. This means we may try to exec into a non running container which is an error. Handle this by checking the error message and proceeding if the 'is not running' string is present. The second issue is a race between stopping a container and running an exec in the container. If a container stops while an exec is running in it that exec appears to be treated with some equivalent of kill -9. The result is the exec returns 137. While theoretically possible for both executor and merger graceful stop command we seem to only hit this with the merger so we handle exit code 137 for the merger only. This way we'll get info if the executors start running into this too. Change-Id: Ia6dc2d7e397631d72968ffa89c4492b803c89c47 |
||
---|---|---|
.. | ||
filter_plugins | ||
group_vars | ||
k8s | ||
module_utils/facts/system | ||
periodic | ||
roles | ||
templates/clouds | ||
zuul | ||
apply-package-updates.yaml | ||
base.yaml | ||
bootstrap-bridge.yaml | ||
bootstrap-k8s-nodes.yaml | ||
gitea-rename-setup-org.yaml | ||
gitea-rename-tasks.yaml | ||
install_puppet.yaml | ||
letsencrypt.yaml | ||
manage-projects.yaml | ||
nodepool_pull.yaml | ||
nodepool_restart.yaml | ||
nodepool_start.yaml | ||
nodepool_stop.yaml | ||
remote_puppet_adhoc.yaml | ||
remote_puppet_else.yaml | ||
rename_repos.yaml | ||
run_cloud_launcher.yaml | ||
run-accessbot.yaml | ||
service-afs.yaml | ||
service-borg-backup.yaml | ||
service-bridge.yaml | ||
service-codesearch.yaml | ||
service-dstatlogger.yaml | ||
service-eavesdrop.yaml | ||
service-etherpad.yaml | ||
service-gitea-lb.yaml | ||
service-gitea.yaml | ||
service-grafana.yaml | ||
service-graphite.yaml | ||
service-kerberos.yaml | ||
service-keycloak.yaml | ||
service-lists.yaml | ||
service-meetpad.yaml | ||
service-mirror-update.yaml | ||
service-mirror.yaml | ||
service-nameserver.yaml | ||
service-nodepool.yaml | ||
service-paste.yaml | ||
service-refstack.yaml | ||
service-registry.yaml | ||
service-review.yaml | ||
service-static.yaml | ||
service-zookeeper.yaml | ||
service-zuul-lb.yaml | ||
service-zuul-preview.yaml | ||
service-zuul.yaml | ||
set-hostnames.yaml | ||
start-mergers-executors.yaml | ||
stop-mergers-executors.yaml | ||
sync-gitea-projects.yaml | ||
test-borg-backup.yaml | ||
test-codesearch.yaml | ||
test-gitea.yaml | ||
test-grafana.yaml | ||
test-kerberos.yaml | ||
test-lists.yaml | ||
test-manage-projects.yaml | ||
test-paste.yaml | ||
test-update-zuul-description.yaml | ||
unattended_upgrades.yml | ||
update_puppet_version.yaml | ||
zuul_pull.yaml | ||
zuul_reboot.yaml | ||
zuul_reconfigure.yaml | ||
zuul_restart.yaml | ||
zuul_rolling_restart.yaml | ||
zuul_start.yaml | ||
zuul_stop.yaml |