services:paddles
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| services:paddles [2021/04/29 15:30] – [Upgrade Paddles] 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 | + | It runs in OpenShift in the '' |
| + | paddles is **not** publicly exposed. | ||
| ===== Backups ===== | ===== Backups ===== | ||
| The ' | The ' | ||
| Line 11: | Line 12: | ||
| ===== Admin Tasks ===== | ===== Admin Tasks ===== | ||
| - | ==== Starting/ | ||
| - | < | ||
| - | ssh ubuntu@paddles.front.sepia.ceph.com | ||
| - | sudo supervisorctl stop|stop|restart paddles | ||
| - | </ | ||
| ==== Updating/ | ==== Updating/ | ||
| Line 23: | Line 19: | ||
| < | < | ||
| - | ssh ubuntu@paddles.front.sepia.ceph.com | + | oc -n paddles |
| - | cd ~/paddles | + | |
| - | source virtualenv/ | + | |
| - | pecan expire_jobs | + | |
| </ | </ | ||
| ==== Adding testnodes to the inventory/ | ==== Adding testnodes to the inventory/ | ||
| - | From your workstation, | + | From your workstation |
| < | < | ||
| Line 43: | 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 |
| - | sudo su - ubuntu | + | oc -n paddles |
| - | sudo supervisorctl stop paddles | + | |
| - | cp -r paddles | + | |
| - | cd paddles | + | |
| - | git pull | + | |
| - | source virtualenv/bin/ | + | |
| - | python setup.py develop | + | |
| - | deactivate | + | |
| - | sudo supervisorctl start 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.1619710210.txt.gz · Last modified: by djgalloway
