Failed to finalise snapshot with s3 compatible service

ES Version: 1.5.2
Cloud AWS Plugin: 2.5.1

I found the following in my logs,

[2016-06-09 17:13:42,589][INFO ][snapshots ] [redacted] snapshot [s3_dev_backup:v4_2] is done [2016-06-09 17:13:42,910][WARN ][snapshots ] [redacted] [s3_dev_backup:v4_2] failed to finalize snapshot com.amazonaws.services.s3.model.AmazonS3Exception: null (Service: Amazon S3; Status Code: 400; Error Code: InvalidArgument; Request ID: null), S3 Extended Request ID: null at com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:1127) at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:743) at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:462) at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:297) at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3672) at com.amazonaws.services.s3.AmazonS3Client.getObject(AmazonS3Client.java:1160) at com.amazonaws.services.s3.AmazonS3Client.getObject(AmazonS3Client.java:1032) at org.elasticsearch.cloud.aws.blobstore.S3BlobContainer.openInput(S3BlobContainer.java:82) at org.elasticsearch.repositories.blobstore.BlobStoreRepository.readSnapshot(BlobStoreRepository.java:411) at org.elasticsearch.repositories.blobstore.BlobStoreRepository.finalizeSnapshot(BlobStoreRepository.java:333) at org.elasticsearch.snapshots.SnapshotsService$7.run(SnapshotsService.java:975) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

I believe this is related to the Signer used (https://github.com/elastic/elasticsearch-cloud-aws/issues/255)
I have the following lines added to my elasticsearch.yml file,

cloud.aws.s3.signer: "S3SignerType"
cloud.aws.signer: "S3SignerType"

Has this been fixed in 2.5.1 of cloud-aws plugin?
If not, which version should I be using ?

1 Like