Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
99fad5ac
Commit
99fad5ac
authored
Nov 01, 2011
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for servers that are too busy to give tunnel info.
parent
cadc2e6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
protogeni/lib/GeniAggregate.pm.in
protogeni/lib/GeniAggregate.pm.in
+14
-1
No files found.
protogeni/lib/GeniAggregate.pm.in
View file @
99fad5ac
...
...
@@ -1998,7 +1998,20 @@ sub Start($$)
# Okay, got the node. Now we need to resolve it at the CM.
#
my $component_id = GeniXML::GetNodeId($ref);
my $nodeblob = $authority->Resolve($component_id);
my $nodeblob;
$count = 1000;
$interval = 30;
while ($count >= 0) {
$nodeblob = $authority->Resolve($component_id);
last
if (defined($nodeblob));
print STDERR
"Could not resolve $component_id at $authority\n";
print STDERR "Will try again in $interval seconds\n";
$count -= $interval;
sleep($interval);
}
if (!defined($nodeblob)) {
$msg = "Could not resolve $component_id at $authority";
goto bad;
...
...
Write
Preview
Markdown
is supported
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