Hi Sambasiva,
Gerrit pinged me about your first question. First of all, thank you so much for providing us with feedback.
As Gerrit said, we're always trying to get more packages on Power. To add to what he said: any time you find a package you want someone to port to Power, it helps if let that community know, too. Sometimes a community is reluctant to accept our changes to support ppc64le because that
they have never seen any customer ask for that support. Vocal partners are so helpful to us.
--
Some good news for you -- since you've started using RHCOS on Power, we've been working closely with Red Hat's OpenShift team, and now have OVA bundles specifically for Power VS starting with 4.11. You can get them from their mirror [1] or even import them from regional COS buckets in IBM Cloud. To do this via the Web UI isn't supported yet, so you'll need to use the
ibmcloud
cli.
After you've installed the
ibmcloud
cli
power-iaas
plugin [2], use the following as an example import:
ibmcloud pi image-import --bucket rhcos-powervs-images-eu-de --image-file-name rhcos-411-86-202212072103-0-ppc64le-powervs.ova.gz --region eu-de --bucket-access public --job --os-type rhel --disk-type tier1 rhcos-411-86-202212072103-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 --job --os-type rhel
You can find the available (4.11 and later) OVA images on the mirror [1]. Keep in mind also that there are pre-release images there. You'll want to stick to supported releases.
The regional COS buckets available aren't yet documented, but an easy way to find them is to look in the installer repo [3].
Search for `rhcos-powervs-images-`. The pattern is `rhcos-powervs-images-<region>`. These are COS region names, which are different than the Power VS region names.
HTH,
- Christy
[1]
https://mirror.openshift.com/pub/openshift-v4/ppc64le/dependencies/rhcos/[2]
https://cloud.ibm.com/docs/cli?topic=cli-plug-ins[3]
https://github.com/openshift/installer/blob/release-4.11/data/data/coreos/rhcos.json#L286-L341------------------------------
Christy Norman
------------------------------
Original Message:
Sent: Thu January 05, 2023 12:56 PM
From: Sambasiva Andaluri
Subject: Share your experiences porting an app to Linux on Power – what went well, what could have gone better
Hi Linda,
The following are some challenges I faced:
1. RedHat Core OS images are available as qcow2 format which would need to converted to ova for making them available to import for PowerVS instance. It would be nice to have the ova images made available along with qcow2. Even better would be to have the RHCOS images imported images available in the system images list. In order for me to get an OVA file to create a PowerVS, I need another PowerVS instance to convert images to ova. Minor inconvenience but in terms for user experience this little detail could help developer experience.
2. For the larger open source community, some dependencies e.g. cryptography don't have ppc64e equivalents in its own dependencies. so the whole package fails on Power due to underlying dependencies not available for ppc64e. It is very difficult to recompile all open source equivalents on ppc64e but if IBM offers a broken repo site where developers can report such dependencies. IBM could make an effort to reach out to open source developers and have their builds targeted for power as well. Just an idea.
------------------------------
Sambasiva Andaluri
Original Message:
Sent: Wed January 04, 2023 06:14 PM
From: Linda Alkire
Subject: Share your experiences porting an app to Linux on Power – what went well, what could have gone better
Share your experiences porting an app to Linux on Power – what went well, what could have gone better
------------------------------
Linda Alkire
IBM
Minneapolis MN
------------------------------