VSLM task failed error for vSphere CSI PVs
Issue
- Attachment failure error showing message:
CnsFault error: VSLM task failed
for the vSphere CSI PVs.
Error: AttachVolume.Attach failed for volume "pvc-2668..." (UniqueName: "kubernetes.io/csi/csi.vsphere.vmware.com^c9811622-...") from node "node-abc" : rpc error: code = Internal desc = failed to attach disk: "c9811622..." with node: "node-abc" err failed to attach cns volume: "c9811622..." to node vm: "VirtualMachine:vm-... [VirtualCenterHost: *****, UUID: *****, Datacenter: Datacenter [Datacenter: Datacenter:*****, VirtualCenterHost: *****]]". fault: "(*types.LocalizedMethodFault)(0xc000a78e60)(DynamicData: (types.DynamicData), Fault: (types.CnsFault)... BaseMethodFault: (types.BaseMethodFault) ... Reason: (string) (len=16) \"VSLM task failed" LocalizedMessage: (string) (len=32) \"CnsFault error: VSLM task failed\"\n})\n". opId: "0daedc66"
- Similar error message shown for volume expansion failure
(combined from similar events): resize volume "pvc-9e406432-" by resizer "csi.vsphere.vmware.com" failed: rpc error: code = Internal desc = failed to expand volume: "4d42d6c7-add1-" to size: 15360 with error: failed to extend volume: "4d42d6c7-add1-4", fault: "(*types.LocalizedMethodFault)(0xc001625e20)({\n DynamicData: (types.DynamicData) {\n },\n Fault: (types.CnsFault) {\n BaseMethodFault: (types.BaseMethodFault) <nil>,\n Reason: (string) (len=16) \"VSLM task failed\"\n },\n LocalizedMessage: (string) (len=32) \"CnsFault error: VSLM task failed\"\n})\n", opID: "091359e7"
Environment
- Red Hat OpenShift Container Platform
- 4.x
- vSphere CSI Driver
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.