You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of the problem including expected versus actual behavior: Expected behavior will be that each container will store its own snapshots. Currently that is not happening.
Steps to reproduce:
create multiple cloud->azure->store entries in elasticsearch.yaml. use same storage account but different containers in different entries.
register multiple repos and commit to any one of them.
go to portal.azure.com and observe containers in storage account. Only elasticsearch-snapshots (a non pre-existing container) will be having repos and not others.
Provide logs (if relevant):
Describe the feature:
I have defined multiple Azure repos with different containers but same storage account. The elasticsearch.yaml file has different URIs registered under reach repo with same storage account name and key. I then went on to register different repos with ES by changing "account" field in "settings". All in all I have defined three repos. instagram_archival, facebook_archival and twitter_archival. These all use same storage account and key, but different containers. I'm not sure how to specify a container. Via a URI or just the name. In this session I tried both. They both didn't work.
One of the account is "instagram_archival" has following .yaml setting:
The problem is that when I created few snapshots in this repo (instagram_archival), it all went to default container ("elasticsearch-snaphots"). I had already created all containers from azure portal, although I didn't create this container "elasticsearch-snapshots" and elasticsearch somehow ignored those already existing and went ahead and created one of its own.
The text was updated successfully, but these errors were encountered:
Any reason you are doing that? I meant that AFAIK snapshot/restore runs on master/data nodes not on client nodes.
Did you also define this on master/data nodes?
Elasticsearch version: 2.4.0
Plugins installed: [azure-cloud plugin, head, marvel]
JVM version: 1.8.0_101
OS version: Ubuntu 16.04
Description of the problem including expected versus actual behavior: Expected behavior will be that each container will store its own snapshots. Currently that is not happening.
Steps to reproduce:
Provide logs (if relevant):
Describe the feature:
I have defined multiple Azure repos with different containers but same storage account. The elasticsearch.yaml file has different URIs registered under reach repo with same storage account name and key. I then went on to register different repos with ES by changing "account" field in "settings". All in all I have defined three repos. instagram_archival, facebook_archival and twitter_archival. These all use same storage account and key, but different containers. I'm not sure how to specify a container. Via a URI or just the name. In this session I tried both. They both didn't work.
One of the account is "instagram_archival" has following .yaml setting:
instagram_archival:
account: abcd
key: xxx
container: https://abcd.blob.core.windows.net/instagramarchival
compress: true
The problem is that when I created few snapshots in this repo (instagram_archival), it all went to default container ("elasticsearch-snaphots"). I had already created all containers from azure portal, although I didn't create this container "elasticsearch-snapshots" and elasticsearch somehow ignored those already existing and went ahead and created one of its own.
The text was updated successfully, but these errors were encountered: