Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1547880 - ansible-playbook failed to install logging due to no filter named 'lib_utils_oo_random_word'
ansible-playbook failed to install logging due to no filter named 'lib_utils_...
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer (Show other bugs)
3.7.1
Unspecified Unspecified
high Severity high
: ---
: 3.7.z
Assigned To: ewolinet
Anping Li
: TestBlocker
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-02-22 03:11 EST by Peter Ruan
Modified: 2018-04-05 05:40 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: No Doc Update
Doc Text:
due to 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 Peter Ruan 2018-02-22 03:11:03 EST
Description of problem:

ansible-playbook failed to install logging due to no filter named 'lib_utils_oo_random_word' when parsing template


Version-Release number of selected component (if applicable):
oc v3.7.31
kubernetes v1.7.6+a08f5eeb62

How reproducible:
always.

Steps to Reproduce:
1. ansible-playbook -i /tmp/tmp/install_inventory -vv /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/openshift-logging.yml
2.
3.

Actual results:

    TASK [openshift_logging_elasticsearch : template] ******************************
          task path: /usr/share/ansible/openshift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:145
          Thursday 22 February 2018  07:49:30 +0000 (0:00:00.766)       0:01:25.236 *****
          fatal: [host-8-246-91.host.centralci.eng.rdu2.redhat.com]: FAILED! => {"failed": true, "msg": "template error while templating string: no filter named 'lib_utils_oo_random_word'. String: {{ 16 | lib_utils_oo_random_word | b64encode }}"}
            to retry, use: --limit @/usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/openshift-logging.retry


Expected results:


Additional info:
inventory file used:
      [OSEv3:children]
      masters

      [masters]
      host-8-246-91.host.centralci.eng.rdu2.redhat.com openshift_public_hostname=host-8-246-91.host.centralci.eng.rdu2.redhat.com

      [etcd]
      host-8-246-91.host.centralci.eng.rdu2.redhat.com openshift_public_hostname=host-8-246-91.host.centralci.eng.rdu2.redhat.com

      [OSEv3:vars]
      ansible_ssh_user=root
      ansible_ssh_private_key_file="/tmp/tmp/libra.pem"
      deployment_type=openshift-enterprise

      # Logging
      openshift_logging_install_logging=true
      openshift_logging_kibana_hostname=logs.apps.0221-l4s.qe.rhcloud.com
      openshift_logging_kibana_ops_hostname=logs-ops.apps.0221-l4s.qe.rhcloud.com
      public_master_url=https://host-8-246-91.host.centralci.eng.rdu2.redhat.com:8443
      openshift_logging_image_prefix=brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/openshift3/
      openshift_logging_image_version=v3.7
      openshift_logging_namespace=ean2p

      # Extra_Logging
      openshift_logging_elasticsearch_cpu_limit=300m
      openshift_logging_elasticsearch_cpu_request=300m
      openshift_logging_elasticsearch_memory_limit=512Mi
      openshift_logging_es_cpu_limit=300m
      openshift_logging_es_cpu_request=300m
      openshift_logging_es_ops_cpu_limit=300m
      openshift_logging_es_ops_cpu_request=300m
      openshift_logging_es_memory_limit=512Mi
      openshift_logging_es_ops_memory_limit=512Mi
      openshift_logging_kibana_memory_limit=512Mi
      openshift_logging_kibana_ops_memory_limit=512Mi

      # test specific settings
      openshift_logging_use_ops=true
      openshift_logging_es_pvc_dynamic=true
      openshift_logging_es_cluster_size=1
      openshift_logging_es_ops_pvc_dynamic=true
      openshift_logging_es_ops_cluster_size=1

      # Metrics
      openshift_metrics_install_metrics=true
      openshift_metrics_hawkular_hostname=metrics.apps.0221-l4s.qe.rhcloud.com
      openshift_metrics_project=ean2p
      openshift_metrics_image_prefix=brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/openshift3/
      openshift_metrics_image_version=v3.7

      # Extra_Metrics
Comment 1 Peter Ruan 2018-02-22 03:13:52 EST
openshift-ansible version git commit ID 08008d0
Comment 2 Rich Megginson 2018-02-22 10:09:52 EST
commit eddb211416770e68a5d31d926d017f64a362810f
Author: Eric Wolinetz <ewolinet@redhat.com>
Date:   Thu Feb 15 17:39:03 2018 -0600

Not sure when this will end up in an openshift-ansible 3.7 release.
Comment 3 Scott Dodson 2018-02-22 16:24:14 EST
Looks like Eric fixed it so assigning to him.
Comment 5 Anping Li 2018-02-28 21:21:13 EST
Verified and pass openshift3/ose-ansible/images/v3.7.35-1
Comment 9 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.