Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Fix ignite rm -f for a running VM without --debug #320

Merged
merged 5 commits into from
Aug 12, 2019

Conversation

twelho
Copy link
Contributor

@twelho twelho commented Aug 12, 2019

The docker client has no way to perform container existence detection and removal at the same time, which triggers a potential race condition with the container auto-removal. Avoid the issue by ignoring removal errors for now, added comments and TODO to improve upon this later.
Fixes #306.

cc @luxas

@twelho twelho added kind/bug Categorizes issue or PR as related to a bug. kind/enhancement Categorizes issue or PR as related to improving an existing feature. labels Aug 12, 2019
@twelho twelho added this to the v0.5.0 milestone Aug 12, 2019
Copy link
Contributor

@luxas luxas left a comment

Choose a reason for hiding this comment

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

Thanks!
LGTM 👍

@luxas luxas removed the kind/enhancement Categorizes issue or PR as related to improving an existing feature. label Aug 12, 2019
@luxas
Copy link
Contributor

luxas commented Aug 12, 2019

This needs a (small) rebase

@luxas luxas merged commit 451cb98 into weaveworks:master Aug 12, 2019
@twelho twelho deleted the fix-rm-f branch August 12, 2019 13:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ignite rm -f fails to remove the container
2 participants