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

Configmap file mounted as directory inside pod

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.12.z
    • Storage
    • None
    • No
    • False
    • Hide

      None

      Show
      None

      Description of problem:

          Configmap mounted as directory inside the pod. It was corresponding to statefulset where another pod worked correctly where it was mounted as file. 
      
      On one node (`fluentd-2` pod on `control-plane2`), one of mounted config-maps is not in a valid format. `fluentd.conf` is directory, and not the file:
      drwxrwxrwx. 2 root root   6 Mar 11 17:29 fluentd.conf
      
      On the other nodes (e.g. on the `fluentd-0` pod), `fluentd.conf` is correctly mounted as a file:
      -rw-r--r--. 1 root root 400 Mar 11 17:39 fluentd.conf
      
      

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

          4.12.49

      How reproducible:

          

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

          Configmap mounted as directory

      Expected results:

          Configmap should mount as file

      Additional info:

          After restarting the pod, configmap mounted correctly as a file.

       

            jdobson@redhat.com Jonathan Dobson
            rhn-support-adeshpan Aditya Deshpande
            Wei Duan Wei Duan
            Jonathan Dobson
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: