Page MenuHomeSoftware Heritage

Cleanup old ghtorrent scheduler services
Closed, MigratedEdits Locked

Description

There is some service not used anymore installed on the scheduler host and not used (and not working anymore triggering a monitoring alert if restarted).

They are not managed by puppet and should be manually deleted:

  • swh-scheduler-updater-consumer-ghtorrent.service
  • swh-scheduler-updater-writer.service
  • swh-scheduler-updater-writer.timer
  • ssh-ghtorrent.service

Event Timeline

vsellier changed the task status from Open to Work in Progress.Dec 7 2021, 1:54 PM
vsellier triaged this task as Normal priority.
vsellier created this task.
vsellier moved this task from Backlog to in-progress on the System administration board.

on scheduler0:

root@scheduler0:/etc/systemd/system# systemctl stop ssh-ghtorrent
root@scheduler0:/etc/systemd/system# systemctl disable ssh-ghtorrent
root@scheduler0:/etc/systemd/system# systemctl stop swh-scheduler-updater*
root@scheduler0:/etc/systemd/system# systemctl disable swh-scheduler-updater*
root@scheduler0:/etc/systemd/system# rm -v swh-scheduler-updater*
removed 'swh-scheduler-updater-consumer-ghtorrent.service'
removed 'swh-scheduler-updater-writer.service'
removed 'swh-scheduler-updater-writer.timer'
root@scheduler0:/etc/systemd/system# rm ssh-ghtorrent.service 
removed 'ssh-ghtorrent.service'
root@scheduler0:/etc/systemd/system# systemctl reset-failed

on saatchi:

root@saatchi:/etc/systemd/system# rm -v swh-scheduler-updater* ssh-ghtorrent.service 
removed 'swh-scheduler-updater-consumer-ghtorrent.service'
removed 'swh-scheduler-updater-writer.service'
removed 'swh-scheduler-updater-writer.timer'
removed 'ssh-ghtorrent.service'
vsellier moved this task from in-progress to done on the System administration board.