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
Elijah Grubb
emulab-devel
Commits
e8246510
Commit
e8246510
authored
Oct 08, 2015
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handle CreateImage() permission denied more gracefully, as for
tainted nodes.
parent
5eec1276
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
apt/manage_instance.in
apt/manage_instance.in
+2
-1
No files found.
apt/manage_instance.in
View file @
e8246510
...
...
@@ -458,7 +458,8 @@ sub DoSnapshot()
$errmsg
=
"
Could not create image:
"
.
$response
->
output
()
.
"
\n
";
$errcode
=
1
if
(
$response
->
code
()
==
GENIRESPONSE_BUSY
||
$response
->
code
()
==
GENIRESPONSE_SERVER_UNAVAILABLE
);
$response
->
code
()
==
GENIRESPONSE_SERVER_UNAVAILABLE
||
$response
->
code
()
==
GENIRESPONSE_FORBIDDEN
);
$instance
->
SetStatus
(
$old_status
);
goto
uerror
;
}
...
...
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