Created attachment 1488317 [details] ansible log output Description of problem: when istalling new OCP 3.9 env with latest openshift-ansible-3.9.43-1.git.0.d0bc600.el7.noarch it fails with the following message: TASK [openshift_storage_glusterfs : Create heketi secret] ************************************************************************************************************************************ changed: [inf152.example.com] TASK [openshift_storage_glusterfs : Generate GlusterFS StorageClass file] ******************************************************************************************************************** fatal: [inf152.example.com]: FAILED! => {"changed": false, "failed": true, "msg": "AnsibleUndefinedVariable: 'glusterfs_heketi_route' is undefined"} to retry, use: --limit @/usr/share/ansible/openshift-ansible/playbooks/deploy_cluster.retry PLAY RECAP *********************************************************************************************************************************************************************************** inf152.example.com : ok=516 changed=208 unreachable=0 failed=1 inf153.example.com : ok=343 changed=138 unreachable=0 failed=0 inf154.example.com : ok=343 changed=138 unreachable=0 failed=0 inf155.example.com : ok=143 changed=55 unreachable=0 failed=0 inf156.example.com : ok=159 changed=63 unreachable=0 failed=0 inf157.example.com : ok=143 changed=55 unreachable=0 failed=0 inf158.example.com : ok=143 changed=55 unreachable=0 failed=0 inf159.example.com : ok=143 changed=55 unreachable=0 failed=0 inf160.example.com : ok=143 changed=55 unreachable=0 failed=0 inf161.example.com : ok=140 changed=53 unreachable=0 failed=0 inf162.example.com : ok=140 changed=53 unreachable=0 failed=0 inf163.example.com : ok=140 changed=53 unreachable=0 failed=0 inf164.example.com : ok=140 changed=53 unreachable=0 failed=0 inf165.example.com : ok=140 changed=53 unreachable=0 failed=0 inf166.example.com : ok=140 changed=53 unreachable=0 failed=0 inf167.example.com : ok=140 changed=53 unreachable=0 failed=0 inf168.example.com : ok=140 changed=53 unreachable=0 failed=0 inf169.example.com : ok=140 changed=53 unreachable=0 failed=0 localhost : ok=14 changed=0 unreachable=0 failed=0 INSTALLER STATUS ***************************************************************************************************************************************************************************** Initialization : Complete (0:01:02) Health Check : Complete (0:07:09) etcd Install : Complete (0:02:49) Load balancer Install : Complete (0:01:20) Master Install : Complete (0:05:05) Master Additional Install : Complete (0:02:02) Node Install : Complete (0:21:53) GlusterFS Install : In Progress (0:08:54) This phase can be restarted by running: playbooks/openshift-glusterfs/config.yml Failure summary: 1. Hosts: inf152.example.com Play: Configure GlusterFS Task: Generate GlusterFS StorageClass file Message: AnsibleUndefinedVariable: 'glusterfs_heketi_route' is undefined [root@inf150 ~]# The very same inventory (will attach) is working fine with previous version) 3.9.41, so I consider this a regression! Version-Release number of the following components: [root@inf150 ~]# rpm -q openshift-ansible openshift-ansible-3.9.43-1.git.0.d0bc600.el7.noarch [root@inf150 ~]# [root@inf150 ~]# rpm -q ansible ansible-2.4.6.0-1.el7ae.noarch [root@inf150 ~]# [root@inf150 ~]# ansible --version ansible 2.4.6.0 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, May 31 2018, 09:41:32) [GCC 4.8.5 20150623 (Red Hat 4.8.5-28)] [root@inf150 ~]# How reproducible: Steps to Reproduce: 1. Install OCP 3.9 with the inventory attached 2. fails with above error Actual results: Please include the entire output from the last TASK line through the end of output if an error is generated (see above, ansible log attached) Expected results: works as with previous ansible version Additional info: - looks like https://github.com/openshift/openshift-ansible/pull/10146
Created attachment 1488318 [details] ansible hosts file used
- hosts file used is attached - ansible.log is attached
The customer reported this BZ. Since it's a blocking issue, I'd like to clarify the following things. - Do you have a workaround? According to the fix [1], the customer has to edit the playbook directly in their host. Is it correct? If you have any workarounds, please let me know [1] https://github.com/openshift/openshift-ansible/pull/10146/files - Do we have a schedule for releasing the next patch including this fix?
Hi, Since this is the blocking issue for the customer, we need a supported way to workaround the issue. What is the recommended workaround? If the customer needs to modify the playbook directory, please let me know. Or is there a way to lock the old version of openshift-ansible package?
There is no "supported" workaround other than upgrading to a version of openshift-ansible that has the fix merged. Manually changing the playbooks, while unsupported, would be the most immediate solution. I do not know what the release schedule for this is. Scott?
*** Bug 1643711 has been marked as a duplicate of this bug. ***
This is in openshift-ansible-3.9.46-1 and later, moving ON_QA.
Hello all Can we confirm if comment #10 from Scott happened, if not do we have a new release date.
Hi Jose, Can you please update the bug with the fixed in version details? Thanks!
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0098