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

In TechPreview, MCP is not reporting degradation when a node is degraded

XMLWordPrintable

    • None
    • False
    • Hide

      None

      Show
      None
    • 3
    • Important
    • None
    • Rejected
    • MCO Sprint 281
    • 1
    • In Progress
    • Release Note Not Required
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      When a node is degraded, the MCP is not reporting a degraded status
      
          

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

      4.21.0-0.nightly-2025-12-10-125837
          

      How reproducible:

      Always
          

      Steps to Reproduce:

          1. Enable tech preview
          2. Create a MC to deploy a file, for example a dropin file
      
      
      apiVersion: machineconfiguration.openshift.io/v1
      kind: MachineConfig
      metadata:
        creationTimestamp: "2025-12-11T15:09:37Z"
        generation: 1
        labels:
          machineconfiguration.openshift.io/role: worker
        name: drifted-dropins-test
        resourceVersion: "190655"
        uid: 63ecfe84-8149-40cb-82e3-9a35a3b37954
      spec:
        config:
          ignition:
            version: 3.5.0
          passwd:
            users: []
          storage:
            files: []
          systemd:
            units:
            - dropins:
              - contents: |-
                  [Service]
                  Environment="FAKE_OPTS=fake-value"
                name: 10-chrony-drop-test.conf
              enabled: true
              name: chronyd.service
        extensions: []
        kernelArguments: []
        osImageURL: ""
      
      
          3. Wait for the configuration to be applied
      
          4. oc debug into a node, and manually modify the deployed dropin file to force a configuration drfit.
      
      
          

      Actual results:

      The node will be marked as degraded because of the configuration drift, but the MCP will never show a degraded status
      
      [fedora@preserve-sregidor-work openshift-tests-private]$ nodeswithconfigs                                                                                                                                          
      NAME                                       ROLE     ZONE         CURRENT CONFIG                                     DESIRED CONFIG                                     MCO STATE                                   
      ip-10-0-29-99.us-east-2.compute.internal   <none>   us-east-2a   rendered-worker-3db396bd928409b1f6a8fc287fab8771   rendered-worker-3db396bd928409b1f6a8fc287fab8771   Degraded                                    
      ip-10-0-43-16.us-east-2.compute.internal            us-east-2b   rendered-master-71add427cf8cadf1841f7ddb33f6cebb   rendered-master-71add427cf8cadf1841f7ddb33f6cebb   Done                                        
      ip-10-0-62-59.us-east-2.compute.internal   <none>   us-east-2b   rendered-worker-3db396bd928409b1f6a8fc287fab8771   rendered-worker-3db396bd928409b1f6a8fc287fab8771   Done                                        
      ip-10-0-7-202.us-east-2.compute.internal            us-east-2a   rendered-master-71add427cf8cadf1841f7ddb33f6cebb   rendered-master-71add427cf8cadf1841f7ddb33f6cebb   Done                                        
      ip-10-0-93-68.us-east-2.compute.internal            us-east-2c   rendered-master-71add427cf8cadf1841f7ddb33f6cebb   rendered-master-71add427cf8cadf1841f7ddb33f6cebb   Done                                        
      [fedora@preserve-sregidor-work openshift-tests-private]$ l mcp                                                                                                                                                     
      NAME     CONFIG                                             UPDATED   UPDATING   DEGRADED   MACHINECOUNT   READYMACHINECOUNT   UPDATEDMACHINECOUNT   DEGRADEDMACHINECOUNT   AGE                                    
      master   rendered-master-71add427cf8cadf1841f7ddb33f6cebb   True      False      False      3              3                   3                     0                      9h                                     
      worker   rendered-worker-3db396bd928409b1f6a8fc287fab8771   False     True       False      2              1                   1                     0                      9h  
      
          

      Expected results:

      The MCP should be degraded and reporting the right reason for the degradation
          

      Additional info:

      
          

              rh-ee-ijanssen Isabella Janssen
              sregidor@redhat.com Sergio Regidor de la Rosa
              None
              None
              Sergio Regidor de la Rosa Sergio Regidor de la Rosa
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: