I’m trying to add a secondary snapshot repo repo to a cluster to migrate data. I’ve added the account info and key into the elasticsearch keystore, you can see them here:
elasticsearch-keystore list
azure.client.default.account
azure.client.default.key
azure.client.secondary.account
azure.client.secondary.key
bootstrap.password
keystore.seed
To be sure, I also ran this on the cluster:
POST _nodes/reload_secure_settings
here is the settings for the repo:
"secondary-repo": {
"type": "azure",
"uuid": "Wj5LIrlvSXqnynrl-ZESZw",
"settings": {
"client": "secondary"
}
}
you can see client is set to “secondary” however when I do a verify on the snapshot repo, I get the following error:
"caused_by": {
"type": "settings_exception",
"reason": "Unable to find client with name [secondary]"
so what am I missing that it’s not finding this secondary client information? I think I have everything in place according to how the docs suggest.