1. 27 Jun, 2017 9 commits
  2. 03 Jun, 2017 1 commit
  3. 27 Jun, 2017 1 commit
    • Steven Murray's avatar
      Fixed ia bug that I introduced into the CTA command-line tool · 4e233d93
      Steven Murray authored
      when I modified it to read results back in a
      "read until end of file" loop.
      
      The bug was that instead of trying to read 1 KiB chunks of data
      from the cta front-end, the chunk size was only 8 bytes (the size
      of 64-bit pointer).  The calculation of the chunk size was
      incorrectly:
      
         sizeof(buf - 1)
      
      instead of:
      
         sizeof(buf) - 1
      4e233d93
  4. 26 Jun, 2017 3 commits
  5. 22 Jun, 2017 1 commit
    • Eric Cano's avatar
      Fixed end of session being reported too early in ArchiveSessions. · bb2436c1
      Eric Cano authored
      This led to VID being marked as available during unmount, and another drive could try an mount the same tape.
      Added various logs.
      
      The following sequence was observed in tests (with a sleep(3) at the end of MigrationReportPacker::ReportDriveStatus::execute() ):
       [eric@localhost ~]$ date; kubectl -n cta exec ctacli -- cta dr ls VDSTK11
      Thu Jun 22 11:19:10 CEST 2017
          drive   host  library  mountType    status  desiredUp  forceDown     vid
        VDSTK11  tpsrv  VLSTK10    Archive  Mounting         UP             V01001
      [eric@localhost ~]$ date; kubectl -n cta exec ctacli -- cta dr ls VDSTK11
      Thu Jun 22 11:19:12 CEST 2017
          drive   host  library  mountType       status  desiredUp  forceDown     vid
        VDSTK11  tpsrv  VLSTK10    Archive  Transfering         UP             V01001
      [eric@localhost ~]$ date; kubectl -n cta exec ctacli -- cta dr ls VDSTK11
      Thu Jun 22 11:19:16 CEST 2017
          drive   host  library  mountType      status  desiredUp  forceDown     vid
        VDSTK11  tpsrv  VLSTK10    Archive  CleaningUp         UP             V01001
      [eric@localhost ~]$ date; kubectl -n cta exec ctacli -- cta dr ls VDSTK11
      Thu Jun 22 11:19:18 CEST 2017
          drive   host  library  mountType     status  desiredUp  forceDown     vid
        VDSTK11  tpsrv  VLSTK10    Archive  Unloading         UP             V01001
      [eric@localhost ~]$ date; kubectl -n cta exec ctacli -- cta dr ls VDSTK11
      Thu Jun 22 11:19:22 CEST 2017
          drive   host  library  mountType      status  desiredUp  forceDown     vid
        VDSTK11  tpsrv  VLSTK10    Archive  Unmounting         UP             V01001
      [eric@localhost ~]$ date; kubectl -n cta exec ctacli -- cta dr ls VDSTK11
      Thu Jun 22 11:19:25 CEST 2017
          drive   host  library  mountType  status  desiredUp  forceDown  vid
        VDSTK11  tpsrv  VLSTK10    NoMount      Up         UP               -
      bb2436c1
  6. 21 Jun, 2017 3 commits
  7. 20 Jun, 2017 12 commits
  8. 19 Jun, 2017 10 commits