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

Nodes not joining agent cluster because ignitionReached condition is not met.

XMLWordPrintable

    • Important
    • No
    • Hypershift Sprint 242, Hypershift Sprint 243, Hypershift Sprint 244, Hypershift Sprint 245, Hypershift Sprint 246, Hypershift Sprint 247
    • 6
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      When creating nodepool with agent platform and with `autorepair: true`, the autorepair field is empty in the output of `oc get nodepool`.
      
      $ oc get nodepools.hypershift.openshift.io -n clusters hosted-0-subnet-0 
      NAME                CLUSTER    DESIRED NODES   CURRENT NODES   AUTOSCALING   AUTOREPAIR   VERSION       UPDATINGVERSION   UPDATINGCONFIG   MESSAGE
      hosted-0-subnet-0   hosted-0   2               2               False                      4.14.0-ec.3                                      
      
      
      $ oc describe nodepools.hypershift.openshift.io -n clusters hosted-0-subnet-0
      Name:         hosted-0-subnet-0
      Namespace:    clusters
      Labels:       <none>
      Annotations:  hypershift.openshift.io/nodePoolCurrentConfig: 54401015
                    hypershift.openshift.io/nodePoolCurrentConfigVersion: 919ffdba
      API Version:  hypershift.openshift.io/v1beta1
      Kind:         NodePool
      Metadata:
        Creation Timestamp:  2023-07-21T13:24:19Z
        Finalizers:
          hypershift.openshift.io/finalizer
        Generation:  2
        Owner References:
          API Version:     hypershift.openshift.io/v1beta1
          Kind:            HostedCluster
          Name:            hosted-0
          UID:             2d0bed16-4a4a-467c-a152-8041ad3e96db
        Resource Version:  148297
        UID:               5d8768f8-e1e7-4172-93da-8a917fe56e28
      Spec:
        Arch:          amd64
        Cluster Name:  hosted-0
        Management:
          Auto Repair:  true
          Replace:
            Rolling Update:
              Max Surge:        1
              Max Unavailable:  0
            Strategy:           RollingUpdate
          Upgrade Type:         Replace
        Node Drain Timeout:     0s
        Platform:
          Agent:
            Agent Label Selector:
              Match Labels:
                Subnet:  subnet-0
          Type:          Agent
        Release:
          Image:   registry.ci.openshift.org/ocp/4-dev-preview@sha256:3c050cb52fdd3e65c518d4999d238ec026ef724503f275377fee6bf0d33093ab
        Replicas:  2
      Status:
        Conditions:
          Last Transition Time:  2023-07-21T13:24:21Z
          Observed Generation:   2
          Reason:                AsExpected
          Status:                False
          Type:                  AutoscalingEnabled
          Last Transition Time:  2023-07-21T13:24:21Z
          Observed Generation:   2
          Reason:                AsExpected
          Status:                True
          Type:                  UpdateManagementEnabled
          Last Transition Time:  2023-07-21T13:28:12Z
          Message:               Using release image: registry.ci.openshift.org/ocp/4-dev-preview@sha256:3c050cb52fdd3e65c518d4999d238ec026ef724503f275377fee6bf0d33093ab
          Observed Generation:   2
          Reason:                AsExpected
          Status:                True
          Type:                  ValidReleaseImage
          Last Transition Time:  2023-07-21T13:28:12Z
          Message:               Arch flag is not supported for platform: Agent
          Observed Generation:   2
          Reason:                ValidationFailed
          Status:                False
          Type:                  ValidArchPlatform
          Last Transition Time:  2023-07-21T13:28:12Z
          Observed Generation:   2
          Reason:                AsExpected
          Status:                True
          Type:                  ValidMachineConfig
          Last Transition Time:  2023-07-21T13:29:10Z
          Message:               Payload generated successfully
          Observed Generation:   2
          Reason:                AsExpected
          Status:                True
          Type:                  ValidGeneratedPayload
          Last Transition Time:  2023-07-21T13:28:12Z
          Observed Generation:   2
          Reason:                ignitionNotReached
          Status:                False
          Type:                  ReachedIgnitionEndpoint
          Last Transition Time:  2023-07-21T13:28:12Z
          Observed Generation:   2
          Reason:                AsExpected
          Status:                True
          Type:                  ValidTuningConfig
          Last Transition Time:  2023-07-21T13:28:12Z
          Message:               Reconciliation active on resource
          Observed Generation:   2
          Reason:                ReconciliationActive
          Status:                True
          Type:                  ReconciliationActive
          Last Transition Time:  2023-07-21T13:46:22Z
          Message:               All is well
          Observed Generation:   2
          Reason:                AsExpected
          Status:                True
          Type:                  AllMachinesReady
          Last Transition Time:  2023-07-21T13:46:22Z
          Message:               All is well
          Observed Generation:   2
          Reason:                AsExpected
          Status:                True
          Type:                  AllNodesHealthy
          Last Transition Time:  2023-07-21T13:46:22Z
          Observed Generation:   2
          Reason:                AsExpected
          Status:                True
          Type:                  Ready
        Replicas:                2
        Version:                 4.14.0-ec.3
      Events:                    <none>

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

      $ oc version
      Client Version: 4.14.0-0.nightly-2023-07-20-215234
      Kustomize Version: v5.0.1
      Server Version: 4.14.0-0.nightly-2023-07-20-215234
      Kubernetes Version: v1.27.3+4aaeaec
      
      MCE 2.4.0-DOWNANDBACK-2023-07-20-13-59-22

      How reproducible:

      100%

      Steps to Reproduce:

      1. Install 4.14 hub cluster
      2. Install MCE 2.4.0 and hypershift operator via MCE add-on
      3. Create nodepool with autorepair enabled
      

      Actual results:

      autorepair field is empty in the output of `oc get nodepool` command

      Expected results:

      I would expect to see AUTOREPAIR True in the output of `oc get nodepool`

      Additional info:

       

              imain@redhat.com Ian Main (Inactive)
              epassaro@redhat.com Elsa Passaro
              Elsa Passaro Elsa Passaro
              Lubov Shilin, Shelly Miron
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated: