Quick blog post today that will hopefully save some folks some time and headaches. If you're installing an OpenShift cluster using UPI, you'll need to import the OS images into your workspace first. Thankfully, Red Hat builds images specifically for PowerVS, and even uploads them into regional COS buckets in IBM Cloud. All you have you do, then, is run an import command. You don't need to build one yourself. Here's the process!
Note: As of OpenShift version 4.18, the RHCOS image versions are aligned with RHEL. This means that you'll see rhel-9.x, for example, instead of rhcos-4.19, as the CoreOS image names.
Pre-Reqs:
- Identify the OpenShift release you're installing (e.g. 4.16)
- Identify the region into which you're installing (IOW, where your workspace will be).
- Note: PowerVS region & zone names are not identical to IBM Cloud VPC names. The COS buckets containing the OVAs have the VPC names. The table here lists them side-by-side: https://cloud.ibm.com/docs/power-iaas?topic=power-iaas-ibm-cloud-reg
- Install the
openshift-install program from Red Hat using instructions for your desired release: https://docs.redhat.com/en/documentation/openshift_container_platform/4.20/html/installing_on_any_platform/installing-platform-agnostic#installation-obtaining-installer_installing-platform-agnostic
- Note: You'll be downloading from the "Run it Yourself" section: IBM PowerVS (ppc64le).
- Note: Be sure to download the correct architecture. If you're these commands on a Power system, select ppc64le from the drop-down after selecting IBM PowerVS (ppc64le).
- Install the
ibmcloud CLI using instructions found here: https://cloud.ibm.com/docs/cli?topic=cli-getting-started
- Install the
pi plugin using instructions found here: https://cloud.ibm.com/docs/power-iaas-cli-plugin?topic=power-iaas-cli-plugin-ibmcloud-pi
Image Import Procedure:
- Run the following to get a list of all available images in all the regional COS buckets:
openshift-install coreos print-stream-json | grep '\.ova.gz[^.]'
- Find the URL that corresponds to the regional bucket you want to use. Any will work, but for faster downloads, use the closest bucket to your PowerVS workspace region.
- For example: "url": "https://s3.au-syd.cloud-object-storage.appdomain.cloud/rhcos-powervs-images-au-syd/rhcos-9-6-20250523-0-ppc64le-powervs.ova.gz"
- rhcos-powervs-images-au-syd - bucket name (ending in region-name,
au-syd)
- rhcos-9-6-20250523-0-ppc64le-powervs.ova.gz - image file name
- Run the following to import the image into your workspace:
ibmcloud pi ws target <workspace_crn>
ibmcloud pi image-import --bucket rhcos-powervs-images-eu-de --image-file-name rhcos-9-6-20250523-0-ppc64le-powervs.ova.gz --region au-syd --bucket-access public --os-type rhel --storage-tier tier1 rhcos-9-6-20250523-0-ppc64le-powervs
You can set affinity instead of a disk type, and use a different bucket and region, but you have to use these flags as-is:
--bucket-access public --os-type rhel
That's it! After about 10 minutes your image should have been download and imported into your workspace. You can verify by using the UI and viewing images in your workspace, or by using the CLI: ibmcloud pi image ls .
#Containers,Kubernetes,andOpenShift