Skip to content

Commit 4e7eec5

Browse files
committed
Merge pull request #27 from brianhlin/master
Fix bug that prevented HTCondor CE service from starting with multiple job routes
2 parents 414756d + d1ccc64 commit 4e7eec5

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

config/htcondor-ce.spec

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#define gitrev osg
33

44
Name: htcondor-ce
5-
Version: 1.12
5+
Version: 1.13
66
Release: 1%{?gitrev:.%{gitrev}git}%{?dist}
77
Summary: A framework to run HTCondor as a CE
88

@@ -313,6 +313,9 @@ fi
313313
%attr(1777,root,root) %dir %{_localstatedir}/lib/gratia/condorce_data
314314

315315
%changelog
316+
* Mon Apr 27 2015 Brian Lin <blin@cs.wisc.edu> - 1.13-1
317+
- Fix bug that prevented HTCondor CE service from starting with multiple job routes
318+
316319
* Mon Apr 27 2015 Brian Lin <blin@cs.wisc.edu> - 1.12-1
317320
- Add ability to constrain via arbitrary ClassAd expression in condor_ce_info_status (SOFTWARE-1842)
318321
- condor_ce_run now accepts extra attributes via file (SOFTWARE-1641)

src/condor-ce

+5-7
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,11 @@ start() {
5050
echo -n $"Starting Condor-CE daemons: "
5151

5252
# Check validity of job router knobs
53-
for ATTR in 'JOB_ROUTER_DEFAULTS' 'JOB_ROUTER_ENTRIES'; do
54-
python -c "import htcondor; import classad; classad.ExprTree(htcondor.param[\"$ATTR\"])" &> /dev/null
55-
if [ $? -ne 0 ]; then
56-
echo "Could not read $ATTR in the HTCondor CE configuration. Please verify syntax correctness."
57-
exit 6
58-
fi
59-
done
53+
python -c "import htcondor; import classad; classad.ExprTree(htcondor.param['JOB_ROUTER_DEFAULTS'])" &> /dev/null
54+
if [ $? -ne 0 ]; then
55+
echo "Could not read JOB_ROUTER_DEFAULTS in the HTCondor CE configuration. Please verify syntax correctness."
56+
exit 6
57+
fi
6058

6159
daemon --pidfile $pidfile --check $prog /usr/share/condor-ce/condor_ce_startup -pidfile $pidfile
6260
RETVAL=$?

0 commit comments

Comments
 (0)