Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1832693

Summary: Openshit 3.11 install [WARNING]: '_es_node' is undefined
Product: OpenShift Container Platform Reporter: Jon <jharding>
Component: LoggingAssignee: Jeff Cantrill <jcantril>
Status: CLOSED DUPLICATE QA Contact: Anping Li <anli>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.11.0CC: aos-bugs
Target Milestone: ---   
Target Release: 3.11.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-08 13:55:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jon 2020-05-07 05:32:32 UTC
Description of problem:
failed to start ES when using ansible 2.9

Version-Release number of selected component (if applicable):
Openshift 3.11.153 
ansible 2.9.7
  config file = /home/dude/cfg/ansible.cfg
  configured module search path = [u'/home/dude/.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, Sep 26 2019, 13:23:47) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]

How reproducible:
Every time and install is run. 

Steps to Reproduce:
1. ansible-playbook -i inventory /usr/share/ansible/openshift-ansible/playbooks/prerequisites.yml
2. ansible-playbook -i inventory /usr/share/ansible/openshift-ansible/playbooks/deploy_cluster.yml
3. oc login and check for ES pods in openshift-logging

Actual results:
everything is setup but ES is not deployed

Expected results:
ES being deployed 

Additional info:
Found this https://access.redhat.com/solutions/4914671, 
"Root Cause

By the time this article is being written, Ansible 2.9 is not yet tested/supported, latest supported version is 2.8:"

The install documents call for using Ansible 2.9 so it seems either Ansible 2.9 has a bug or our documents are wrong.

This issue is not present in 3.11.200 + Ansible 2.9

Comment 1 Jeff Cantrill 2020-05-08 13:55:22 UTC
Sincere question, what's your expectation other then upgrade since we can not fix 3.11.153? It looks as though the fix already exists as you identified in #c1.  CLOSING CURRENTRELEASE

Comment 2 Scott Dodson 2020-05-08 16:59:56 UTC
Fixes for this particular problem were in https://github.com/openshift/openshift-ansible/pull/12094/files and 2.9 was tested as part of the duped bug.

*** This bug has been marked as a duplicate of bug 1799399 ***