Open lippertmarkus opened 1 year ago
@lippertmarkus it's related to this upstream csi-proxy issue: https://github.com/kubernetes-csi/csi-proxy/issues/287#issuecomment-1408522100, so if you mount that disk pv to other node, could it be recognized?
you're right, it works when the nodes differ
Action required from @Azure/aks-pm
Issue needing attention of @Azure/aks-leads
Issue needing attention of @Azure/aks-leads
Issue needing attention of @Azure/aks-leads
Issue needing attention of @Azure/aks-leads
would be fixed by https://github.com/kubernetes-sigs/azuredisk-csi-driver/pull/1909
updated: this issue was fixed in upstream azure disk csi driver v1.28.2, and would be fixed only on AKS 1.27 with this v1.28.2 version rollout in AKS 0813 or 0820 release, we will try to catch up with 0813 release.
Describe the bug PV cloning fails when source PV is bound to a pod running Windows containers. If the source Pod is stopped, it works, however.
To Reproduce Steps to reproduce the behavior:
kubectl apply -f pv-src.yml
:kubectl apply -f pv-clone.yml
:nginx-restored-cloning
fails to start withMountVolume.MountDevice failed for volume "pvc-6637d05d-281e-49a3-8caf-f9f965b6f5a7" : rpc error: code = Internal desc = could not format 6(lun: 4), and mount it at \var\lib\kubelet\plugins\kubernetes.io\csi\disk.csi.azure.com\2ee8ddb68bd3bcc5801a813142445159de5daf816e5f3186d08c0b02cd657fd0\globalmount, failed with rpc error: code = Unknown desc = volume id empty
If the source Pod is stopped before creating the clone, it works, however.
Expected behavior As is works with Linux, Volume cloning should also work when the source Windows pod is still running.
Screenshots
Environment (please complete the following information):
Additional context Same issue with Volume Snapshots