Bug 1547880 - ansible-playbook failed to install logging due to no filter named 'lib_utils_oo_random_word'
Summary: ansible-playbook failed to install logging due to no filter named 'lib_utils_...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.7.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 3.7.z
Assignee: ewolinet
QA Contact: Anping Li
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-22 08:11 UTC by Peter Ruan
Modified: 2018-04-05 09:40 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
due to 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 Peter Ruan 2018-02-22 08:11:03 UTC
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 08:13:52 UTC
openshift-ansible version git commit ID 08008d0

Comment 2 Rich Megginson 2018-02-22 15:09:52 UTC
commit eddb211416770e68a5d31d926d017f64a362810f
Author: Eric Wolinetz <ewolinet>
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 21:24:14 UTC
Looks like Eric fixed it so assigning to him.

Comment 5 Anping Li 2018-03-01 02:21:13 UTC
Verified and pass openshift3/ose-ansible/images/v3.7.35-1

Comment 9 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.