Input and output arguments currently supported by GFAL Python API

Using the script to prestage (put link here!!) with the following options: -r 60 -l 600 the arguments passed by the client to the server for the srm BOL request:

request: srmBringOnlineRequest


arrayOfFileRequests 
 requestArray 
  sourceSURL
    srm://srm-lhcb.cern.ch/castor/cern.ch/grid/lhcb/production/DC06/phys-v2-lumi5/00001877/DST/0000/00001877_00000196_5.dst
  sourceSURL
 requestArray
arrayOfFileRequests

desiredFileStorageType PERMANENTdesiredFileStorageType

desiredLifeTime 600 desiredLifeTime

transferParameters  arrayOfTransferProtocols
dcap
gsidcap
root
rfio
file
arrayOfTransferProtocols transferParameters

Answer of the CASTOR server:

returnStatus 
   statusCode SRM_REQUEST_QUEUED statusCode 
   explanation explanation
returnStatus

requestToken 5275365 requestToken

arrayOfFileStatuses
  statusArray
     sourceSURL srm://srm-lhcb.cern.ch/castor/cern.ch/grid/lhcb/production/DC06/phys-v2-lumi5/00001877/DST/0000/00001877_00000196_5.dst 
sourceSURL
    status
       statusCode SRM_REQUEST_QUEUED statusCode
       explanation explanation
    status
    fileSize 246689603 fileSize 
    estimatedWaitTime 5 estimatedWaitTime
    remainingPinTime 600 remainingPinTime
  statusArray
arrayOfFileStatuses

Answer of dCache server:


returnStatus xsi:type="ns1:TReturnStatus" statusCode xsi:type="ns1:TStatusCode"  SRM_REQUEST_QUEUED  statusCode 
   explanation xsi:type="xsd:string" 
        at Wed Feb 25 16:05:57 CET 2009 state Pending : created
   explanation
returnStatus

requestToken xsi:type="xsd:string" -2071654185 requestToken

arrayOfFileStatuses xsi:type="ns1:ArrayOfTBringOnlineRequestFileStatus"
   statusArray xsi:type="ns1:TBringOnlineRequestFileStatus"
       sourceSURL xsi:type="xsd:anyURI" srm://gridka-dCache.fzk.de/pnfs/gridka.de/lhcb/disk-only/lhcb/production/DC06/phys-v2-lumi5/00001877/DST/0000   /00001877_00000196_5.dst sourceSURL
       status xsi:type="ns1:TReturnStatus"
           statusCode xsi:type="ns1:TStatusCode" SRM_REQUEST_QUEUED statusCode 
           explanation xsi:type="xsd:string" TQueued explanation 
       status
       fileSize xsi:type="xsd:unsignedLong" xsi:nil="true" 
       estimatedWaitTime xsi:type="xsd:int" 4 estimatedWaitTime
       remainingPinTime xsi:type="xsd:int" xsi:nil="true" 
    statusArray
arrayOfFileStatuses

In summary:

  • estimatedWaitTime is returned by both dChace and CASTOR servers but is not returned by GFAL client. Opened Savannah bug 47489. Remi said it will be implemented soon, in the next release (not the one which is already in certification, the next one)
  • remainingPinTime is returned by CASTOR (not by dCache, this is a known issue: bug # 4154 in dCache RT ) and is correctly returned by GFAL.bug already opened (fixed when?)
  • fileSize is returned by CASTOR and not by dCache (when the request is queued). And GFAL doesn't return it. In the following polling, once the request is done, then also dCache returns the file size. doesn't seem to be important
  • DesiredTotalRequestTime is not even passed by GFAL to the SRM server (it is implemented for prepareToGet in the current version of GFAL, but not for BringOnline. In the version in certification it is implemented also for BringOnline).Finally, after the 26 Feb meeting, it was decided that this parameter is optional
  • TotalRemainingRequestTime: not set in dCache. This parameter is reported in the following srmBringOnlineResponse (the prestage_status calls), not in the first one (why?) but its value is not set. In CASTOR, this parameter is not even present in the trace file. in the last meeting, Feb 26th, it has been decided that it's not important

-- ElisaLanciotti - 25 May 2009

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2009-06-05 - AndreaSciaba
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LCG All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback