Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only
Expand all | Collapse all

Issue with SNO OpenShift Installation - UPI platform

  • 1.  Issue with SNO OpenShift Installation - UPI platform

    Posted Thu March 06, 2025 12:19 AM

    Hi,

    I'm trying to set up a Single Node OpenShift (SNO) cluster after making changes to the install-config.yaml file. Here's my current configuration:

    yaml

    apiVersion: v1
    baseDomain: sno-master.com
    metadata:
      name: sno-cluster       # Cluster name
    networking:
      networkType: OVNKubernetes
    compute:
      - name: worker
        replicas: 0
    controlPlane:
      name: master
      replicas: 1
    platform:
      none: {}
    pullSecret:
    sshKey:


    When I run the openshift create cmd, I get the following error:

    FATAL: Failed to fetch Cluster Infrastructure Variables
    Error: Failed to generate asset "Cluster Infrastructure Variables" because "none" is a UPI platform.

    I'm installing this on a preinstalled Red Hat Enterprise Linux Server VM. What should I specify in the platform section to proceed with the installation? Any guidance would be greatly appreciated!

    Thanks



    ------------------------------
    Hariprasad R
    ------------------------------


  • 2.  RE: Issue with SNO OpenShift Installation - UPI platform

    Posted Thu March 06, 2025 04:09 AM

    Hi Hariprasad,

    You cannot install OpenShift on top of already deployed RHEL - it is not like installing WebSphere (or any other software) on top of some operating system. OpenShift installs with the CoreOS as the operating system. 
    You need any empty VM or bare metal server to deploy OpenShift. The easiest way is to use Assisted Installer (docs here: https://docs.openshift.com/container-platform/4.16/installing/installing_on_prem_assisted/installing-on-prem-assisted.html) or Agent Based Installer (docs here: https://docs.openshift.com/container-platform/4.16/installing/installing_with_agent_based_installer/preparing-to-install-with-agent-based-installer.html)



    ------------------------------
    Witold Wierzchowski
    Solution Architect
    Cohesive Poland
    ------------------------------