$ sudo dnf install -y qemu-img
From OpenShift Container Platform 4.16 and later, you can use the Assisted Installer to install an OpenShift Container Platform cluster on Alibaba Cloud. Alibaba Cloud provides a broad range of cloud computing and data storage services to online businesses and global enterprises.
Installing Alibaba Cloud with Assisted Installer is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process. For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope. |
The main steps of the installation process are as follows:
Create the cluster with the Assisted Installer and download the generated image.
Convert the image to QCOW2
format. For more information, see the following section.
Upload the image to the Object Storage Service bucket in Alibaba Cloud.
Import the image to the Elastic Compute Service in Alibaba Cloud.
Provision the Alibaba Cloud resources:
In the Virtual Private Cloud (VPC) console, set the networking configurations.
In the Alibaba Cloud DNS console, define the Domain Name System.
In the Elastic Compute Service (ECS) console, provision the compute instances.
Complete host discovery in the Assisted Installer.
Complete the network configurations in Alibaba Cloud.
Complete the cluster configuration and installation in the Assisted Installer.
Convert the generated ISO to QCOW2
format before importing it into Alibaba Cloud.
You have created a cluster and downloaded the discovery image in the Assisted Installer.
You have access to a Red Hat Enterprise Linux or Fedora machine that is outside the cluster, such as your desktop machine.
You have ensured that the machine has virtualization flags enabled.
Open the command line interface on your RHEL or Fedora machine.
Verify that qemu-img
is installed on the machine by running the following command:
$ sudo dnf install -y qemu-img
Convert the image to QCOW2
by running the following command:
$ qemu-img convert -O qcow2 ${CLUSTER_NAME}.iso ${CLUSTER_NAME}.qcow2