Execution of openshift-logging ansible playbooks ends with curl error

Solution Verified - Updated -

Issue

  • When executing the ansible-playbook ./playbooks/openshift-logging/config.yml the execution stops with the following curl error:

    $ cd /usr/share/ansible/openshift-ansible
    $ ansible-playbook -vvvv ./playbooks/openshift-logging/config.yml
    
    [...]
    
    fatal: [master1.example.com]: FAILED! => {"changed": true, "cmd": ["curl", "-s", "-k", "--cert", "/tmp/openshift-logging-ansible-GPfLi8/admin-cert", "--key", "/tmp/openshift-logging-ansible-GPfLi8/admin-key", "https://logging-es.openshift-logging.svc:9200/_cluster/health?pretty"], "delta": "0:00:17.539403", "end": "2020-03-05 09:24:51.560669", "msg": "non-zero return code", "rc": 6, "start": "2020-03-05 09:24:34.021266", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
    
    [...]
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 3.11

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