dmwm / CMSRucio

7 stars 31 forks source link

Bug: Do not run consistency check when a site is in Downtime #856

Open dynamic-entropy opened 1 month ago

dynamic-entropy commented 1 month ago

Bug Description

CC is unaware of the site status and runs on all configured sites. It should skip sites that are not healthy. This helps avoid noise in CC monitoring.

Reproduction Steps

No response

Expected Behavior

No response

Possible Solution

Set CC attribute to false for the RSE.

Related Issues

No response

mrguilima commented 1 month ago

How are the consistency config supposed to programmatically obtain information about any downtimes?

dynamic-entropy commented 1 month ago

This should be done outside of CC itself. Most probably as part of this script: https://github.com/dmwm/CMSRucio/blob/master/docker/rucio_client/scripts/setSiteAvailability

Which would then set CE_config.ce_disabled to true.