Warning FailedAttachVolume 16s (x2 over 2m19s) attachdetach-controller AttachVolume.Attach failed for volume "pvc-###" : rpc error: code = Internal desc = Watch on cnsfileaccessconfig instance "<node_name>" timed out. Last seen error on the instance="Failed to query CNS volume: file:#### with error: rpc error: code = Internal desc = queryVolumeAsync failed for queryFilter: {{} [{{} file:####}] [] [] [] [] <nil> }. Err=time out for task Task:task-#### before response from CNS"
csi_handler.go:243] "Error processing" VolumeAttachment="csi-####" err="failed to attach: rpc error: code = Internal desc = Watch on cnsfileaccessconfig instance \"<node_name>\" timed out. Last seen error on the instance=\"Failed to query CNS volume: file:#### with error: rpc error: code = Internal desc = queryVolumeAsync failed for queryFilter: {{} [{{} file:####}] [] [] [] [] <nil> }. Err=time out for task Task:task-#### before response from CNS\""vSphere Kubernetes Service
CSI controller is unable to query the volumes.
Restart the csi-controller deployment using the following command:
kubectl rollout restart deployment csi-controller -n vmware-system-csi