system-config/playbooks/roles
Clark Boylan 741f5b333d Fixup zuul merger and executor graceful shutdowns
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
2022-09-12 09:23:21 -07:00
..
accessbot Update accessbot config to use OFTC 2021-05-28 18:37:33 +00:00
afs-release Serve meetings.opendev.org 2021-06-02 13:56:19 +10:00
afsmon afsmon: install python3-pip 2020-02-12 16:39:11 +11:00
apache-ua-filter Block restricted user agents for the tarballs site 2020-10-16 17:45:12 +00:00
base Run our base playbook on jammy 2022-08-04 13:40:28 +10:00
borg-backup Borg ignore ansible tmp files 2022-05-05 08:36:20 -07:00
borg-backup-server borg-backup: skip .checkpoint archives 2021-11-03 12:39:10 +11:00
codesearch codesearch: Add robots.txt 2020-11-20 19:13:32 +11:00
configure-kubectl Configure .kube/config on bridge 2019-02-06 15:43:19 -08:00
configure-openstacksdk Add inmotion cloud to cloud launcher 2021-04-21 11:18:40 -07:00
create-venv Also pin pip/setuptools when creating Xenial venvs 2022-08-10 19:35:10 +00:00
disable-puppet-agent Stop running mcollective 2020-05-05 15:00:04 -05:00
dstat-logger dstat-logger: redirect stdout to /dev/null 2021-03-24 22:23:13 +00:00
edit-secrets-script Add edit-secrets script to bridge.o.o 2019-02-27 08:45:11 -08:00
etherpad Merge "etherpad: remove session key" 2022-05-04 06:27:45 +00:00
gerrit Increase the number of Gerrit threads for http requests 2022-08-17 10:34:47 -07:00
gerritbot Run gerritbot with a user that will be shared with matrix-gerritbot 2021-11-05 11:24:05 -07:00
gitea Disable Gravatar in Gitea 2022-08-25 13:53:55 -07:00
gitea-git-repos gitea: set custom avatars for orgs 2022-03-18 11:06:09 +11:00
gitea-lb gitea-haproxy: issue liveness check to HEAD / 2022-03-08 09:46:59 +11:00
gitea-set-org-logos Merge "gitea-set-org-logos: openstack logo centered" 2022-05-13 01:26:43 +00:00
grafana Pin version of grafana-oss container 2022-08-03 17:47:58 +02:00
graphite graphite: fix xFilesFactor 2022-06-28 18:41:17 +10:00
haproxy Merge "gitea-lb: test ssl connections during testing too" 2022-08-04 07:19:03 +00:00
import-gpg-key reprepro: convert to Ansible 2020-10-19 14:06:57 +11:00
install-ansible Remove configuration management for ELK stack 2022-04-18 10:04:06 -07:00
install-ansible-roles puppet: don't run module install steps multiple times 2020-09-03 09:23:05 +10:00
install-apt-repo Vendor the apt repo gpg keys used for Zuul 2020-05-20 13:17:09 -07:00
install-borg install-borg: update to borg 1.1.18 2022-08-10 10:14:56 +10:00
install-certcheck Generate ssl check list directly from letsencrypt variables 2020-05-20 14:27:14 +10:00
install-docker Ensure /etc/apt/sources.list.d exists 2022-08-04 13:40:35 +10:00
install-kubectl Remove snap cleanup tasks 2020-04-16 12:45:36 -05:00
install-osc-container Use openstackclient from container 2020-04-23 07:46:28 -05:00
install-podman Run a gerrit container on review-dev01 2019-10-29 08:29:17 +09:00
iptables Block outbound SMTP connections from test jobs 2021-12-09 18:46:38 +00:00
jitsi-meet Pass PUBLIC_URL to jitsi-meet jvb containers 2022-09-02 21:32:39 +00:00
kerberos-kdc Merge "kerberos-kdc: quote some integers to avoid string/int confusion" 2021-03-22 22:56:26 +00:00
keycloak Pull keycloak from quay.io 2022-05-04 13:08:28 -07:00
letsencrypt-acme-sh-install letsencrypt: make acme.sh exits clearer 2022-08-05 08:18:55 +10:00
letsencrypt-config-certcheck Generate ssl check list directly from letsencrypt variables 2020-05-20 14:27:14 +10:00
letsencrypt-create-certs paste: move certificate to group variable 2022-08-05 08:18:55 +10:00
letsencrypt-install-txt-record Remove some unnecessary debug: statements 2021-05-07 11:11:56 +10:00
letsencrypt-request-certs Update letsencrypt role docs to suggest a specific order 2021-12-03 14:24:13 -08:00
limnoria Update HTML channel logs every 15 minutes 2021-06-28 14:32:35 +00:00
lodgeit Switch lodgeit to run under a dedicated user 2021-11-19 09:11:38 -08:00
logrotate reprepro: convert to Ansible 2020-10-19 14:06:57 +11:00
mailman Update Mailman archive URLs to use HTTPS 2022-07-06 13:25:15 +00:00
mailman-list Use newlist's automate option 2021-12-15 17:42:58 +00:00
mailman-site Update Mailman archive URLs to use HTTPS 2022-07-06 13:25:15 +00:00
master-nameserver Don't log the public loop on master-nameserver 2020-04-08 16:38:15 -05:00
matrix-eavesdrop Move #zuul from OFTC to Matrix 2021-08-20 14:44:44 -07:00
matrix-gerritbot Update gerritbot-matrix version to include wipness 2022-04-12 14:41:53 +00:00
mirror Increase PyPI substitute line length limit to 20m 2022-07-21 21:53:27 +00:00
mirror-update Revert "Use rackspace mirror to sync centos stream repos" 2022-09-01 12:09:24 +00:00
nameserver nameserver: Allow master server to notify via ipv6 2020-10-28 09:26:14 +00:00
nodepool-base nodepool-base: prefer ZK IPv6 addresses 2021-04-21 16:56:07 +10:00
nodepool-base-legacy Add initial Ansible for nodepool hosts 2020-03-06 14:02:52 +11:00
nodepool-builder Run daily backups of nodepool zk image data 2021-09-16 14:12:08 -07:00
nodepool-launcher Auto update nodepool launchers 2022-06-16 08:23:17 -07:00
openafs-db-server openafs-<db|file>-server: fix role name 2021-02-10 13:49:12 +11:00
openafs-file-server openafs-<db|file>-server: fix role name 2021-02-10 13:49:12 +11:00
openafs-server-config openafs-server-config: install UserList 2021-03-30 09:49:53 +11:00
pip3 Use versioned get-pip.py URL for Ubuntu Bionic 2022-01-30 15:37:58 +00:00
ptgbot Add ptgbot serveralias for redirecting PTG site 2021-10-07 19:34:16 +00:00
puppet-run puppet: don't run module install steps multiple times 2020-09-03 09:23:05 +10:00
puppet-setup-ansible install-ansible: move install_modules.sh to puppet-setup-ansible 2020-09-03 09:28:16 +10:00
rax-dns-backup rax-dns-backup : fix cron output capture 2021-04-15 07:15:09 +10:00
refstack refstack: don't chown db directory 2021-11-05 09:39:29 +11:00
registry Adds support for running zuul-registry as a non-root user 2022-03-03 09:06:51 -08:00
reprepro Update gpg key of puppetlabs repository 2022-08-29 09:38:30 +09:00
root-keys roles: Add README.rst and lint 2018-08-23 21:34:42 +10:00
run-selenium run-selenium: run selenium on a node 2021-01-18 07:58:23 -08:00
static Drop tap-as-a-service tarballs site redirect 2022-03-30 12:57:54 +00:00
statusbot statusbot: don't use opendevstatus name in testing 2021-06-11 22:59:24 +10:00
sync-project-config Stop logging the rsync of puppet 2020-04-30 16:11:42 -05:00
vos-release Add missing newline in vos_release.sudo 2019-11-21 19:08:30 +00:00
zk-ca Zookeeper: listen on plain and TLS ports 2020-06-17 10:38:59 -07:00
zookeeper Purge ZK snapshots more frequently 2021-11-08 07:34:46 -08:00
zuul Remove gearman from Zuul 2022-02-01 13:52:47 -08:00
zuul-executor Fixup zuul merger and executor graceful shutdowns 2022-09-12 09:23:21 -07:00
zuul-lb Do more robust checks against zuul-web with haproxy 2022-03-04 14:17:51 -08:00
zuul-merger Fixup zuul merger and executor graceful shutdowns 2022-09-12 09:23:21 -07:00
zuul-preview Install docker-compose from pypi 2020-04-16 12:08:00 -07:00
zuul-scheduler Replace zuul cli command with zuul-admin 2022-06-10 09:14:34 +02:00
zuul-status-backup Add --fail flag to zuul status backup curl 2020-04-28 08:33:05 -05:00
zuul-user Split eavesdrop into its own playbook 2020-04-23 14:34:28 -05:00
zuul-web zuul-*: use multiline formatter 2021-12-13 14:54:16 +11:00
set-hostname Split eavesdrop into its own playbook 2020-04-23 14:34:28 -05:00