Implement ArchiveMount::getMountInfo, setTapeSessionStats
After the file has been succesfuly transferred to tape, we need to take care of implementing the various validations.
WARN" PID="295" TID="427" MSG="Failed to update catalogue for the tape mounted for archive." drive_name="VDSTK11" instance="CI" sched_backend="VFS" thread="TapeWrite" tapeDrive="VDSTK11" tapeVid="V01007" mountId="1" vo="vo" tapePool="ctasystest" mediaType="T10K500G" logicalLibrary="VDSTK11" mountType="ArchiveForUser" vendor="vendor" capacityInBytes="500000000000" catalogueTime="0.000710"
Apr 17 10:28:02.034130 tpsrv01 cta-taped: LVL="I
ERROR" PID="295" TID="428" MSG="In ArchiveMount::reportJobsBatchTransferred(): got an exception" drive_name="VDSTK11" instance="CI" sched_backend="VFS" thread="MainThread" tapeDrive="VDSTK11" mountId="1" vo="vo" tapePool="ctasystest" exceptionMessageValue="Not implemented"
Apr 17 10:28:02.053776 tpsrv01 cta-taped: LVL="WARN" PID="295" TID="428" MSG="In MigrationReportPacker::ReportFlush::execute(): failed to failReport for the archive job because of CTA exception." drive_name="VDSTK11" instance="CI" sched_backend="VFS" thread="MainThread" tapeDrive="VDSTK11" mountId="1" vo="vo" tapePool="ctasystest" fileId="4294967296" latestError="" exceptionMSG="In ArchiveMount::reportJobsBatchTransferred(): got an exception"
Apr 17 10:28:02.053847 tpsrv01 cta-taped: LVL="ERROR" PID="295" TID="428" MSG="In MigrationReportPacker::WorkerThread::run(): Received a CTA exception while reporting archive mount results." drive_name="VDSTK11" instance="CI" sched_backend="VFS" thread="ReportPacker" tapeDrive="VDSTK11" tapeVid="V01007" mountId="1" vo="vo" tapePool="ctasystest" exceptionMSG="In ArchiveMount::reportJobsBatchTransferred(): got an exception"
Apr 17 10:28:02.053894 tpsrv01 cta-taped: LVL="DEBUG" PID="295" TID="428" MSG="In MigrationReportPacker::WorkerThread::run(): Draining leftover." drive_name="VDSTK11" instance="CI" sched_backend="VFS" thread="ReportPacker" tapeDrive="VDSTK11" tapeVid="V01007" mountId="1" vo="vo" tapePool="ctasystest" typeId="castor::tape::tapeserver::daemon::MigrationReportPacker::ReportDriveStatus"
Apr 17 10:28:02.053923 tpsrv01 cta-taped: LVL="
Note: there will be likely a problem with checkum chekcs because of the way it is being currently stored in the Scheduler DB.
Related to #620 (closed)
Edited by Jaroslav Guenther