-
Notifications
You must be signed in to change notification settings - Fork 171
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
Err: No vSphere disk ID/Name found #178
Comments
Hi @Elegant996, thanks for the report. Just to clarify, you had an existing Deployment that was working as expected, then scaled it down to 0 and then back up? And you noticed that when scaling to 0, the existing PV was not detached from the node? Just trying to get a clearer picture for when I try to recreate. |
Hi @codenrhoden, That is correct, this happens with both my Deployments and StatefulSets when scaling. The PVC and PV are still marked as bound in vCenter does not appear to detach the volumes after scaling as it no longer seems to be able to determine the associated One StatefulSet ( In another scenario with a StatefulSet ( This will become an issue down the road when attempting to upgrade nodes as draining them will render most if not all of the pods unusable. Thanks! |
This issue has been migrated to the new CSI repo. |
Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
Volume failed to attach to pod after it was restarted.
What you expected to happen:
Volume to successfully reattach as the
PersistentVolumeClaim
andPersistentVolume
still exist as well as thevmdk
.How to reproduce it (as minimally and precisely as possible):
After a grace period (a day or two?), scale the replicas of Deployment/StatefulSet to 0 that has a storage volume attached through the CSI driver. Set the scale back to its original value and CSI driver should fail to attach the volume on the new pod(s):
Please note that this is independent of the node that the pod previously resided on. The disk does not appear to unmount from the node in vCenter either which seems problematic.
Anything else we need to know?:
csi-attacher
logs:vsphere-csi-controller
logs:Environment:
v0.1.1
andmaster
uname -a
): 4.18.8-200.fc28.x86_64The text was updated successfully, but these errors were encountered: