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

Bug 1549749

Summary: no def lib_utils_oo_random_word filter, was oo_random_word filter, blocks logging deployment
Product: OpenShift Container Platform Reporter: Dan Yocum <dyocum>
Component: InstallerAssignee: ewolinet
Status: CLOSED ERRATA QA Contact: Anping Li <anli>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.7.1CC: aos-bugs, jokerman, mmccomas
Target Milestone: ---Keywords: OpsBlocker
Target Release: 3.7.z   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
result of a bad cherry-pick
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-05 09:39:53 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 Dan Yocum 2018-02-27 18:31:05 UTC
Description of problem:

In openshift-ansible-filter-plugins-3.7.31-1.git.0.08008d0.el7.noarch.rpm
a filter is being called using a new (3.9) name instead of the old (3.7) name yielding this result:


TASK [openshift_logging_elasticsearch : template] ******************************************************************************************
Tuesday 27 February 2018  13:07:11 -0500 (0:00:00.208)       0:02:18.664 ****** 
fatal: [54.164.255.160]: FAILED! => {"msg": "template error while templating string: no filter named 'lib_utils_oo_random_word'. String: {{ 
16 | lib_utils_oo_random_word | b64encode }}"}


Version-Release number of selected component (if applicable):

openshift-ansible-filter-plugins-3.7.31-1.git.0.08008d0.el7.noarch.rpm

How reproducible:

Always


Steps to Reproduce:
1. Install a cluster using openshift-ansible-3.7.31-1.git.0.08008d0
2.
3.

Actual results:

see above

Expected results:

logging is deployed correctly

Additional info:


Description of problem:

Version-Release number of the following components:
rpm -q openshift-ansible
rpm -q ansible
ansible --version

How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual results:
Please include the entire output from the last TASK line through the end of output if an error is generated

Expected results:

Additional info:
Please attach logs from ansible-playbook with the -vvv flag

Comment 1 Dan Yocum 2018-02-27 18:39:40 UTC
Change this:

    logging_user_passwd: "{{ 16 | lib_utils_oo_random_word | b64encode }}"

to:

    logging_user_passwd: "{{ 16 | oo_random_word | b64encode }}"

in:

    roles/openshift_logging_elasticsearch/tasks/main.yaml

Comment 2 Michael Gugino 2018-02-27 18:46:00 UTC
This is already fixed in 3.7 branch:
eddb211416 (Eric Wolinetz  2018-02-15 17:39:03 -0600 151)

Comment 4 Scott Dodson 2018-02-27 22:04:39 UTC
Already in openshift-ansible-3.7.33-1

Comment 5 Anping Li 2018-02-28 10:10:21 UTC
Pass using openshift3/ose-ansible/images/v3.7.35-1

Comment 6 Dan Yocum 2018-03-06 18:34:02 UTC
Can confirm - 3.7.35 doesn't have this problem.  

Thanks!

Comment 10 errata-xmlrpc 2018-04-05 09:39:53 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:0636