services:paddles
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| services:paddles [2026/07/07 14:10] – [Updating/Fixing Zombie Jobs] djgalloway | services:paddles [2026/10/02 18:49] (current) – djgalloway | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| paddles is a very simple JSON-based API used to report teuthology test results. | paddles is a very simple JSON-based API used to report teuthology test results. | ||
| - | The service runs on a baremetal host, [[hardware: | + | It runs in OpenShift in the '' |
| - | It is operated by '' | + | paddles |
| ===== Backups ===== | ===== Backups ===== | ||
| The ' | The ' | ||
| Line 12: | Line 12: | ||
| ===== Admin Tasks ===== | ===== Admin Tasks ===== | ||
| - | ==== Stopping/ | ||
| - | < | ||
| - | ssh paddles.front.sepia.ceph.com | ||
| - | # Stopping | ||
| - | sudo docker service scale paddles=0 | ||
| - | # Starting | ||
| - | sudo docker service scale paddles=10 | ||
| - | </ | ||
| ==== Updating/ | ==== Updating/ | ||
| Line 27: | Line 19: | ||
| < | < | ||
| - | oc exec -n paddles | + | oc -n paddles |
| </ | </ | ||
| ==== Adding testnodes to the inventory/ | ==== Adding testnodes to the inventory/ | ||
| - | From your workstation, | + | From your workstation |
| < | < | ||
| Line 44: | Line 36: | ||
| </ | </ | ||
| - | ==== Upgrade | + | ==== Upgrading |
| + | Merges to paddles '' | ||
| + | |||
| + | To check what's deployed or force a roll: | ||
| < | < | ||
| - | ssh pulpito.front.sepia.ceph.com | + | oc -n paddles get istag paddles: |
| - | sudo docker service update | + | oc -n paddles rollout restart deploy/paddles |
| </ | </ | ||
| + | |||
| + | ==== Restarting ==== | ||
| + | < | ||
| + | oc -n paddles rollout restart deploy/ | ||
| + | </ | ||
| + | |||
| + | ==== Getting a psql shell ==== | ||
| + | Replicas are read-only, so find the leader first: | ||
| + | < | ||
| + | oc -n paddles-db exec -it $(oc -n paddles-db get pod -l postgres-operator.crunchydata.com/ | ||
| + | # or: patronictl list from any inst pod | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== Troubleshooting ===== | ||
| + | ==== Check the logs ==== | ||
| + | < | ||
| + | oc -n paddles logs deploy/ | ||
| + | # or who changed something in the namespace (console Logs view, audit tenant): | ||
| + | {log_type=" | ||
| + | </ | ||
| + | See [[services: | ||
| + | |||
| + | ==== Pods getting killed every few minutes (exit 137) ==== | ||
| + | Almost always the ''/ | ||
| + | |||
| + | ==== Config changes don't take effect ==== | ||
| + | The image' | ||
| + | |||
| + | ==== Pods Ready but API dead ==== | ||
| + | The readiness/ | ||
| + | |||
| + | ==== Dumping the DB ==== | ||
| + | Run pg_dump against the **primary**, | ||
services/paddles.1783433424.txt.gz · Last modified: by djgalloway
