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

CPMS doesn't always generate configurations for AWS

XMLWordPrintable

    • No
    • Proposed
    • False
    • Hide

      None

      Show
      None

      This is a clone of issue OCPBUGS-11389. The following is the description of the original issue:

      Description of problem:

      In certain cases, an AWS cluster running 4.12 doesn't automatically generate a controlplanemachineset when it's expected to.
      
      It looks like CPMS is looking for `infrastructure.Spec.PlatformSpec.Type` (https://github.com/openshift/cluster-control-plane-machine-set-operator/blob/2aeaaf9ec714ee75f933051c21a44f648d6ed42b/pkg/controllers/controlplanemachinesetgenerator/controller.go#L180) and as result, clusters born earlier than 4.5 when this field was introduced (https://github.com/openshift/installer/pull/3277) will not be able to generate a CPMS.
      
      I believe we should be looking at `infrastructure.Status.PlatformStatus.Type` instead
      

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

      4.12.9
      

      How reproducible:

      Consistent
      

      Steps to Reproduce:

      1. Install a cluster on a version earlier than 4.5
      2. Upgrade cluster through to 4.12
      3. Observe "Unable to generate control plane machine set, unsupported platform" error message from the control-plane-machine-set-operator, as well as the missing CPMS object in the openshift-machine-api namespace
      

      Actual results:

      No generated CPMS is created, despite the platform being AWS
      

      Expected results:

      A generated CPMS existing in the openshift-machine-api namespace
      

      Additional info:

      
      

              joelspeed Joel Speed
              openshift-crt-jira-prow OpenShift Prow Bot
              Huali Liu Huali Liu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: