Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
00acc3d2
Commit
00acc3d2
authored
Apr 06, 2017
by
Mike Hibler
Browse files
Don't subscribe to event scheduler events.
parent
f495b7c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
clientside/tmcc/common/rc.bootsetup
View file @
00acc3d2
#!/usr/bin/perl -w
#
# Copyright (c) 2004-201
4, 2016
University of Utah and the Flux Group.
# Copyright (c) 2004-201
7
University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
...
...
@@ -418,7 +418,9 @@ sub doboot()
elsif
(
!
(
REMOTE
()
&&
!
REMOTEDED
())
&&
!
GENVNODE
())
{
#
# We run pubsubd in clustering mode, asking for just notifications
# for the current experiment.
# for the current experiment. Note that we explicitly exclude those
# intended for the event scheduler running on ops. In theory, they
# should not cause problems, but they are confusing at best.
#
my
$eventserver
=
"
event-server
";
if
(
REMOTE
())
{
...
...
@@ -428,7 +430,7 @@ sub doboot()
open
(
CONF
,
"
>
$PUBSUBEXPR
")
or
fatal
("
Error opening
$PUBSUBEXPR
for writing
");
print
CONF
"
(EXPT ==
\"
$pid
/
$eid
\"
)
\n
";
print
CONF
"
(EXPT ==
\"
$pid
/
$eid
\"
)
&& SCHEDULER == 0
\n
";
close
(
CONF
);
}
if
(
defined
(
$clusteringoptions
))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment