User Tools

Site Tools


services:paddles

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
services:paddles [2023/08/21 22:07]
zmc [Starting/Restarting service]
services:paddles [2023/08/21 22:20] (current)
zmc [Updating/Fixing Zombie Jobs]
Line 5: Line 5:
 The service runs on a baremetal host, [[hardware:​infrastructure#​pulpitofrontsepiacephcom|pulpito.front.sepia.ceph.com]],​ deployed via the ceph-cm-ansible role: https://​github.com/​ceph/​ceph-cm-ansible/​tree/​main/​roles/​paddles The service runs on a baremetal host, [[hardware:​infrastructure#​pulpitofrontsepiacephcom|pulpito.front.sepia.ceph.com]],​ deployed via the ceph-cm-ansible role: https://​github.com/​ceph/​ceph-cm-ansible/​tree/​main/​roles/​paddles
  
 +It is operated by ''​docker service'':​ https://​docs.docker.com/​engine/​reference/​commandline/​service/,​ utilizing replication,​ health checks, and automatic rollbacks.
 ===== Backups ===== ===== Backups =====
 The '​paddles'​ db is backed up daily by the [[services:​backups#​backupsh|backup.sh]] script on gitbuilder-archive. The '​paddles'​ db is backed up daily by the [[services:​backups#​backupsh|backup.sh]] script on gitbuilder-archive.
Line 27: Line 28:
 <​code>​ <​code>​
 ssh paddles.front.sepia.ceph.com ssh paddles.front.sepia.ceph.com
-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"+sudo docker exec -it $(sudo docker ps --filter "​health=healthy"​ --filter "name=paddles" ​--format "{{.ID}}" | head -n1) sh -c "pecan expire_jobs config.py -q 14 -r 30"
 </​code>​ </​code>​
  
services/paddles.1692655632.txt.gz ยท Last modified: 2023/08/21 22:07 by zmc