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

Docker cleanup fails on created containers #952

Closed
dfaller opened this issue Sep 7, 2017 · 0 comments
Closed

Docker cleanup fails on created containers #952

dfaller opened this issue Sep 7, 2017 · 0 comments

Comments

@dfaller
Copy link
Contributor

dfaller commented Sep 7, 2017

The Docker cleanup tasks fail when containers are created, but fail before they start running. Scale never receives a TASK_RUNNING update from Mesos, which means that Scale never gets the container name in order to delete it. Since the container doesn't get deleted, the volumes can't be deleted.

In order to fix this, the cleanup task needs to (before cleaning up volumes) look through containers in the created state, inspect them for the Scale framework ID, and delete them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants