Page MenuHomeSoftware Heritage

Add a flag file to disable the swh-worker-ping-restart crontab
Open, NormalPublic

Description

When doing manual deployments, we want to disable the swh-worker-ping-restart cron.

The current way of doing this is: disabling the systemd services for the relevant workers, then disabling the puppet agent to avoid it enabling the services again. That's pretty bad UX !

We should implement a canary file that the cron checks to see if it should restart the service or not.

Once this canary file is enabled, we should add an icinga check on the age of this file (warning after 2 hours, error after 24 hours?)

Event Timeline

olasd triaged this task as Normal priority.Mon, Sep 7, 10:44 AM
olasd created this task.