vsphere-csi-driver icon indicating copy to clipboard operation
vsphere-csi-driver copied to clipboard

Implement a tool to identify and remove orphan volumes.

Open SandeepPissay opened this issue 4 years ago • 13 comments

Is this a BUG REPORT or FEATURE REQUEST?:

/kind feature

What happened: There are few cases where the vSphere CSI driver creates more than 1 volume in vSphere for a PVC. The unused ones become orphans as they are not used by Kubenetes cluster. This issue is present in all the drivers shipped so far. A separate issue will be filed to improve the idempotency handling but this issue is filed to build a tool that can identify and remove orphan volumes from vSphere. This is very useful for current customers who are using the existing drivers.

SandeepPissay avatar Jan 22 '21 20:01 SandeepPissay

https://github.com/kubernetes-sigs/vsphere-csi-driver/pull/606 is adding infra for cnsctl tool. keeping this issue open.

divyenpatel avatar Jan 25 '21 21:01 divyenpatel

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale

fejta-bot avatar May 09 '21 21:05 fejta-bot

/remove-lifecycle stale

SandeepPissay avatar May 10 '21 14:05 SandeepPissay

Hello @SandeepPissay! Do you happen to have any idea where this feature sits in the upcoming roadmap which you can share? Thank you!

tgelter avatar Jul 26 '21 16:07 tgelter

@tgelter we are looking into it. Cc @RaunakShah

SandeepPissay avatar Jul 26 '21 17:07 SandeepPissay

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Oct 24 '21 17:10 k8s-triage-robot

/remove-lifecycle stale

tgelter avatar Oct 25 '21 18:10 tgelter

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Jan 23 '22 19:01 k8s-triage-robot

/remove-lifecycle stale

tgelter avatar Jan 24 '22 16:01 tgelter

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Apr 24 '22 16:04 k8s-triage-robot

/remove-lifecycle stale

tgelter avatar Apr 25 '22 18:04 tgelter

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Jul 24 '22 19:07 k8s-triage-robot

/remove-lifecycle stale

tgelter avatar Jul 25 '22 21:07 tgelter

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Oct 23 '22 23:10 k8s-triage-robot

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

k8s-triage-robot avatar Nov 22 '22 23:11 k8s-triage-robot

The plan is to implement the orphan volume detection and removal in CNS Manager. I filed an issue in that repo to track it - https://github.com/vmware-samples/cloud-native-storage-self-service-manager/issues/2.

I'm closing this issue as it was originally intended to be part of cnsctl tool which we are not building.

SandeepPissay avatar Nov 30 '22 19:11 SandeepPissay

/close

SandeepPissay avatar Nov 30 '22 19:11 SandeepPissay

@SandeepPissay: Closing this issue.

In response to this:

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

k8s-ci-robot avatar Nov 30 '22 19:11 k8s-ci-robot