services:paddles
This is an old revision of the document!
Table of Contents
paddles
Summary
paddles is a very simple JSON-based API used to report teuthology test results. See https://github.com/ceph/paddles
The service runs on a baremetal host, pulpito.front.sepia.ceph.com from /home/ubuntu.
Backups
The 'paddles' db is backed up daily by the backup.sh script on gitbuilder-archive.
Backups are located in gitbuilder-archive:/home/backup/paddles.front.sepia.ceph.com-psql/paddles
Admin Tasks
Starting/Restarting service
ssh ubuntu@paddles.front.sepia.ceph.com sudo supervisorctl stop|stop|restart paddles
Updating/Fixing Zombie Jobs
For jobs that indicate they're running but aren't, expire_jobs can be used.
The following example would expire any queued jobs 14 days old or older and any running jobs that haven't been updated in 30 minutes.
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"
Adding testnodes to the inventory/DB
From your workstation,
cd ~/src/teuthology source ./virtualenv/bin/activate # Edit docs/_static/create_nodes.py # (paddles_url, machine_type, lab_domain, and machine_index_range) # These can all be found in teuthology.yaml on a teuthology host python docs/_static/create_nodes.py
Upgrade Paddles
ssh pulpito.front.sepia.ceph.com sudo docker service update --image quay.io/ceph-infra/paddles:main paddles --force
services/paddles.1692655203.txt.gz · Last modified: by zmc
