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

CPMS should handle clusters where Masters are not indexed from 0

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Done
    • 4.12
    • None
    • None
    • CLOUD Sprint 225, CLOUD Sprint 226
    • Hide

      None

      Show
      None
    • N/A

    Description

      Description of problem:

      If a cluster has Control Plane Machines that are not indexed from 0, the CPMS currently will go degraded.
      
      For example, if you have already replaced the machines and they are indexed as `3`, `4`, `5`, the cluster will degrade.
      
      status:
        conditions:
        - lastTransitionTime: "2022-09-22T11:49:54Z"
          message: Missing 3 available replica(s)
          observedGeneration: 1
          reason: UnavailableReplicas
          status: "False"
          type: Available
        - lastTransitionTime: "2022-09-22T13:25:40Z"
          message: Observed 2 index(es) in excess
          reason: ExcessIndexes
          status: "True"
          type: Degraded
        - lastTransitionTime: "2022-09-22T13:25:40Z"
          message: ""
          reason: OperatorDegraded
          status: "False"
          type: Progressing
        observedGeneration: 1
        readyReplicas: 2
        replicas: 2
        unavailableReplicas: 3

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

       

      How reproducible:

      100%

      Steps to Reproduce:

      1. Create a cluster
      2. Replace each control plane machine so that you end up with machines master-3, master-4 and master-5
      3. Observe CPMS status
      

      Actual results:

      CPMS goes degraded because the current control plane machine names

      Expected results:

      CPMS should be happy with the current Control Plane Machine names

      Additional info:

       

      Attachments

        Activity

          People

            joelspeed Joel Speed
            joelspeed Joel Speed
            Huali Liu Huali Liu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: