Skip to content

Azure repository does not remove temporary dir #18436

@dadoonet

Description

@dadoonet

Elasticsearch version: tested with 2.4.0-SNAPSHOT

Description of the problem including expected versus actual behavior:

When you create your azure repository, you get a message The specified blob does not exist

Steps to reproduce:

  1. bin/plugin install cloud-azure
  2. modify config/elasticsearch.yml to set cloud.azure.storage.my_account.account: xxx and cloud.azure.storage.my_account.key: yyy
  3. bin/elasticsearch
  4. Run the following script:
# Clean existing repo if any
curl -XDELETE localhost:9200/_snapshot/my_backup1?pretty

# Create azure repo
# This call gives in log: The specified blob does not exist
curl -XPUT localhost:9200/_snapshot/my_backup1?pretty -d '{
  "type": "azure"
}'

Provide logs (if relevant):

[2016-05-18 11:03:24,914][WARN ][org.elasticsearch.cloud.azure.blobstore] [azure] can not remove [tests-ilmRPJ8URU-sh18yj38O6g/] in container {elasticsearch-snapshots}: The specified blob does not exist.

Note that there is a trailing / at the end which might explain the issue.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions