dmwm / WMCore

Core workflow management components for CMS.
Apache License 2.0
46 stars 107 forks source link

CRAB should look up endpoints using the srmv2 protocol #2785

Closed PerilousApricot closed 11 years ago

PerilousApricot commented 13 years ago

SRM endpoints/PFNs should be looked up with the srmv2 protocol since the client commands are using srmv2 (and not v1):

{{{

belforte@lxplus423/~> curl -sk "https://cmsweb.cern.ch/phedex/datasvc/xml/prod/lfn2pfn?node=T2_UK_London_IC&lfn=/store/user/&protocol=srm"|tr ' ' '\n'|grep pfn= pfn='srm://gfe02.grid.hep.ph.ic.ac.uk:8443/srm/managerv1?SFN=/pnfs/hep.ph.ic.ac.uk/data/cms/store/user/'/> belforte@lxplus423/~> curl -sk "https://cmsweb.cern.ch/phedex/datasvc/xml/prod/lfn2pfn?node=T2_UK_London_IC&lfn=/store/user/&protocol=srmv2"|tr ' ' '\n'|grep pfn= pfn='srm://gfe02.grid.hep.ph.ic.ac.uk:8443/srm/managerv2?SFN=/pnfs/hep.ph.ic.ac.uk/data/cms/store/user/'/> belforte@lxplus423/~>

}}}

cinquo commented 13 years ago

mcinquil: Queries are already done looking at srmv2, but it looks that {{{WMCore.Storage.TrivialFileCatalog}}} for smrv2 doesn't match the correct value...

Replying to [ticket:2785 meloam]:

SRM endpoints/PFNs should be looked up with the srmv2 protocol since the client commands are using srmv2 (and not v1):

{{{

belforte@lxplus423/~> curl -sk "https://cmsweb.cern.ch/phedex/datasvc/xml/prod/lfn2pfn?node=T2_UK_London_IC&lfn=/store/user/&protocol=srm"|tr ' ' '\n'|grep pfn= pfn='srm://gfe02.grid.hep.ph.ic.ac.uk:8443/srm/managerv1?SFN=/pnfs/hep.ph.ic.ac.uk/data/cms/store/user/'/> belforte@lxplus423/~> curl -sk "https://cmsweb.cern.ch/phedex/datasvc/xml/prod/lfn2pfn?node=T2_UK_London_IC&lfn=/store/user/&protocol=srmv2"|tr ' ' '\n'|grep pfn= pfn='srm://gfe02.grid.hep.ph.ic.ac.uk:8443/srm/managerv2?SFN=/pnfs/hep.ph.ic.ac.uk/data/cms/store/user/'/> belforte@lxplus423/~>

}}}

DMWMBot commented 13 years ago

mmascher: I think there has been a misunderstanding: I have just read again the emails in the crab3-commissioning mailing list which brought to opening this ticket, and the problem is not at the CRABServer/CRABClient level, but it's in the stageout phase. From the logs it appears that a srmv1 pfn is used.

I attached the tar.bz2 containing all the logs of an "affected job", and I am moving this to WMCore.

ericvaandering commented 11 years ago

Closing old CRAB3 issues