dmwm / CRAB2

CRAB2
2 stars 11 forks source link

migrate to SiteDB V2API #905

Closed ericvaandering closed 10 years ago

ericvaandering commented 10 years ago

Original Savannah ticket 102071 reported by belforte on Mon Jul 22 03:40:33 2013.

see https://hypernews.cern.ch/HyperNews/CMS/get/webInterfaces/1139/1/1/1/2/2/1/1.html

hints are in mail from Manuel

Hi Stefano,

I have already migrated the WMCore SiteDB service to use SiteDBv2 sometime ago, since StoreResults is also relying on the SiteDB API.

https://github.com/dmwm/WMCore/blob/master/src/python/WMCore/Services/SiteDB/SiteDB.py

You can download the version that works with WMCORE_PA_0_12_18_patch2-cmp here.

https://dl.dropboxusercontent.com/u/4875670/SiteDB.py

Maybe that can simplify the transition of CRAB 2 to use SiteDBv2.

ericvaandering commented 10 years ago

Comment by belforte on Mon Jul 22 08:13:24 2013

turns out Manuel did all the work https://hypernews.cern.ch/HyperNews/CMS/get/webInterfaces/1139/1/1/1/2/2/1/1/1/1.html

so I committed his version of SiteDB.py to CVS /local/reps/CMSSW/COMP/WMCORE/src/python/WMCore/Services/SiteDB/SiteDB.py,v <-- SiteDB.py new revision: 1.20; previous revision: 1.19

ericvaandering commented 10 years ago

Comment by belforte on Mon Jul 29 02:40:58 2013

there were calls to v1 XML Report from ProdCommon/SiteDB now fixed to use WMCore/SiteDB to emulate the XML report via v2 API

/local/reps/CMSSW/COMP/PRODCOMMON/src/python/ProdCommon/SiteDB/SiteDBReport.py,v <-- SiteDBReport.py new revision: 1.2; previous revision: 1.1

also a new version for /WMCore/Services/SiteDB.py:

Repository revision: 1.22 /local/reps/CMSSW/COMP/WMCORE/src/python/WMCore/Services/SiteDB/SiteDB.py

Need a new tag for WMCore: WMCORE_CRAB2_3

will tag a new ProdCommon after fixing also https://savannah.cern.ch/bugs/?102073

ericvaandering commented 10 years ago

Comment by belforte on Mon Jul 29 08:31:33 2013

needed to fix SiteDB.py in WMCore for https://savannah.cern.ch/bugs/?102146

/local/reps/CMSSW/COMP/WMCORE/src/python/WMCore/Services/SiteDB/SiteDB.py,v <-- SiteDB.py new revision: 1.23; previous revision: 1.22

tagged this in WMCORE_CRAB2_3

ericvaandering commented 10 years ago

Comment by belforte on Mon Jul 29 08:53:47 2013

all committed in WMCORE_CRAB2_3 and PRODCOMMON_0_12_18_CRAB_54 so: /local/reps/CMSSW/COMP/CRAB/python/PrepareTarBall.sh,v <-- PrepareTarBall.sh new revision: 1.195; previous revision: 1.194

tagged for CRAB_2_9_0_pre1

ericvaandering commented 10 years ago

Closed by belforte on Tue Aug 20 09:52:22 2013

ericvaandering commented 10 years ago

Comment by belforte on Tue Aug 20 09:52:22 2013

fix released in Crab_2_9_0