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-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
5b2cf1c4
Commit
5b2cf1c4
authored
Jan 06, 2016
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
When terminating an experiment, it is not an error if the slice is already
gone at the remote cluster.
parent
2ed46ed2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
apt/manage_instance.in
apt/manage_instance.in
+3
-2
No files found.
apt/manage_instance.in
View file @
5b2cf1c4
...
...
@@ -1488,8 +1488,8 @@ sub DoRebootOrReload($)
}
if (
$response
->code() != GENIRESPONSE_SUCCESS) {
if (
$response
->code() == GENIRESPONSE_SEARCHFAILED) {
$errmsg
=
"
Slice
is
gone
"
;
goto
bad
;
print STDERR
"
Slice
is
already
gone
on
$sliver
"
;
goto
gone
;
}
if (
$response
->code() == GENIRESPONSE_BUSY) {
$errmsg
=
"
Experiment
is
busy
;
try
again
later
"
;
...
...
@@ -1498,6 +1498,7 @@ sub DoRebootOrReload($)
$errmsg
=
$response
->output();
goto bad;
}
gone:
# Tell the web interface something is different. Real status will
# come later when the monitor starts up.
if (
$webtask
->sliverstatus()) {
...
...
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