Opensearch : cluster is red and never recover -

0

Hi,

What should we do when the Opensearch cluster is red and never recover for 3 days, with as notification message: "Your cluster status is red. We have started automatic snapshot restore for the red indices. No action is needed from your side. Red indices .opendistro-ism-config". ?

.opendistro-ism-config is an admin index, we don't have the rights to recover it from a snapshot.

It seems that our data are still arriving on our index. But we fail to access the "policies" menu , with "[search_phase_execution_exception] all shards failed" as error message.

In the Opensearch Dev Tools Console ,with a "GET _cluster/allocation/explain" we can see more detail of the index status : "index" : ".opendistro-ism-config", "shard" : 4, "primary" : true, "current_state" : "unassigned", "unassigned_info" : { "reason" : "CLUSTER_RECOVERED", "at" : "2023-11-20T12:56:49.906Z", "last_allocation_status" : "no_valid_shard_copy" }, "can_allocate" : "no_valid_shard_copy", "allocate_explanation" : "cannot allocate because all found copies of the shard are either stale or corrupt",

and with :

POST _snapshot/cs-automated-enc/2023-11-20t10-33-38.*****ID/_restore{ "indices": ".opendistro-ism-config" } we get : { "error" : { "root_cause" : [ { "type" : "security_exception", "reason" : "no permissions for [] and User [name=, backend_roles=[], requestedTenant=]" } ], "type" : "security_exception", "reason" : "no permissions for [] and User [name=, backend_roles=[], requestedTenant=]" }, "status" : 403 }

Last info, in the AWS Health Dashboard in the "Log event" tab we saw the following message concerning our Opensearch stack : "OpenSearchService domain unavailable" - Issue - Status Closed, but actually the stack never recovered from the red status.

已提問 6 個月前檢視次數 289 次
1 個回答
0

In this case I would raise a ticket with AWS Support and have them take a look at this issue to understand why this Index is in this state and to get it recovered for you.

AWS
Barry M
已回答 6 個月前
  • Thank you for your feedback, but without an AWS Support subscription, it seems that we can't create a ticket. That is the main reason why I've posted the question, in this "Re:Post" channel. I'm sorry that I forgot to mention it in in my issue description. Do you know a way to create a ticket for this kind of issue, to AWS support without AWS Support subscription ?

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南