Bug 1549749 - no def lib_utils_oo_random_word filter, was oo_random_word filter, blocks logging deployment
Summary: no def lib_utils_oo_random_word filter, was oo_random_word filter, blocks log...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.7.1
Hardware: All
OS: All
unspecified
medium
Target Milestone: ---
: 3.7.z
Assignee: ewolinet
QA Contact: Anping Li
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-27 18:31 UTC by Dan Yocum
Modified: 2018-04-05 09:40 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
result of a bad cherry-pick
Clone Of:
Environment:
Last Closed: 2018-04-05 09:39:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0636 0 None None None 2018-04-05 09:40:24 UTC

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


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