Pod is unable to mount PVC when IPsec tunnel is established
Applies to
- ONTAP 9.X
- AFF
- Kubernetes
- NFS
Issue
- When trying to create a pod in Kubernetes with a Persistent Volume Claim (PVC) while IPsec is enabled, the pod fails to mount the PVC.
- The following errors observed in the Worker Nodes:
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning FailedScheduling 30m (x3 over 30m) default-scheduler 0/4 nodes are available: pod has unbound immediate PersistentVolumeClaims. preemption: 0/4 nodes are available: 4 Preemption is not helpful for scheduling.
Normal Scheduled 30m default-scheduler Successfully assigned (Kubernetes Cluster) to (Pool Name)
Normal SuccessfulAttachVolume 30m attachdetach-controller AttachVolume.Attach succeeded for volume "(Volume Name)"
Warning FailedMount 15m (x3 over 27m) kubelet MountVolume.SetUp failed for volume "(Volume Name)" : rpc error: code = Aborted desc = request waited too long for the lock
Warning FailedMount 9s (x9 over 28m) kubelet MountVolume.SetUp failed for volume "(Volume Name)" : rpc error: code = DeadlineExceeded desc = context deadline exceeded