Openshift installer tarball for rhel 9 extracts to `openshift-install-fips`
From OCP 4.16 onwards a new separate installer tarball is added for rhel 9 (openshift-install-rhel9-s390x.tar.gz). The normal binary is for rhel 8.
Downloading this and extracting it results in installer binary called openshift-install-fips instead of openshift-install.
This will cause AOP install to fail as it wont find openshift-install binary.
❯ wget https://mirror.openshift.com/pub/openshift-v4/s390x/clients/ocp/4.16.5/openshift-install-rhel9-s390x.tar.gz
❯ tar -xzf openshift-install-rhel9-s390x.tar.gz
❯ ls
openshift-install-fips openshift-install-rhel9-s390x.tar.gz
A possible workaround for this is to mirror the installer and oc client tarballs
You download, extract, and rename the installer binary (see below), then recreate the tarball, and host both the client tarball and newly created installer tarball in a location on a file server, and provide that URL to clients_download_url
FN=`ls openshift-install*`
if [[ $FN != "openshift-install" ]]; then
mv $FN openshift-install
fi
tar -czf openshift-install-linux.tar.gz openshift-install
A possible fix would be to detect the binary name after extraction and rename it in shell, this can be done as above (except the tarball recreation)
Of course, we would do something similar in Ansible.
I think this affects any rhel 9 bastion based install
@mohammedzee1000 With this PR you are able to use fips to install OCP using ABI.