Running upgrade_nodes.yml fails with 'first_master_client_binary' is undefined

Solution Verified - Updated -

Issue

  • When running
    • /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_10/upgrade_nodes.yml or
    • /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_9/upgrade_nodes.yml it fails with following error:
  1. Hosts:    abc03.example.com
     Play:     Drain and upgrade nodes
     Task:     Check for GlusterFS cluster health
     Message:  The task includes an option with an undefined variable. The error was: 'first_master_client_binary' is undefined

               The error appears to have been in '/usr/share/ansible/openshift-ansible/roles/openshift_storage_glusterfs/tasks/cluster_health.yml': line 4, column 3, but may
               be elsewhere in the file depending on the exact syntax problem.

               The offending line appears to be:

               # lib_utils/library/glusterfs_check_containerized.py
               - name: Check for GlusterFS cluster health
                 ^ here

               exception type: <class 'ansible.errors.AnsibleUndefinedVariable'>
               exception: 'first_master_client_binary' is undefined

Environment

  • OpenShift Container Platform
    • 3.10
    • 3.9.43

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content