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

MCO - currentConfig missing on the filesystem

XMLWordPrintable

      Description of problem:

      If the `currentConfig` is removed from the master node, the Machine Config Daemon will not recreate it. 
      
      The logs will say:
      ~~~
      W0726 23:57:35.890645 3013426 daemon.go:1097] Got an error from auxiliary tools: could not get current config from disk: open /etc/machine-config-daemon/currentconfig: no such file or directory
      ~~~
      
      However, the MCD won't create that currentconfig.
      Is this desired state?
      
      The workaround is to create the correct annotation
      

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

      OpenShift 4.12 and tested on 4.13
      

      How reproducible:

      - remove the currentConfig from the node
      - check the status of the MCD
      

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

      - the currentconfig is missing - stopping the MCD
      

      Expected results:

      - if the currentconfig is missing, MCD should reconcile based on the desiredconfig label of the node
      

      Additional info:

      
      

            rh-ee-iqian Ines Qian
            rhn-support-vwalek Vladislav Walek
            Sergio Regidor de la Rosa Sergio Regidor de la Rosa
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: