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

[OpenShift 4.12] Platform type is ignored

XMLWordPrintable

    • No
    • Agent Sprint 232
    • 1
    • Proposed
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Clusters created with platform 'vsphere' in the install-config end up as type 'BareMetal' in the infrastructure CR.

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

      4.12.3

      How reproducible:

      100%

      Steps to Reproduce:

      1. Create a cluster through the agent installer with platform: vsphere in the install-config
      2. oc get infrastructure cluster -o jsonpath='{.status.platform}' 

      Actual results:

      BareMetal

      Expected results:

      VSphere

      Additional info:

      The platform type is not being case converted ("vsphere" -> "VSphere") when constructing the AgentClusterInstall CR. When read by the assisted-service client, the platform reads as unknown and therefore the platform field is left blank when the Cluster object is created in the assisted API. Presumably that results in the correct default platform for the topology: None for SNO, BareMetal for everything else, but never VSphere. Since the platform VIPs are passed through a non-platform-specific API in assisted, everything worked but the resulting cluster would have the BareMetal platform.

            zabitter Zane Bitter
            zabitter Zane Bitter
            Manoj Hans Manoj Hans
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: