TWiki
>
LCG Web
>
PreStagingTests
>
PrestagingTestsGfalApiArgs
(2009-06-05,
AndreaSciaba
)
(raw view)
E
dit
A
ttach
P
DF
---++++ 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<pre> 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 <stringArray>dcap</stringArray> <stringArray>gsidcap</stringArray> <stringArray>root</stringArray> <stringArray>rfio</stringArray> <stringArray>file</stringArray> arrayOfTransferProtocols transferParameters </pre> Answer of the CASTOR server: <pre> 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 </pre> Answer of !dCache server: <pre> 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 </pre> In summary: * !estimatedWaitTime is returned by both !dChace and CASTOR servers but is not returned by GFAL client. %ORANGE% Opened [[https://savannah.cern.ch/bugs/index.php?47489][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)%ENDCOLOR% * !remainingPinTime is returned by CASTOR (not by !dCache, this is a known issue: bug # 4154 in !dCache RT ) and is correctly returned by GFAL.%ORANGE%bug already opened (fixed when?)%ENDCOLOR% * !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. %GREEN%doesn't seem to be important%ENDCOLOR% * !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).%GREEN%Finally, after the 26 Feb meeting, it was decided that this parameter is optional%ENDCOLOR% * !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.%GREEN% in the last meeting, Feb 26th, it has been decided that it's not important%ENDCOLOR% -- Main.ElisaLanciotti - 25 May 2009
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
WYSIWYG
|
M
ore topic actions
Topic revision: r1 - 2009-06-05
-
AndreaSciaba
Log In
LCG
LCG Wiki Home
LCG Web Home
Changes
Index
Search
LCG Wikis
LCG Service
Coordination
LCG Grid
Deployment
LCG
Apps Area
Public webs
Public webs
ABATBEA
ACPP
ADCgroup
AEGIS
AfricaMap
AgileInfrastructure
ALICE
AliceEbyE
AliceSPD
AliceSSD
AliceTOF
AliFemto
ALPHA
ArdaGrid
ASACUSA
AthenaFCalTBAna
Atlas
AtlasLBNL
AXIALPET
CAE
CALICE
CDS
CENF
CERNSearch
CLIC
Cloud
CloudServices
CMS
Controls
CTA
CvmFS
DB
DefaultWeb
DESgroup
DPHEP
DM-LHC
DSSGroup
EGEE
EgeePtf
ELFms
EMI
ETICS
FIOgroup
FlukaTeam
Frontier
Gaudi
GeneratorServices
GuidesInfo
HardwareLabs
HCC
HEPIX
ILCBDSColl
ILCTPC
IMWG
Inspire
IPv6
IT
ItCommTeam
ITCoord
ITdeptTechForum
ITDRP
ITGT
ITSDC
LAr
LCG
LCGAAWorkbook
Leade
LHCAccess
LHCAtHome
LHCb
LHCgas
LHCONE
LHCOPN
LinuxSupport
Main
Medipix
Messaging
MPGD
NA49
NA61
NA62
NTOF
Openlab
PDBService
Persistency
PESgroup
Plugins
PSAccess
PSBUpgrade
R2Eproject
RCTF
RD42
RFCond12
RFLowLevel
ROXIE
Sandbox
SocialActivities
SPI
SRMDev
SSM
Student
SuperComputing
Support
SwfCatalogue
TMVA
TOTEM
TWiki
UNOSAT
Virtualization
VOBox
WITCH
XTCA
Welcome Guest
Login
or
Register
Cern Search
TWiki Search
Google Search
LCG
All webs
Copyright &© 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use
Discourse
or
Send feedback