Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CODENVY-2284: Add additional logs if start from snapshot fail #5465

Merged
merged 1 commit into from
Jun 26, 2017

Conversation

mmorhun
Copy link
Contributor

@mmorhun mmorhun commented Jun 26, 2017

What does this PR do?

Adds additional logs when start from snapshot failed and the system fall back to start from recipe.

What issues does this PR fix or reference?

codenvy/codenvy#2284

Changelog

Additional logs added if workspace start from snapshot fail.

Release Notes

N/A

Docs PR

N/A

@@ -940,7 +940,9 @@ private Instance startInstance(boolean recover,
}
} catch (NotFoundException e) {
try {
machineLogger.writeLine("Failed to boot machine from snapshot: snapshot not found. " +
machineLogger.writeLine("Failed to boot machine " + machine.getConfig().getName() +
Copy link
Contributor

@tolusha tolusha Jun 26, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

String.format("Failed to boot machine %s, reason: snapshot not found, workspace id=%s. Machine will be created from origin source.", 
           machine.getConfig().getName(),
           machine.getWorkspaceId())

@mmorhun mmorhun force-pushed the CODENVY-2284 branch 4 times, most recently from 36bbb67 to 5282245 Compare June 26, 2017 14:20
@eclipse-che eclipse-che deleted a comment from tolusha Jun 26, 2017
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
@mmorhun mmorhun merged commit 7b15c1e into master Jun 26, 2017
@mmorhun mmorhun deleted the CODENVY-2284 branch June 26, 2017 14:41
@mmorhun mmorhun added this to the 5.14.0 milestone Jun 26, 2017
@codenvy-ci
Copy link

@slemeur slemeur added the kind/task Internal things, technical debt, and to-do tasks to be performed. label Jul 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/task Internal things, technical debt, and to-do tasks to be performed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants