I am unable to snapshot to azure with the plugin installed.
Here is what I did to install
- plugin -install elasticsearch/elasticsearch-cloud-azure/2.0.0
- stopped the elastic search service
- modified the elasticsearch.yml file to include the following
cloud:
azure:
storage:
account: armorbackups
key: XXXXX
- then verified the plugin was installed (which seemed to be the most likely issue based on previous articles) and verified i have a one node cluster and the plugin is on the node.
running http://localhost:9200/_nodes/plugins produces
{
"cluster_name": "elasticsearch",
"nodes": {
"cTRBf4pPSyO7y7m_q0CIZA": {
"name": "Taurus",
"transport_address": "inet[/10.0.0.237:9300]",
"host": "REBELBASE6",
"ip": "10.0.0.237",
"version": "1.7.4",
"build": "0d3159b",
"http_address": "inet[/10.0.0.237:9200]",
"plugins": [
{
"name": "cloud-azure",
"version": "2.0.0",
"description": "Cloud Azure Plugin",
"jvm": true,
"site": false
}
]
}
}
}
So any idea why I am getting the following error when I attempt the following:
http://localhost:9200/_snapshot/rebelbase6_test
-d { "type": "azure"}
{
"error": "RepositoryException[[rebelbase6_test] failed to create repository]; nested: NoClassSettingsException[failed to load class with value [azure]; tried [azure, org.elasticsearch.repositories.AzureRepositoryModule, org.elasticsearch.repositories.azure.AzureRepositoryModule, org.elasticsearch.repositories.azure.AzureRepositoryModule]]; nested: ClassNotFoundException[org.elasticsearch.repositories.azure.AzureRepositoryModule]; ",
"status": 500
}