Is it possible to Install OCP on an ARM64(aarch64) architecture platform for agent-based installation?
Issue
- Is it possible to generate an RHCOS Image of the ARM64 architecture for agent-based Installation?
- In agent-based installations, the
openshift-install agent create image
command is used with agent-config.yaml and install-config.yaml as arguments to generate an RHCOS ISO file. - If the
controlPlane.architecture
in install-config.yaml is set toarm64
and theopenshift-install agent create image
command is utilized, an error as shown below occurs, leading to the failure of RHCOS ISO file generation.
$ cat install-config.yaml
apiVersion: v1
baseDomain: ocp4.local
compute:
- architecture: arm64
name: worker
replicas: 0
controlPlane:
architecture: arm64
name: master
replicas: 1
platform:
none: {}
<...>
$ openshift-install agent create image --dir=.
ERROR failed to write asset (Agent Installer ISO) to disk: cannot generate ISO image due to configuration errors
FATAL failed to fetch Agent Installer ISO: failed to load asset "Install Config": invalid install-config configuration: [ControlPlane.Architecture: Unsupported value: "arm64": supported values: "amd64", Compute[0].Architecture: Unsupported value: "arm64": supported values: "amd64"]
- Is it possible to generate an RHCOS Image of the ARM64 architecture for agent-based installation?
- How to generate an RHCOS image of the ARM64 architecture for agent-based installation?
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4.12 or later
- Agent-based installer
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.