fix STALE message when cta-taped is restarting
As it was reported by @vlado in the issue (#498 (closed))[https://gitlab.cern.ch/cta/operations/-/issues/498#note_5019929] in cta/operations, when testing cta-taped
stopping and starting, it was observed the usual 51 years old STALE count:
[root@tpsrv037 ~]# cta-admin dr ls
library drive host desired request status since vid tapepool vo files data MB/s session priority activity age reason
IBM360 I3600543 tpsrv037 Up - Free 540 - - - - - - - 0 - 8 -
[root@tpsrv037 ~]# systemctl restart cta-taped
[root@tpsrv037 ~]# cta-admin dr ls
library drive host desired request status since vid tapepool vo files data MB/s session priority activity age reason
IBM360 I3600543 tpsrv037 Down - Down 1 - - - - - - - 0 - 1637660300 [STALE] [cta-taped] INFO Startup
[root@tpsrv037 ~]# cta-admin dr ls
library drive host desired request status since vid tapepool vo files data MB/s session priority activity age reason
IBM360 I3600543 tpsrv037 Down - Down 5 - - - - - - - 0 - 4 [cta-taped] INFO Startup
Edited by Jorge Camarero Vera