Skip to content
This repository has been archived by the owner on Aug 3, 2020. It is now read-only.

Orphan volume on delete if we get a conflict #222

Merged
merged 1 commit into from
Feb 11, 2016

Conversation

cjellick
Copy link
Contributor

This addresses a common problem we've seen in docker 1.10 where
docker's volume ref count becomes inaccurate and docker thinks a volume
is in use by a container when it actually isn't. When this scenario
arises, the volume will get stuck in a purging state in cattle. To
avoid this, we are going to log and ignore 409 errors that arise when
removing a volume.

This addresses a common problem we've seen in docker 1.10 where
docker's volume ref count becomes inaccurate and docker thinks a volume
is in use by a container when it actually isn't. When this scenario
arises, the volume will get stuck in a purging state in cattle. To
avoid this, we are going to log and ignore 409 errors that arise when
removing a volume.
ibuildthecloud added a commit that referenced this pull request Feb 11, 2016
Orphan volume on delete if we get a conflict
@ibuildthecloud ibuildthecloud merged commit 789b26a into rancher:master Feb 11, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants