Support for RHEL 9
ryoung1us opened this issue · comments
The ansible code needs to support RHEL 9 for the KVM hosts AND guests.
Main Issues found:
-
libvirt-devel
package is not available by default in rhel 9. (Requires codeready entitlements (CRB channel) to use but may not even be needed) - KVM Host - package "network-scripts" does not exists on RHEL9. I did find
NetworkManager-initscripts-updown.noarch : Legacy ifup/ifdown scripts for NetworkManager that replace initscripts (network-scripts)
- KVM bastion issue - robertdebock.openvpn dependencies cannot be installed on RHEL 9. Need to find alternatives for multi cluster. - KVM Host issue
- Password authentication is turned off by default in RHEL 9. Can we overcome by adding below to kickstart
echo "PasswordAuthentication yes" >> /etc/ssh/sshd_config echo "PermitRootLogin yes" >> /etc/ssh/sshd_config systemctl restart sshd
- KVM bastion issue
- FIPS installations will have issues with oc binary (this issues is at openssl level and may not need out attention) - general
Minor Issues:
- The default python3 package version in RHEL 8 is 3.6.x and RHEL9 is 3.9.x. With this python 3.9 version you are only able to install ansible 8.7. Not higher. The latest ansible version 9.2 requires python 3.11. Not a pressing issue as standard
ansible-core
package in rhel is enough to run our playbooks - controller issue
Note: ocp 4.15 onwards, the oc mirror binary required higher glibc version not available on rhel 8 and order oc mirror cannot be used to mirror ocp 4.15 if you are using rhel 8 as mirror host.
FYI.
I made a mistake.
The default python3 version on RHEL 8.8 is 3.6 and not 3.9 !
Moving to rhel 9 could potentially close #187
FYI. I made a mistake. The default python3 version on RHEL 8.8 is 3.6 and not 3.9 !
@smolin-de updated in the issue list
@mohammedzee1000 @AmadeusPodvratnik
Here is my RHEL9 kickstart file which I used so far:
https://github.com/smolin-de/Ansible-OpenShift-Provisioning/blob/development/roles/create_bastion/templates/rhel9-bastion-ks.cfg.j2