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

controlPlane.replicas should be verified as 1 or 3

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.17
    • None
    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem

      controlPlane.replicas install-config docs have:

      Supported values are 3, or 1 when deploying single-node OpenShift

      But while Agent recently backported some validation for that to 4.14.z (OCPBUGS-31885), I don't see anything in validateControlPlane enforcing the 1-or-3 requirement.

      How reproducible

      Likely 100%, although I haven't tested.

      Steps to Reproduce

      Use a non-Agent installer to install a cluster with an install-config setting controlPlane.replicas: 2.

      Actual results

      Cluster installation attempted.

      Expected results

      Installer rejects the invalid install-config before touching cloud resources.

            bscott@redhat.com Ben Scott
            trking W. Trevor King
            Gaoyun Pei Gaoyun Pei
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: