Bug ID 1590425: Adding blade to openshift cluster can fail with ansible error

Last Modified: Apr 28, 2025

Affected Product(s):
F5OS F5OS-C(all modules)

Known Affected Versions:
F5OS-C 1.6.2

Fixed In:
F5OS-C 1.8.0

Opened: May 29, 2024

Severity: 3-Major

Symptoms

Adding or re-Adding a blade to the OpenShift cluster can fail with the following ansible error: fatal: [blade-2.chassis.local -> controller-1.chassis.local]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: {{ hostvars[groups.oo_first_master.0].openshift.master.api_url }}: 'dict object' has no attribute 'master'\n\nThe error appears to be in '/usr/share/ansible/openshift-ansible/roles/openshift_manage_node/tasks/main.yml': line 5, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n# systemd to start the master again\n- name: Wait for master API to become available before proceeding\n ^ here\n"}

Impact

New blade will not join the cluster correctly.

Conditions

Adding or re-Adding a blade to blade the OpenShift cluster after the etcd instance been rebuilt.

Workaround

The workaround is to rebuild the OpenShift cluster which will regenerate the openshift.fact file that had been corrupted.

Fix Information

The fix checks the openshift.fact file before running any ansible playbooks to make sure it is correct.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips