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

CPMS cannot generate a config when 3 masters are in a single-az and machines pools are in > 1az

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • None
    • None
    • CLOUD Sprint 269, CLOUD Sprint 270, CLOUD Sprint 271, CLOUD Sprint 272, CLOUD Sprint 273, CLOUD Sprint 274, CLOUD Sprint 275
    • 7
    • Done
    • Bug Fix
    • Hide
      * Before this update, the Control Plane Machine Set configuration used availability zones from compute machine sets.
      This is not a valid configuration.
      As a consequence, the Control Plane Machine Set could not be generated when the control plane machines were in a single zone while compute machine sets spanned multiple zones.
      With this release, the Control Plane Machine Set availability zone configuration is derived from existing control plane machines.
      As a result, the Control Plane Machine Set generates a valid zone configuration that accurately reflects the current control plane machines.
      (link:https://issues.redhat.com/browse/OCPBUGS-52448[OCPBUGS-52448])
      Show
      * Before this update, the Control Plane Machine Set configuration used availability zones from compute machine sets. This is not a valid configuration. As a consequence, the Control Plane Machine Set could not be generated when the control plane machines were in a single zone while compute machine sets spanned multiple zones. With this release, the Control Plane Machine Set availability zone configuration is derived from existing control plane machines. As a result, the Control Plane Machine Set generates a valid zone configuration that accurately reflects the current control plane machines. (link: https://issues.redhat.com/browse/OCPBUGS-52448 [ OCPBUGS-52448 ])
    • None
    • None
    • None
    • None

      Description of problem:

      When a cluster is running with 3 control plane nodes in a single AZ, and machine pools in > 1 AZ, CPMS does not generate a config.    

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

          

      How reproducible:

      Very reproducible    

      Steps to Reproduce:

          1.Create a single AZ cluster via OCM
          2.Add a machine pool in a different AZ (via subnet config) than the initial one
          3.Notice CPMS does not have a config (you may have to delete the initial config to simulate this, the cluster in question pre-dates CPMS)
          

      Actual results:

      CPMS fails to generate a config because it finds 2 failure domains from listing all nodes

      Expected results:

      CPMS assumes that 3 control planes in a single AZ is expected and creates a config 

      Additional info:

      I realize this might be intentional but this would allow SRE to continue supporting this mode, which is offered by the business. Otherwise we have to manually create a CPMS spec and that sounds very error prone.    

              rmanak@redhat.com Radek Manak
              jbranham.openshift Josh Branham
              None
              None
              Huali Liu Huali Liu
              None
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: