Uploaded image for project: 'StoRM'
  1. StoRM
  2. STOR-314

PutDone on multiple files fails all the SURLs after the first specified

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.11.2
    • 1.11.1
    • None
    • Security Level: Public (Visbile by non-authn users.)
    • None

      A PutDone on multiple SURLs, as you can find on this test, fails from the second SURL:

      ============================================================
      Sending PutDone request to: omii005-vm03.cnaf.infn.it:8444
      Before execute:
      Afer execute:
      Request Status Code 27
      Poll Flag 0
      ============================================================
      Request status:
        statusCode="SRM_PARTIAL_SUCCESS"(27)
        explanation="Details are on the file statuses"
      ============================================================
      SRM Response:
        arrayOfFileStatuses (size=9)
            [0] SURL="srm://omii005-vm03.cnaf.infn.it:8444/srm/managerv2?SFN=/testers.eu-emi.eu/tmp.bKDqb20490_1"
            [0] status: statusCode="SRM_SUCCESS"(0)
                        explanation=""
            [1] SURL="srm://omii005-vm03.cnaf.infn.it:8444/srm/managerv2?SFN=/testers.eu-emi.eu/tmp.bKDqb20490_2"
            [1] status: statusCode="SRM_FAILURE"(1)
                        explanation="Check StatusOfPutRequest for more information"
            [2] SURL="srm://omii005-vm03.cnaf.infn.it:8444/srm/managerv2?SFN=/testers.eu-emi.eu/tmp.bKDqb20490_3"
            [2] status: statusCode="SRM_FAILURE"(1)
                        explanation="Check StatusOfPutRequest for more information"
            [3] SURL="srm://omii005-vm03.cnaf.infn.it:8444/srm/managerv2?SFN=/testers.eu-emi.eu/tmp.bKDqb20490_4"
            [3] status: statusCode="SRM_FAILURE"(1)
                        explanation="Check StatusOfPutRequest for more information"
            [4] SURL="srm://omii005-vm03.cnaf.infn.it:8444/srm/managerv2?SFN=/testers.eu-emi.eu/tmp.bKDqb20490_5"
            [4] status: statusCode="SRM_FAILURE"(1)
                        explanation="Check StatusOfPutRequest for more information"
            [5] SURL="srm://omii005-vm03.cnaf.infn.it:8444/srm/managerv2?SFN=/testers.eu-emi.eu/tmp.bKDqb20490_6"
            [5] status: statusCode="SRM_FAILURE"(1)
                        explanation="Check StatusOfPutRequest for more information"
            [6] SURL="srm://omii005-vm03.cnaf.infn.it:8444/srm/managerv2?SFN=/testers.eu-emi.eu/tmp.bKDqb20490_7"
            [6] status: statusCode="SRM_FAILURE"(1)
                        explanation="Check StatusOfPutRequest for more information"
            [7] SURL="srm://omii005-vm03.cnaf.infn.it:8444/srm/managerv2?SFN=/testers.eu-emi.eu/tmp.bKDqb20490_8"
            [7] status: statusCode="SRM_FAILURE"(1)
                        explanation="Check StatusOfPutRequest for more information"
            [8] SURL="srm://omii005-vm03.cnaf.infn.it:8444/srm/managerv2?SFN=/testers.eu-emi.eu/tmp.bKDqb20490_9"
            [8] status: statusCode="SRM_FAILURE"(1)
                        explanation="Check StatusOfPutRequest for more information"
      ============================================================
      

      This didn't happen in EMI2 StoRM, as you can see from this log:

      [vianello@omii006-vm02 ~]$ clientSRM mkdir -e gridvm01.roma2.infn.it:8444 -s srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest
      ============================================================
      Sending Mkdir request to: gridvm01.roma2.infn.it:8444
      Before execute:
      Afer execute:
      Request Status Code 0
      Poll Flag 0
      ============================================================
      Request status:
        statusCode="SRM_SUCCESS"(0)
        explanation="Directory created with success"
      ============================================================
      SRM Response:
      ============================================================
      [vianello@omii006-vm02 ~]$ clientSRM ptp -p -e gridvm01.roma2.infn.it:8444 -s srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_1 srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_2 srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_3 srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_4 srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_5 srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_6 srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_7 srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_8 srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_9 -v
      ============================================================
      Sending PtP request to: gridvm01.roma2.infn.it:8444
      Before execute:
      Afer execute:
      Request Status Code 17
      Poll Flag 1
      ============================================================
      Polling request status:
      Current status: SRM_REQUEST_QUEUED (Ctrl+c to stop polling).
      Current status: SRM_REQUEST_INPROGRESS (Ctrl+c to stop polling).
      ============================================================
      Request status:
        statusCode="SRM_SUCCESS"(0)
        explanation="All chunks successfully handled!"
      ============================================================
      SRM Response:
        requestToken="a266a94a-dcab-456e-8b7c-ca4b4f267cb3"
        arrayOfFileStatuses (size=9)
            [0] SURL="srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_5"
            [0] status: statusCode="SRM_SPACE_AVAILABLE"(24)
                        explanation="srmPrepareToPut successfully handled!"
            [0] TURL="gsiftp://gridvm01.roma2.infn.it:2811//data/grid/storage/dteam/vianellotest/tmp.bKDqb20490_5"
            [1] SURL="srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_1"
            [1] status: statusCode="SRM_SPACE_AVAILABLE"(24)
                        explanation="srmPrepareToPut successfully handled!"
            [1] TURL="gsiftp://gridvm01.roma2.infn.it:2811//data/grid/storage/dteam/vianellotest/tmp.bKDqb20490_1"
            [2] SURL="srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_6"
            [2] status: statusCode="SRM_SPACE_AVAILABLE"(24)
                        explanation="srmPrepareToPut successfully handled!"
            [2] TURL="gsiftp://gridvm01.roma2.infn.it:2811//data/grid/storage/dteam/vianellotest/tmp.bKDqb20490_6"
            [3] SURL="srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_2"
            [3] status: statusCode="SRM_SPACE_AVAILABLE"(24)
                        explanation="srmPrepareToPut successfully handled!"
            [3] TURL="gsiftp://gridvm01.roma2.infn.it:2811//data/grid/storage/dteam/vianellotest/tmp.bKDqb20490_2"
            [4] SURL="srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_7"
            [4] status: statusCode="SRM_SPACE_AVAILABLE"(24)
                        explanation="srmPrepareToPut successfully handled!"
            [4] TURL="gsiftp://gridvm01.roma2.infn.it:2811//data/grid/storage/dteam/vianellotest/tmp.bKDqb20490_7"
            [5] SURL="srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_3"
            [5] status: statusCode="SRM_SPACE_AVAILABLE"(24)
                        explanation="srmPrepareToPut successfully handled!"
            [5] TURL="gsiftp://gridvm01.roma2.infn.it:2811//data/grid/storage/dteam/vianellotest/tmp.bKDqb20490_3"
            [6] SURL="srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_4"
            [6] status: statusCode="SRM_SPACE_AVAILABLE"(24)
                        explanation="srmPrepareToPut successfully handled!"
            [6] TURL="gsiftp://gridvm01.roma2.infn.it:2811//data/grid/storage/dteam/vianellotest/tmp.bKDqb20490_4"
            [7] SURL="srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_9"
            [7] status: statusCode="SRM_SPACE_AVAILABLE"(24)
                        explanation="srmPrepareToPut successfully handled!"
            [7] TURL="gsiftp://gridvm01.roma2.infn.it:2811//data/grid/storage/dteam/vianellotest/tmp.bKDqb20490_9"
            [8] SURL="srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_8"
            [8] status: statusCode="SRM_SPACE_AVAILABLE"(24)
                        explanation="srmPrepareToPut successfully handled!"
            [8] TURL="gsiftp://gridvm01.roma2.infn.it:2811//data/grid/storage/dteam/vianellotest/tmp.bKDqb20490_8"
      ============================================================
      [vianello@omii006-vm02 ~]$ clientSRM pd -e gridvm01.roma2.infn.it:8444 -s srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_1 srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_2 srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_3 srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_4 srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_5 srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_6 srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_7 srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_8 srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_9 -v -t a266a94a-dcab-456e-8b7c-ca4b4f267cb3
      ============================================================
      Sending PutDone request to: gridvm01.roma2.infn.it:8444
      Before execute:
      Afer execute:
      Request Status Code 0
      Poll Flag 0
      ============================================================
      Request status:
        statusCode="SRM_SUCCESS"(0)
        explanation="All file requests are successfully completed"
      ============================================================
      SRM Response:
        arrayOfFileStatuses (size=9)
            [0] SURL="srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_1"
            [0] status: statusCode="SRM_SUCCESS"(0)
                        explanation=""
            [1] SURL="srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_2"
            [1] status: statusCode="SRM_SUCCESS"(0)
                        explanation=""
            [2] SURL="srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_3"
            [2] status: statusCode="SRM_SUCCESS"(0)
                        explanation=""
            [3] SURL="srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_4"
            [3] status: statusCode="SRM_SUCCESS"(0)
                        explanation=""
            [4] SURL="srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_5"
            [4] status: statusCode="SRM_SUCCESS"(0)
                        explanation=""
            [5] SURL="srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_6"
            [5] status: statusCode="SRM_SUCCESS"(0)
                        explanation=""
            [6] SURL="srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_7"
            [6] status: statusCode="SRM_SUCCESS"(0)
                        explanation=""
            [7] SURL="srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_8"
            [7] status: statusCode="SRM_SUCCESS"(0)
                        explanation=""
            [8] SURL="srm://gridvm01.roma2.infn.it:8444/srm/managerv2?SFN=/dteam/vianellotest/tmp.bKDqb20490_9"
            [8] status: statusCode="SRM_SUCCESS"(0)
                        explanation=""
      ============================================================
      

            vianello Enrico Vianello
            vianello Enrico Vianello
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: