Resolve "Add log param `mountAttempted` to DataTransferSession"
requested to merge 978-do-not-set-datatransfersession-session-field-to-failure-if-tape-we-did-not-even-attempt-to into main
Summary
Tape session finished of a successfull mount:
{"epoch_time":1732808718.353367226,"local_time":"2024-11-28T16:45:18+0100","hostname":"tpsrv01-0","program":"cta-taped","log_level":"INFO","pid":496,"tid":496,"message":"Tape session finished",
[...]
"mountAttempted":"1","status":"success","wasTapeMounted":"1",
[...]
,"exitCode":0,"killSignal":0}
Tape session finished without tape mount attempt (generated in the abort retrieve req test):
{"epoch_time":1732808705.456747029,"local_time":"2024-11-28T16:45:05+0100","hostname":"tpsrv01-0","program":"cta-taped","log_level":"INFO","pid":496,"tid":496,"message":"Tape session finished",
[...]
,"mountAttempted":"0","status":"failure","wasTapeMounted":"0"
[...]
,"errorMessage":"Aborted: empty recall mount","tapeDrive":"VDSTK01","subprocessPid":1218,"exitCode":0,"killSignal":0}
Additional Required Actions
- Requires manual tests in pre-production: YES/NO
- Requires a documentation update: YES/NO
References
Closes #978 (closed)
Edited by Pablo Oliver Cortes