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.abc.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 ran to upgrade the logging stack to version RHOCP 3.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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In