Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-stable
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
emulab
emulab-stable
Commits
1478a899
Commit
1478a899
authored
Jan 16, 2015
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Report error to user when instance times out during setup.
parent
e4636e5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
apt/create_instance.in
apt/create_instance.in
+4
-0
No files found.
apt/create_instance.in
View file @
1478a899
...
...
@@ -728,6 +728,8 @@ while ($seconds > 0) {
}
elsif
(
$blob
->
{'
status
'}
eq
"
failed
")
{
$failed
=
1
;
$webtask
->
output
("
Experiment setup on
$aggregate
failed
")
if
(
defined
(
$webtask
));
last
;
}
}
...
...
@@ -737,6 +739,8 @@ if ($failed || !$ready) {
$instance
->
SetStatus
("
failed
");
if
(
!
$ready
)
{
print
STDERR
"
***
$slice_urn
timed out.
\n\n
";
$webtask
->
output
("
Experiment setup on
$aggregate
timed out
")
if
(
defined
(
$webtask
));
}
else
{
print
STDERR
"
***
$slice_urn
failed.
\n\n
";
...
...
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