Uploaded image for project: 'DMC - Development'
  1. DMC - Development
  2. DMC-818

SRM plugin not invoked when using a relative path to the source file

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: gfal 2.11.1
    • Component/s: gfal 2, gfal2-util
    • Security Level: Public Data (This ticket is visible to anyone on the internet and will be indexed by search engines)
    • Labels:
      None
    • Story Points:
      2
    • Sprint:
      FTS 3.4.4

      Description

      Hello,

      I tried a dpm site. The unusedsize doesn't change.

      [wguan@lxplus005 wguan]$ which gfal-copy
      /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/emi/3.17.1-1_v1a.sl6/usr/bin/gfal-copy
      [wguan@lxplus005 wguan]$

      [wguan@lxplus005 wguan]$ gfal-xattr srm://node12.datagrid.cea.fr:8446/srm/managerv2?SFN=/dpm/datagrid.cea.fr/home/atlas/atlasscratchdisk/rucio/ spacetoken.description?ATLASSCRATCHDISK
      [

      {"spacetoken":"72f3d8ee-a38f-426c-90a2-16f8b8ed8d68","owner":"atlas","totalsize":54975581388800,"guaranteedsize":54975581388800,"unusedsize":27476591250918,"lifetimeassigned":223695263,"lifetimeleft":-1,"retentionpolicy":"CUSTODIAL","accesslatency":"ONLINE"}

      ]
      [wguan@lxplus005 wguan]$ #gfal-copy -v -S ATLASSCRATCHDISK file:wguan/wguan.mytest_file_1234 srm://node12.datagrid.cea.fr:8446/srm/managerv2?SFN=/dpm/datagrid.cea.fr/home/atlas/atlasscratchdisk/test_copy1.txt
      [wguan@lxplus005 wguan]$ cp /bin/hostname wguan/wguan.mytest_file_1234
      [wguan@lxplus005 wguan]$ gfal-copy -v -S ATLASSCRATCHDISK file:wguan/wguan.mytest_file_1234 srm://node12.datagrid.cea.fr:8446/srm/managerv2?SFN=/dpm/datagrid.cea.fr/home/atlas/atlasscratchdisk/test_copy1.txt
      Copying 13712 bytes file:wguan/wguan.mytest_file_1234 => srm://node12.datagrid.cea.fr:8446/srm/managerv2?SFN=/dpm/datagrid.cea.fr/home/atlas/atlasscratchdisk/test_copy1.txt
      event: [1459440967856] BOTH GFAL2:CORE:COPY LIST:ENTER
      event: [1459440967856] BOTH GFAL2:CORE:COPY LIST:ITEM file:wguan/wguan.mytest_file_1234 => srm://node12.datagrid.cea.fr:8446/srm/managerv2?SFN=/dpm/datagrid.cea.fr/home/atlas/atlasscratchdisk/test_copy1.txt
      event: [1459440967856] BOTH GFAL2:CORE:COPY LIST:EXIT
      event: [1459440967951] BOTH GFAL2:CORE:COPY:LOCAL TRANSFER:ENTER file:wguan/wguan.mytest_file_1234 => srm://node12.datagrid.cea.fr:8446/srm/managerv2?SFN=/dpm/datagrid.cea.fr/home/atlas/atlasscratchdisk/test_copy1.txt
      event: [1459440970155] BOTH GFAL2:CORE:COPY:LOCAL TRANSFER:EXIT file:wguan/wguan.mytest_file_1234 => srm://node12.datagrid.cea.fr:8446/srm/managerv2?SFN=/dpm/datagrid.cea.fr/home/atlas/atlasscratchdisk/test_copy1.txt
      [wguan@lxplus005 wguan]$ gfal-xattr srm://node12.datagrid.cea.fr:8446/srm/managerv2?SFN=/dpm/datagrid.cea.fr/home/atlas/atlasscratchdisk/rucio/ spacetoken.description?ATLASSCRATCHDISK
      [

      {"spacetoken":"72f3d8ee-a38f-426c-90a2-16f8b8ed8d68","owner":"atlas","totalsize":54975581388800,"guaranteedsize":54975581388800,"unusedsize":27476591250918,"lifetimeassigned":223695316,"lifetimeleft":-1,"retentionpolicy":"CUSTODIAL","accesslatency":"ONLINE"}

      ]
      [wguan@lxplus005 wguan]$ lcg-ls -l srm://node12.datagrid.cea.fr:8446/srm/managerv2?SFN=/dpm/datagrid.cea.fr/home/atlas/atlasscratchdisk/test_copy1.txt
      rw-rw-r- 1 1 2 13712 ONLINE /dpm/datagrid.cea.fr/home/atlas/atlasscratchdisk/test_copy1.txt

      Cheers
      Wen

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                aalvarez Alejandro Alvarez Ayllon
                Reporter:
                amanzi Andrea Manzi
                Component Watchers:
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: