Description of problem:
The volumes provisioned by CephFS provisioner only allows root user to write. That means only privileged Pod could write to a CephFS volume created by the provisioner.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Deploy CephFS provisioner, create storageclass, PVC and Pod
2. Write to CephFS volume
Volume is mounted successfully, but user can not write in the mount directory unless Pod is created privileged.
/ $ ls /mnt/cephfs/ -dl
drwxr-xr-x 1 root root 0 Apr 24 09:51 /mnt/cephfs/
/ $ id
uid=1000100000 gid=0(root) groups=1000100000
Allow writes for non-privileged Pods
Node Log (of failed PODs):
StorageClass Dump (if StorageClass used by PV/PVC):
Per chat with John, we can make this happen at provisioning time. This requires container image and storage class change though.
OCP 3.6-3.10 is no longer on full support . Marking CLOSED DEFERRED. If you have a customer case with a support exception or have reproduced on 3.11+, please reopen and include those details. When reopening, please set the Target Release to the appropriate version where needed.