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

Solution In Progress - 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

  • Openshift Container Platform
    • 3.5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.