This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
services:paddles [2023/08/21 22:09] zmc [Summary] |
services:paddles [2026/07/07 20:28] (current) djgalloway |
||
|---|---|---|---|
| Line 12: | Line 12: | ||
| ===== Admin Tasks ===== | ===== Admin Tasks ===== | ||
| - | ==== Stopping/Starting the service ==== | ||
| - | <code> | ||
| - | ssh paddles.front.sepia.ceph.com | ||
| - | # Stopping | ||
| - | sudo docker service scale paddles=0 | ||
| - | # Starting | ||
| - | sudo docker service scale paddles=10 | ||
| - | </code> | ||
| ==== Updating/Fixing Zombie Jobs ==== | ==== Updating/Fixing Zombie Jobs ==== | ||
| Line 27: | Line 19: | ||
| <code> | <code> | ||
| - | ssh paddles.front.sepia.ceph.com | + | oc exec -n paddles $(oc get pods -n paddles -o name | grep -v build | head -1) -- pecan expire_jobs config.py -q 14 -r 30 |
| - | sudo docker exec -it $(sudo docker ps | grep paddles | head -n 1 | awk '{ print $1 }') sh -c "pecan expire_jobs config.py -q 14 -r 30" | + | |
| </code> | </code> | ||
| ==== Adding testnodes to the inventory/DB ==== | ==== Adding testnodes to the inventory/DB ==== | ||
| - | From your workstation, | + | From your workstation or anywhere with a valid ''teuthology.yaml'', |
| <code> | <code> | ||
| Line 46: | Line 37: | ||
| ==== Upgrade Paddles ==== | ==== Upgrade Paddles ==== | ||
| - | <code> | + | The paddles API / Web UI services live in Openshift in the ''paddles'' namespace. There is a cronjob that checks quay.io/ceph/paddles for a new image every 5 minutes. The ImageStream will automatically deploy any new images. See https://github.com/ceph/sepia-openshift/tree/main/paddles |
| - | ssh pulpito.front.sepia.ceph.com | + | |
| - | sudo docker service update --image quay.io/ceph-infra/paddles:main paddles --force | + | |
| - | </code> | + | |