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

StoRM returns SRM_SUCCESS as request status for SBOL when one of the multiple SURL is still SRM_REQUEST_QUEUED or SRM_IN_PROGRESS

XMLWordPrintable

      Example of inconsistent response from CNAF:

      <?xml version="1.0" encoding="UTF-8"?>
       <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://srm.lbl.gov/StorageResourceManager" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
       <SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
       <ns1:srmStatusOfBringOnlineRequestResponse>
        <srmStatusOfBringOnlineRequestResponse>
         <returnStatus>
          <statusCode>SRM_SUCCESS</statusCode>
          <explanation>Request handled!</explanation>
         </returnStatus>
         <arrayOfFileStatuses>
          <statusArray>
           <sourceSURL>srm://storm-fe-lhcb.cr.cnaf.infn.it:8444/tape/lhcb/LHCb/Collision12/FULL.DST/00020194/0002/00020194_00022341_1.full.dst</sourceSURL>
           <status>
            <statusCode>SRM_REQUEST_INPROGRESS</statusCode>
            <explanation>Recalling file from tape</explanation>
           </status>
           <fileSize>4849040146</fileSize>
          </statusArray>
          <statusArray>
           <sourceSURL>srm://storm-fe-lhcb.cr.cnaf.infn.it:8444/tape/lhcb/LHCb/Collision12/FULL.DST/00020194/0002/00020194_00022320_1.full.dst</sourceSURL>
           <status>
            <statusCode>SRM_RELEASED</statusCode>
            <explanation>srmBringOnLine successfully handled!</explanation>
           </status>
           <fileSize>4886979407</fileSize>
          </statusArray>
          <statusArray>
           <sourceSURL>srm://storm-fe-lhcb.cr.cnaf.infn.it:8444/tape/lhcb/LHCb/Collision12/FULL.DST/00020194/0002/00020194_00022325_1.full.dst</sourceSURL>
           <status>
            <statusCode>SRM_RELEASED</statusCode>
            <explanation>srmBringOnLine successfully handled!</explanation>
           </status>
           <fileSize>4768683956</fileSize>
          </statusArray>
          [More follows here]
         </arrayOfFileStatuses>
        </srmStatusOfBringOnlineRequestResponse>
       </ns1:srmStatusOfBringOnlineRequestResponse>
      </SOAP-ENV:Body>
      </SOAP-ENV:Envelope>
      

      There is a SRM_REQUEST_INPROGRESS, even though the overall status is SRM_SUCCESS.

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

              Created:
              Updated:
              Resolved: