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

Installer fails to create ingress.config.openshift.io/cluster on AWS because of missing spec.loadBalancer.platform.aws.type

XMLWordPrintable

    • Critical
    • None
    • Proposed
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Installation fails on AWS because the installer manifests include an invalid ingresses.config.openshift.io/cluster manifest.

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

      4.12.

      How reproducible:

      Seems to be a consistent failure.

      Steps to Reproduce:

      1. Install a cluster on AWS without specifying lbType in the install-config.

      Actual results:

      The cluster bootstrap fails with the following error message:

      "cluster-ingress-02-config.yml": failed to create ingresses.v1.config.openshift.io/cluster -n : Ingress.config.openshift.io "cluster" is invalid: spec.loadBalancer.platform.aws.type: Required value
       

      Expected results:

      Cluster bootstrap should succeed.

      Additional info:

      https://github.com/openshift/installer/pull/6478 introduced the problematic logic that sets spec.loadBalancer.platform.aws without setting spec.loadBalancer.platform.aws.type.

       

            mmasters1@redhat.com Miciah Masters
            mmasters1@redhat.com Miciah Masters
            Shaowen Zhang Shaowen Zhang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: