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-562: Clean up container if it failed to start #2165

Merged
merged 1 commit into from
Aug 19, 2016
Merged

Conversation

mmorhun
Copy link
Contributor

@mmorhun mmorhun commented Aug 19, 2016

What does this PR do?

Fix bug, when Codenvy system newer removes containers which failed to start.

What issues does this PR fix or reference?

Codenvy/562

Previous Behavior

All failed containers are not cleaned. Swarm reserves memory for them and after some time system will fail to start any new container (because all memory is reserved for dead containers).

New Behavior

Removes all containers which are failed to start

Tests written?

No

Docs requirements?

No

Signed-off-by: Mykola Morhun <mmorhun@codenvy.com>
@mmorhun
Copy link
Contributor Author

mmorhun commented Aug 19, 2016

@AndrienkoAleksandr @skabashnyuk take a look, please

@AndrienkoAleksandr
Copy link
Contributor

Ok for me. +1

@codenvy-ci
Copy link

Build # 152 - FAILED

Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/152/ to view the results.

@skabashnyuk
Copy link
Contributor

+0
Up to @garagatyi

@garagatyi
Copy link

LGTM

@mmorhun mmorhun merged commit bf92340 into master Aug 19, 2016
@mmorhun mmorhun deleted the CODENVY-562 branch August 19, 2016 07:23
@mmorhun mmorhun added this to the 4.7.0 milestone Aug 19, 2016
JPinkney pushed a commit to JPinkney/che that referenced this pull request Aug 17, 2017
CODENVY-562: Clean up container if it failed to start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants