Skip to content

Comments

UPSTREAM: 21268: Delete provisioned volumes without claim.#7459

Merged
openshift-bot merged 1 commit intoopenshift:masterfrom
jsafrane:devel/delete-orphaned-volume
Feb 23, 2016
Merged

UPSTREAM: 21268: Delete provisioned volumes without claim.#7459
openshift-bot merged 1 commit intoopenshift:masterfrom
jsafrane:devel/delete-orphaned-volume

Conversation

@jsafrane
Copy link
Contributor

The PR has not been merged upstream yet, but I got LGTM and I'm just waiting for the merge bot. It fixes a 3.2 blocker bug so let's have PR at hand... Merged yesterday.

Fixes BZ#1308588

There is a race in dynamic provisioning:

  1. User creates a claim to dynamically provision a volume.
  2. Kubernetes start provisioning the volume.
  3. User deletes the claim before 2. is finished.
  4. Kubernetes finished provisioning the volume.

The volume is in Pending state. This volume should be deleted instead of moving to Available state.

Fixes BZ#1308588

There is a race in dynamic provisioning:

1. User creates a claim to dynamically provision a volume.
2. Kubernetes start provisioning the volume.
3. User deletes the claim before 2. is finished.
4. Kubernetes finished provisioning the volume.

The volume is in Pending state. This volume should be deleted instead of
moving to Available state.
@smarterclayton smarterclayton added this to the 1.2.0 milestone Feb 20, 2016
@jsafrane jsafrane force-pushed the devel/delete-orphaned-volume branch from 28ded1c to 1f6105a Compare February 22, 2016 08:26
@jsafrane
Copy link
Contributor Author

Upstream PR has been merged.

@jsafrane jsafrane mentioned this pull request Feb 23, 2016
85 tasks
@danmcp
Copy link

danmcp commented Feb 23, 2016

[merge]

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_origin/5078/) (Image: devenv-rhel7_3518)

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to 1f6105a

@openshift-bot
Copy link
Contributor

[Test]ing while waiting on the merge queue

@openshift-bot
Copy link
Contributor

Evaluated for origin test up to 1f6105a

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/1528/)

openshift-bot pushed a commit that referenced this pull request Feb 23, 2016
@openshift-bot openshift-bot merged commit 994344e into openshift:master Feb 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants