Logging playbook is failing at TASK "Enable shard balancing for logging-{{ _cluster_component }} cluster]"

Solution In Progress - Updated -

Issue

  • Logging playbook is failing at task: "Enable shard balancing for logging-{{ _cluster_component }} cluster]".

    RUNNING HANDLER [openshift_logging_elasticsearch : Enable shard balancing for logging-{{ _cluster_component }} cluster]
    ******************************************************************************************
    fatal: [node-1.example.com]: FAILED! => {"changed": false, "cmd": ["curl", "-s", "-k", "--cert", "/tmp/openshift-logging-ansible-364jHA/admin-cert", "--key", "/tmp/openshift-logging-ansible-364jHA/admin-key", "-XPUT", "https://logging-es.openshift-logging.svc:9200/_cluster/settings", "-d", "{ \"persistent\": { \"cluster.routing.allocation.enable\" : \"all\" } }"], "delta": "0:00:01.014533", "end": "2020-09-21 19:31:46.576222", "msg": "non-zero return code", "rc": 7, "start": "2020-09-21 19:31:45.561689", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
    
  • When logging playbook ./playbooks/openshift-logging/config.yml is executed to upgrade the logging stack to RHOCP v3.11.286, the playbook fails at: "Enable shard balancing for logging-{{ _cluster_component }} cluster]" task.

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 3.11.286

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