Hi,
Elasticsearch 7.10.
I'm trying to add an S3 snapshot repository, the endpoint is Minio.
The repository-s3 plugin is installed on all nodes, and restarted.
I've set the keys in the keystore:
elasticsearch-keystore add s3.client.default.access_key
elasticsearch-keystore add s3.client.default.secret_key
Triggered a POST _nodes/reload_secure_settings
Then I add the snapshot repository:
PUT _snapshot/minio_s3
{
"type": "s3",
"settings": {
"bucket": "elastic-engineering",
"client": "default",
"endpoint": "elastic-s3:9000",
"path_style_access": "true"
}
}
Which returns this error:
{
"error" : {
"root_cause" : [
{
"type" : "repository_verification_exception",
"reason" : "[minio_s3] path is not accessible on master node"
}
],
"type" : "repository_verification_exception",
"reason" : "[minio_s3] path is not accessible on master node",
"caused_by" : {
"type" : "i_o_exception",
"reason" : "Unable to upload object [tests-QQdH9nWXSkuOhKC4zkE2jQ/master.dat] using a single upload",
"caused_by" : {
"type" : "sdk_client_exception",
"reason" : "sdk_client_exception: Failed to connect to service endpoint: ",
"caused_by" : {
"type" : "i_o_exception",
"reason" : "Connect timed out"
}
}
}
},
"status" : 500
}
I verified, all nodes are able to connect to https://elastic-s3:9000 using curl.
The elasticsearch log shows:
[INFO ][o.e.r.RepositoriesService] [elastic014] update repository [minio_s3]
[WARN ][o.e.r.s.S3BlobStore ] [elastic014] Expected request count to be tracked for request [PUT https://elastic-s3:9000 /elastic-engineering/tests-QQdH9nWXSkuOhKC4zkE2jQ/master.dat Headers: (Content-Length: 22, Content-Type: application/octet-stream, x-amz-acl: private, x-amz-storage-class: STANDARD, ) ] but found not count.