-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Adding vmdk file extension for vmDiskPath in vsphere DeleteVolume #40538
Adding vmdk file extension for vmDiskPath in vsphere DeleteVolume #40538
Conversation
Hi @divyenpatel. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with 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. I understand the commands that are listed here. |
@k8s-bot ok to test |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED The following people have approved this PR: kerneltime Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
|
This needs cherry picking into 1.5 and 1.4 release branches. |
/lgtm LGTM from the bulk LGTM tool |
@brendandburns if I understand correctly, the submit queue seems stuck waiting for an e2e run that is not scheduled. |
Automatic merge from submit-queue |
Commit found in the "release-1.5" branch appears to be this PR. Removing the "cherrypick-candidate" label. If this is an error find help to get your PR picked. |
…-kubernetes-release-1.4 Automated cherry pick of #40538
What this PR does / why we need it:
This fix is required to handle situation when volume path is not set with vmdk file extension.
DiskAttach call does not require vmdk file extension to be explicitly set in the file path, so in PV yaml file, users have option to set such file path.
Issue happens when such PV is created with persistentVolumeReclaimPolicy set to Delete, and user deletes associated PVC. Volume deletion will fail with the message: file was not found
Which issue this PR fixes *
Fixes: #40560
Special notes for your reviewer:
Tested fix with custom image: divyen/hyperkube-fix-deletevolume:latest (Image built using base v1.5.3-beta.0)
@kerneltime @BaluDontu please review this fix.