-
Bug
-
Resolution: Not a Bug
-
Normal
-
None
-
4.13
-
None
-
Important
-
No
-
False
-
Description of problem:
OCP 4.13 is based on RHEL9 Scaleup.yml playbook to add RHEL nodes fails when using RHEL9.
Version-Release number of selected component (if applicable):
How reproducible:
Every time
Steps to Reproduce:
1. Deploy OCP 4.13 2. Reploy RHEL9 host 3. Run scaleup.yml to adopt RHEL9 host
Actual results:
TASK [openshift_node : Install openshift packages] ***************************** fatal: [rhel-node-1.lab.bewley.net]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: {{ (openshift_node_packages + openshift_node_support_packages) | join(',') }}: {{ openshift_node_support_packages_base + openshift_node_support_packages_by_os_major_version[ansible_distribution_major_version] + openshift_node_support_packages_by_arch[ansible_architecture] }}: 'dict object' has no attribute '9'. 'dict object' has no attribute '9'.
Expected results:
All pkgs installed.
Additional info:
This doc was followed https://docs.openshift.com/container-platform/4.13/machine_management/adding-rhel-compute.html however, RHEL9 and RHEL9 repositories were used. See OCPBUGS-18557
This patch obviates the above error:
— openshift-ansible/roles/openshift_node/defaults/main.yml.orig 2023-07-14 03:07:17.000000000 -0400
+++ openshift-ansible/roles/openshift_node/defaults/main.yml 2023-09-01 20:06:53.986175752 -0400
@@ -85,6 +85,7 @@
"8":
- openvswitch2.17
- policycoreutils-python-utils
+ "9": []
openshift_conflict_packages:
- openvswitch
- relates to
-
OCPBUGS-18594 cri-tools missing from EL8 repos
- Closed
-
OCPBUGS-18595 RHEL8 workers in 4.13+ should use openvswitch3.1
- Closed