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

Bug 1602015

Summary: default value for logging_elasticsearch_rollout_override is missing
Product: OpenShift Container Platform Reporter: Stuart Auchterlonie <sauchter>
Component: InstallerAssignee: ewolinet
Status: CLOSED ERRATA QA Contact: Anping Li <anli>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.9.0CC: anli, aos-bugs, jokerman, mmccomas, sdodson
Target Milestone: ---   
Target Release: 3.9.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Ansible 2.6.0 will not evaluate undefined variables with `|bool` as false. Consequence: We must define a | default(false) for logging_elasticsearch_rollout_override Fix: specify a default on the when condition Result: The playbook executes successfully
Story Points: ---
Clone Of:
: 1615194 (view as bug list) Environment:
Last Closed: 2018-08-09 22:13:49 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:
Bug Depends On:    
Bug Blocks: 1615194    

Description Stuart Auchterlonie 2018-07-17 15:43:44 UTC
Description of problem:

The default value for logging_elasticsearch_rollout_override is missing

Version-Release number of the following components:

# rpm -q openshift-ansible
openshift-ansible-3.9.31-1.git.34.154617d.el7.noarch
# rpm -q ansible
ansible-2.6.0-1.el7.noarch
# ansible --version
ansible 2.6.0
  config file = /root/.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)]
How reproducible:

When performing logging upgrades it is there is no default for
logging_elasticsearch_rollout_override

There is a patch available upstream already for this.

https://github.com/openshift/openshift-ansible/pull/9145


Steps to Reproduce:
1. Upgrade logging
2.
3.

Actual results:


Expected results:

Additional info:

Comment 5 Anping Li 2018-07-31 10:27:38 UTC
The upgrade works with logging-fluentd:3.9.40

Comment 7 Anping Li 2018-07-31 23:44:18 UTC
Yes, it is 3.9.x.

Comment 10 errata-xmlrpc 2018-08-09 22:13:49 UTC
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-2018:2335