Trident OpenShift Upgrade produces error - applyFSGroup failed, permission denied
Applies to
- OpenShift
- Trident
Issue
- After upgrading OpenShift, the deployment of new PVCs results in a securityContext error stating that permission is denied when fsgroup attempts to modify the NFS mount and the root user can't access the NFS mount to modify the ownership and permissions
- Existing PVC mounts remain unchanged unless they're recreated
- Errors may resemble:
MountVolume.SetUp failed for volume "pvc-f60e8674-7a25-4c1f-9ef9-83cb11c22234" : applyFSGroup failed for vol pvc-f60e8674-7a25-4c1f-9ef9-83cb11c22234: open /var/lib/kubelet/pods/eeb8dd83-4e61-42ce-a000-c24d5e1cddef/volumes/kubernetes.io~csi/pvc-f60e8674-7a25-4c1f-9ef9-83cb11c22234/mount: permission denied