New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade from 3.9 to 3.10 fails with "The error was: 'l_nodeconfig_name' is undefined" #10502

dharmit opened this Issue Oct 24, 2018 · 2 comments


None yet
2 participants
Copy link

dharmit commented Oct 24, 2018


I have a one master, ten node setup that's working just fine on 3.9. Upgrading to 3.10 fails with:

Failure summary:

  1. Hosts:,,,,,,,,,,
     Play:     Initialize cluster facts
     Task:     Fail when nodeName is wrong
     Message:  The task includes an option with an undefined variable. The error was: 'l_nodeconfig_name' is undefined

               The error appears to have been in '/usr/share/ansible/openshift-ansible/playbooks/init/cluster_facts.yml': line 82, column 7, but may
               be elsewhere in the file depending on the exact syntax problem.

               The offending line appears to be:

                   # set to that value.
                   - name: Fail when nodeName is wrong
                     ^ here
  • Your ansible version per ansible --version
    ansible --version
    ansible 2.6.3
      config file = /etc/ansible/ansible.cfg
      configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
      ansible python module location = /usr/lib/python2.7/site-packages/ansible
      executable location = /usr/bin/ansible
      python version = 2.7.5 (default, Jul 13 2018, 13:06:57) [GCC 4.8.5 20150623 (Red Hat 4.8.5-28)]

If you're running from playbooks installed via RPM

  • The output of rpm -q openshift-ansible
    rpm -q openshift-ansible
Steps To Reproduce
  1. Run upgrade.yml after making changes like openshift_node_groups to hosts file.
Expected Results

Upgrade to work fine.

Observed Results

Failure with error message mentioned at the beginning.

Additional Information

Provide any additional information which may help us diagnose the

  • Your operating system and version, ie: RHEL 7.2, Fedora 23 ($ cat /etc/redhat-release)
    $ cat /etc/os-release    
    NAME="CentOS Linux"
    VERSION="7 (Core)"
    ID_LIKE="rhel fedora"
    PRETTY_NAME="CentOS Linux 7 (Core)"
  • Your inventory file (especially any non-standard configuration parameters)
    Link to the inventory file

This comment has been minimized.

Copy link

nagonzalez commented Oct 31, 2018

looks like this was fixed 15 days ago:

Pull the latest release-3.10 branch and retry.


This comment has been minimized.

Copy link

dharmit commented Dec 19, 2018

Pull the latest release-3.10 branch and retry.

We use rpm packages from CentOS PaaS SIG repos. So pulling a branch is not feasible.

Closing this as it doesn't affect us anymore.

@dharmit dharmit closed this Dec 19, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment