Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-14898

[OCP 4.13] NFS disabling id mapping option

XMLWordPrintable

    • Low
    • No
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required

      Description of problem:

      To properly disable the idmapping option as commented in the documentation url [1] we need to disable the parameter in the client and server but the option shared is the doc is only for the server:
      
      ~~~
      # echo 'Y' > /sys/module/nfsd/parameters/nfs4_disable_idmapping
      ~~~
      
      As per other links like this one [2] to disable the client we need to do:
      
      ~~~
       # echo 'Y' > /sys/module/nfs/parameters/nfs4_disable_idmapping 
      ~~~
      
      Which is similar but not equal. Also it is assumed with this statement that the server is the NFS server provider by a linux kernel which may not be the case.
      
      Also it would be helpful to indicate that this change is not persistent and to make it persistent a machine config is needed to add this parameter to the kernel (for the client):
      
      ~~~
      nfs.nfs4_disable_idmapping=1
      ~~~
      
      An example (not verified) of a machine config for this purpose:
      ~~~
      apiVersion: machineconfiguration.openshift.io/v1
      kind: MachineConfig
      metadata:
        labels:
          machineconfiguration.openshift.io/role: worker
        name: 10-worker-kernelarg-disable-idmapping
      spec:
        kernelArguments:
          - nfs.nfs4_disable_idmapping=1
      ~~~
      
      [1] https://docs.openshift.com/container-platform/4.10/storage/persistent_storage/persistent-storage-nfs.html#additional-configuration-and-troubleshooting
      [2] https://access.redhat.com/solutions/33455  (Disabling idmapping section)

      Version-Release number of selected component (if applicable):

      Documentation from 4.10 to 4.13

      How reproducible:

      NA

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

       

      Expected results:

       

      Additional info:

       

              lpettyjo@redhat.com Lisa Pettyjohn
              rhn-support-mabajodu Mario Abajo Duran
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: