Experiencing an error while restoring the snapshot

I've been trying to restore the snapshot preserved in Azure storage blobs.

While restoring observed the below error,

{"error":{"root_cause":[{"type":"repository_exception","reason":"[elasticsearch_snapshot] Could not determine repository generation from root blobs"}],"type":"repository_exception","reason":"[elasticsearch_snapshot] Could not determine repository generation from root blobs","caused_by":{"type":"i_o_exception","reason":"Unable to list blobs by prefix [index-] for path ","caused_by":{"type":"settings_exception","reason":"Unable to find client with name [default]"}}},"status":500}

azure client storage account account and key are configured correctly. Is there anything else that I'm missing. Any insights are appreciated.

1 Like

How did you configure that?

using below commands,

bin/elasticsearch-keystore add azure.client.default.account
bin/elasticsearch-keystore add azure.client.default.key

Did you run this command on all the nodes?

Yes we did run this command on all the nodes

Worked when we restarted the nodes.

We can close the issue