Skip to content
Snippets Groups Projects
  1. Jun 27, 2017
  2. Jun 03, 2017
  3. Jun 27, 2017
    • Steven Murray's avatar
      Fixed ia bug that I introduced into the CTA command-line tool · 19e49892
      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
      19e49892
  4. Jun 26, 2017
  5. Jun 22, 2017
    • Eric Cano's avatar
      Fixed end of session being reported too early in ArchiveSessions. · b3c2d5de
      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               -
      b3c2d5de
  6. Jun 21, 2017
  7. Jun 20, 2017
  8. Jun 19, 2017
  9. Jun 16, 2017
  10. Jun 15, 2017
  11. Jun 14, 2017
Loading