Staging instance, all changes can be removed at any time

Skip to content

save-code-now: Update waiting request statuses

Guillaume Samson requested to merge scn_statuses into master

Since the status of save-code-now requests has been updated, all the scn icinga checks were in error with an unsupported status:

SAVECODENOW CRITICAL - Save code now request for origin [...] took 0.00s and resulted in unsupported status: accepted ; pending.

This modification updates these statuses to restore icinga alerts and are already applied/tested on pergamon:

root@pergamon:~# grep "^#*WAITING" /usr/lib/python3/dist-packages/swh/icinga_plugins/save_code_now.py
#WAITING_STATUSES = ("not yet scheduled", "running", "scheduled")
WAITING_STATUSES = ("pending", "running")

Merge request reports

Loading