Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1549749 - no def lib_utils_oo_random_word filter, was oo_random_word filter, blocks logging deployment
no def lib_utils_oo_random_word filter, was oo_random_word filter, blocks log...
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer (Show other bugs)
3.7.1
All All
unspecified Severity medium
: ---
: 3.7.z
Assigned To: ewolinet
Anping Li
: OpsBlocker
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-02-27 13:31 EST by Dan Yocum
Modified: 2018-04-05 05:40 EDT (History)
3 users (show)

See Also:
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 05:39:53 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:0636 None None None 2018-04-05 05:40 EDT

  None (edit)
Description Dan Yocum 2018-02-27 13:31:05 EST
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 13:39:40 EST
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 13:46:00 EST
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 17:04:39 EST
Already in openshift-ansible-3.7.33-1
Comment 5 Anping Li 2018-02-28 05:10:21 EST
Pass using openshift3/ose-ansible/images/v3.7.35-1
Comment 6 Dan Yocum 2018-03-06 13:34:02 EST
Can confirm - 3.7.35 doesn't have this problem.  

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

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