Commit 815cdeb9 authored by Andrea Sciaba's avatar Andrea Sciaba
Browse files

Changes in remotestagout test

parent b18a24ff
......@@ -72,5 +72,7 @@ class GFAL2Impl(StageOutImplV2):
runCommand( "/bin/rm -f %s" % pfn.replace("file:", "", 1) )
elif pfn.startswith("srm://"):
runCommand("gfal-rm -v %s" % pfn)
elif pfn.startswith("gsiftp://"):
runCommand("gfal-rm -v %s" % pfn)
else:
runCommand(StageOutImpl.createRemoveFileCommand(self, pfn))
......@@ -45,7 +45,7 @@ class StageOutDiagnostic:
# TODO: define list of additional target endpoints
self.testLFNprefixes = [ "srm://srm-eoscms.cern.ch:8443/srm/v2/server?SFN=/eos/cms", \
"srm://stormfe1.pi.infn.it:8444/srm/managerv2?SFN=/cms", \
"srm://dcache07.unl.edu:8443/srm/v2/server?SFN=/mnt/hadoop/user/uscms01/pnfs/unl.edu/data4/cms" ]
"gsiftp://red-gridftp.unl.edu//user/uscms01/pnfs/unl.edu/data4/cms" ]
random.shuffle(self.testLFNprefixes)
......
......@@ -4,14 +4,15 @@
Summary: WLCG Compliant Probes from %{site}
Name: nagios-plugins-wlcg-org.cms
Version: 1.1.30
Version: 1.1.32
Release: 1%{?dist}
License: GPL
Group: Network/Monitoring
Source0: %{name}-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires: gfal2
Requires: gfal2-all
Requires: gfal2-python
Requires: python >= 2.4
Requires: python-GridMon >= 1.1.3
Requires: python-ldap
......@@ -48,8 +49,16 @@ install --directory %{buildroot}/etc/cron.d
/etc/cron.d/cms_glexec
%changelog
* Mon Jul 4 2016 Andrea Sciaba <Andrea.Sciaba@cern.ch> 1.1.30-1.
- requires gfal2 (experimental)
* Wed Jul 27 2016 Andrea Sciaba <Andrea.Sciaba@cern.ch> 1.1.32-1.
- modified remotestageout test to use gfal-rm for gsiftp SURLs
- using new GridFTP SE in Nebraska for remotestageout test
* Tue Jul 12 2016 Andrea Sciaba <Andrea.Sciaba@cern.ch> 1.1.31-1.
- added new SE probe
- added dependency from gfal2-python
* Mon Jul 4 2016 Andrea Sciaba <Andrea.Sciaba@cern.ch> 1.1.30-2.
- requires gfal2-all (experimental)
* Mon Jul 4 2016 Andrea Sciaba <Andrea.Sciaba@cern.ch> 1.1.29-2.
- supports site notifications
* Mon Jul 4 2016 Andrea Sciaba <Andrea.Sciaba@cern.ch> 1.1.29-1.
- supports VO feed change to include HTCONDOR-CE
* Thu Jun 9 2016 Andrea Sciaba <Andrea.Sciaba@cern.ch> 1.1.28-1.
......
......@@ -13,10 +13,11 @@ mkdir -p $NAGDIR/org.cms/wnjob/org.cms.lcgadmin/etc/wn.d/org.cms
mkdir -p $NAGDIR/org.cms/wnjob/org.cms.production/etc/wn.d/org.cms
cp -aL $NAGCONF/org.cms.lcgadmin $NAGDIR/org.cms/wnjob/
cp -aL $NAGCONF/org.cms.production $NAGDIR/org.cms/wnjob/
cp $NAGDIR/sam-vo-probes/srmvometrics.py $NAGDIR/org.cms/srmvometrics.py.ORIG
sed -e 's/org.vos/org.cms/' $NAGDIR/org.cms/srmvometrics.py.ORIG > $NAGDIR/org.cms/srmvometrics.py
#cp $NAGDIR/sam-vo-probes/srmvometrics.py $NAGDIR/org.cms/srmvometrics.py.ORIG
#sed -e 's/org.vos/org.cms/' $NAGDIR/org.cms/srmvometrics.py.ORIG > $NAGDIR/org.cms/srmvometrics.py
cp $SAMDIR/SiteTests/SE/srmvometrics.py $NAGDIR/org.cms/srmvometrics.py
chmod +x $NAGDIR/org.cms/srmvometrics.py
rm -rf $NAGDIR/org.cms/srmvometrics.py.ORIG
#rm -rf $NAGDIR/org.cms/srmvometrics.py.ORIG
mkdir -p $NAGDIR/config
cp -L $NAGCONF/cms.conf $NAGCONF/emi.ce.CREAMCE.conf $NAGCONF/cms_param_override -L $NAGCONF/cms_glexec $NAGCONF/etf_plugin_cms.py $NAGCONF/cms_glexec-etf $NAGDIR/config/
srcdir=$SAMDIR
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment