opendistro-for-elasticsearch / opendistro-build

🧰 Open Distro Build Scripts
https://opendistro.github.io/
Apache License 2.0
344 stars 175 forks source link

Cannot take snapshots with azure blob storage #778

Open shreddy99 opened 3 years ago

shreddy99 commented 3 years ago

I deployed opendistro es with helm to AKS with custom image having repository azure plugin. AZ plugin installed, however when added the azure blob storage account and key in elasticsearch.yml inside the elastic container and restarted the elasticsearch, not able to create snapshot repository.

PUT _snapshot/elastic_blob { "type": "azure" }

Error below

{ "error" : { "root_cause" : [ { "type" : "settings_exception", "reason" : "Unable to find client with name [default]" } ], "type" : "repository_verification_exception", "reason" : "[elastic_blob] path is not accessible on master node", "caused_by" : { "type" : "settings_exception", "reason" : "Unable to find client with name [default]" } }, "status" : 500 }

shreddy99 commented 3 years ago

Can anyone help on this issue please ?

margold commented 3 years ago

It looks like it's not able to see the keys you added, or you configured them wrong (it looks for keys for the default client). It would be useful to know how you added them (example) and what version of Elasticsearch you are on.