Installation of aggregated logging with playbook fails when node-selectors defined

Solution Verified - Updated -

Issue

Installer fails with below error whenopenshift_logging_es_nodeselector='region=infra' and openshift_logging_curator_nodeselector='region=infra' are defined in inventory file :

TASK [openshift_logging : Generate Elasticsearch DeploymentConfig] *************
task path: /usr/share/ansible/openshift-ansible/roles/openshift_logging/tasks/set_es_storage.yaml:66
looking for "es.j2" at "/usr/share/ansible/openshift-ansible/roles/openshift_logging/templates/es.j2"
fatal: [master.example.com]: FAILED! => {
    "changed": false,
    "failed": true,
    "invocation": {
        "module_args": {
            "dest": "/tmp/openshift-logging-ansible-TxMbvC/templates/logging-logging-es-02e40h7d-dc.yaml",
            "src": "es.j2"
        },
        "module_name": "template"
    }

Environment

Red Hat OpenShift Container Platform 3.5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content