Starting cleaner after crash

Hi,

Can you please explain the meaning of the following cta-taped log message

{"epoch_time":1757693805.009288659,"local_time":"2025-09-12T17:16:45+0100","hostname":"getafix-ts17","program":"cta-taped","log_level":"INFO","pid":1084630,"tid":1084630,"message":"In DriveHandler::runChild(): starting cleaner after crash with tape potentially loaded.","drive_name":"obelix_ts1170_20","instance":"antares","sched_backend":"cephUser","capacityInBytes":"50000000000000","logicalLibrary":"obelix_ts1170","mediaType":"TS1170","mountAttempted":"1","mountId":"3119165","mountType":"Retrieve","tapePool":"diamond_m03","tapeVid":"TD4188","vendor":"IBM","vo":"storaged_dls","volReqId":"3119165","SubprocessName":"drive:obelix_ts1170_20","tapeDrive":"obelix_ts1170_20","PreviousState":"StartingUp","PreviousType":"Cleanup"}
{"epoch_time":1757693805.014154344,"local_time":"2025-09-12T17:16:45+0100","hostname":"getafix-ts17","program":"cta-taped","log_level":"INFO","pid":1084630,"tid":1084630,"message":"Cleaner waiting for drive to be ready","drive_name":"obelix_ts1170_20","instance":"antares","sched_backend":"cephUser","tapeVid":"TD4188","tapeDrive":"obelix_ts1170_20","waitMediaInDriveTimeout":1200}

This is after cta-taped tried to mount a tape and it failed…even after a couple of rounds of restarts. Why this is happening?

Thanks,

George

Hello George,

I need some extra information to understand what might be happening.

What happens after those log lines? Why does the cleaner session fail? A timeout while it waits for the drive to be “ready“? Any other exception? There should be some extra log lines containing this information.

When you say `even after a couple of restarts` do you mean the drive process restarting after failing the cleaner session? Or killing the main taped process?

Kind regards,
Pablo