Unable to mount vmdk persistent storage after upgrade to 4.14
Issue
-
Unable to mount volume after cluster upgrade with below error:
Unable to attach or mount volumes: unmounted volumes=[volume], unattached volumes=[volume], failed to process volumes=[]: timed out waiting for the condition AttachVolume.Attach failed for volume "pvc-name" : rpc error: code = Internal desc = failed to set keepAfterDeleteVm control flag for VolumeID "vol-ID" -
From
vsphere-csi-driver-controllerpod"msg":"ConnectVslm failed with err: POST \"/vslm/sdk\": 400 Bad Request" "msg":"failed to protect migrated volume from vm deletion. Volume ID: \"ID\", err: POST \"/vslm/sdk\": 400 Bad Request"
Environment
- Red Hat OpenShift Container Platform(RHOCP)
- 4.14
- VMware vSphere
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.