Upgrading the OpenShift Container Platform EFK stack fails with the error "Cluster was unable to recover to a green state. Please see documentation regarding recovering during a rolling cluster restart."
Issue
-
Upgrading the OpenShift Container Platform EFK (logging) stack fails with the following error message:
Cluster <cluster name> was unable to recover to a green state. Please see documentation regarding recovering during a rolling cluster restart.
-
We have some large shards (50 GB or more) in our elasticsearch cluster that do not finish initializing before the Ansible playbook returns the above error.
Environment
- Red Hat OpenShift Container Platform (OCP)
- 3.7
- 3.9
- 3.10
- 3.11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.