Description of problem (please be detailed as possible and provide log snippests): CSI cephfs driver now leave the validation of volume permission mode and adjustment to CO/kubelet based on the FSGroup Change policy in place (ref#https://bugzilla.redhat.com/show_bug.cgi?id=2053156). At present the fsgroup change policy default to NONE for CephFS driver in ODF release which has to be changed to general default value ( CO and RBD driver ) ie `onRootMismatch` Version of all relevant components (if applicable): ODF 4.10 Steps to Reproduce: Having regression check would be enough to validate this change. Actual results: Expected results: Additional info:
Karthick, this is the counterpart change of Ceph CSI which we covered in referenced bug, can you provide QE ack on this?
It looks like even in release 4.9, the default was not changed to NONE and been kept as "onrootmismatch", if thats the case, no extra verification required on this from this bugzilla report pov.
Verified from ODF 4.9 and 4.10 cluster too. Thanks Rachel++ ``` 2022-03-07 04:40:15.536845 I | op-k8sutil: CSI_RBD_FSGROUPPOLICY="ReadWriteOnceWithFSType" (default) 2022-03-07 04:40:15.547915 I | ceph-csi: CSIDriver object created for driver "openshift-storage.rbd.csi.ceph.com" 2022-03-07 04:40:15.936942 I | op-k8sutil: CSI_CEPHFS_FSGROUPPOLICY="ReadWriteOnceWithFSType" (default) 2022-03-07 04:40:15.950369 I | ceph-csi: CSIDriver object created for driver "openshift-storage.cephfs.csi.ceph.com" ``` ``` $ oc get csidriver openshift-storage.cephfs.csi.ceph.com -o yaml apiVersion: storage.k8s.io/v1 kind: CSIDriver metadata: creationTimestamp: "2022-03-07T04:40:15Z" name: openshift-storage.cephfs.csi.ceph.com resourceVersion: "39803" uid: 2134a1cb-08d8-4721-b2e0-10efe36f3a85 spec: attachRequired: true fsGroupPolicy: ReadWriteOnceWithFSType podInfoOnMount: false requiresRepublish: false storageCapacity: false volumeLifecycleModes: - Persistent ```