Avoid multiple fast respawn of cta-taped
If a tape drive is disconnected, cta-taped
is reporting every second the following error:
[1646791810.125196000] Mar 9 03:10:10.125196 tpsrv081.cern.ch cta-taped: LVL="ERROR" PID="10971" TID="10971" MSG="Aborting cta-taped on uncaught exception. Stack trace follows." Message="updateTapeDriveStatus: Cannot update status for drive I3550943. Drive not found."
[1646791811.222130000] Mar 9 03:10:11.222130 tpsrv081.cern.ch cta-taped: LVL="ERROR" PID="11029" TID="11029" MSG="Aborting cta-taped on uncaught exception. Stack trace follows." Message="updateTapeDriveStatus: Cannot update status for drive I3550943. Drive not found."
[1646791812.318688000] Mar 9 03:10:12.318688 tpsrv081.cern.ch cta-taped: LVL="ERROR" PID="11087" TID="11087" MSG="Aborting cta-taped on uncaught exception. Stack trace follows." Message="updateTapeDriveStatus: Cannot update status for drive I3550943. Drive not found."
[1646791813.461986000] Mar 9 03:10:13.461986 tpsrv081.cern.ch cta-taped: LVL="ERROR" PID="11144" TID="11144" MSG="Aborting cta-taped on uncaught exception. Stack trace follows." Message="updateTapeDriveStatus: Cannot update status for drive I3550943. Drive not found."
[1646791814.594928000] Mar 9 03:10:14.594928 tpsrv081.cern.ch cta-taped: LVL="ERROR" PID="11201" TID="11201" MSG="Aborting cta-taped on uncaught exception. Stack trace follows." Message="updateTapeDriveStatus: Cannot update status for drive I3550943. Drive not found."
[1646791815.705489000] Mar 9 03:10:15.705489 tpsrv081.cern.ch cta-taped: LVL="ERROR" PID="11261" TID="11261" MSG="Aborting cta-taped on uncaught exception. Stack trace follows." Message="updateTapeDriveStatus: Cannot update status for drive I3550943. Drive not found."
[1646791816.826017000] Mar 9 03:10:16.826017 tpsrv081.cern.ch cta-taped: LVL="ERROR" PID="11342" TID="11342" MSG="Aborting cta-taped on uncaught exception. Stack trace follows." Message="updateTapeDriveStatus: Cannot update status for drive I3550943. Drive not found."
[1646791817.921906000] Mar 9 03:10:17.921906 tpsrv081.cern.ch cta-taped: LVL="ERROR" PID="11399" TID="11399" MSG="Aborting cta-taped on uncaught exception. Stack trace follows." Message="updateTapeDriveStatus: Cannot update status for drive I3550943. Drive not found."
[1646791819.042988000] Mar 9 03:10:19.042988 tpsrv081.cern.ch cta-taped: LVL="ERROR" PID="11457" TID="11457" MSG="Aborting cta-taped on uncaught exception. Stack trace follows." Message="updateTapeDriveStatus: Cannot update status for drive I3550943. Drive not found."
[1646791820.148570000] Mar 9 03:10:20.148570 tpsrv081.cern.ch cta-taped: LVL="ERROR" PID="11516" TID="11516" MSG="Aborting cta-taped on uncaught exception. Stack trace follows." Message="updateTapeDriveStatus: Cannot update status for drive I3550943. Drive not found."
This is generating thousands of errors which is completely unecesary.
Related operation issue: https://gitlab.cern.ch/cta/operations/-/issues/654