Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1602015 - default value for logging_elasticsearch_rollout_override is missing
default value for logging_elasticsearch_rollout_override is missing
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer (Show other bugs)
3.9.0
Unspecified Unspecified
unspecified Severity medium
: ---
: 3.9.z
Assigned To: ewolinet
Anping Li
:
Depends On:
Blocks: 1615194
  Show dependency treegraph
 
Reported: 2018-07-17 11:43 EDT by Stuart Auchterlonie
Modified: 2018-08-12 21:57 EDT (History)
5 users (show)

See Also:
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 18:13:49 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:2335 None None None 2018-08-09 18:14 EDT

  None (edit)
Description Stuart Auchterlonie 2018-07-17 11:43:44 EDT
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 06:27:38 EDT
The upgrade works with logging-fluentd:3.9.40
Comment 7 Anping Li 2018-07-31 19:44:18 EDT
Yes, it is 3.9.x.
Comment 10 errata-xmlrpc 2018-08-09 18:13:49 EDT
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

Note You need to log in before you can comment on or make changes to this bug.