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

StoRM returns NULL fileSize for ptp with expected size

XMLWordPrintable

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

      When doing an srmPrepareToPut specifying the expected size, older versions return the fileSize field, while 1.11.1 return NULL.

      $ clientSRM ptp -p -v N -e omii005-vm03.cnaf.infn.it:8444 -s srm://omii005-vm03.cnaf.infn.it:8444/srm/managerv2?SFN=/testers.eu-emi.eu/abc/test,1
      ============================================================
      Sending PtP request to: omii005-vm03.cnaf.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).
      ============================================================
      Request status:
      statusCode="SRM_SUCCESS"(0)
      explanation="All chunks successfully handled!"
      ============================================================
      SRM Response:
      requestToken="048f728a-8dad-406e-8b30-ae81eab590b4"
      remainingTotalRequestTime=NULL
      arrayOfFileStatuses (size=1)
      [0] SURL="srm://omii005-vm03.cnaf.infn.it:8444/srm/managerv2?SFN=/testers.eu-emi.eu/abc/test"
      [0] status: statusCode="SRM_SPACE_AVAILABLE"(24)
      explanation="srmPrepareToPut successfully handled!"
      [0] fileSize=NULL
      [0] estimatedWaitTime=NULL
      [0] remainingPinLifetime=NULL
      [0] remainingFileLifetime=NULL
      [0] TURL="gsiftp://omii005-vm03.cnaf.infn.it:2811//storage/testers.eu-emi.eu/abc/test"
      [0] transferProtocolInfo=NULL
      ============================================================

      This seems to confuse some FTS instances.

            Unassigned Unassigned
            vventuri Valerio Venturi [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: