8.2 S3 SETUP

Hi Everyone,

I have installed the ELK 8.2 stack but getting issue while setting up the s3 repo. Its our internal repo which works as a S3 and it worked fine till 7.16 version.

but for this 8.2 version getting the following error

{
    "error": {
        "root_cause": [
            {
                "type": "repository_verification_exception",
                "reason": "[es8_s3_backups] path  is not accessible on master node"
            }
        ],
        "type": "repository_verification_exception",
        "reason": "[es8_s3_backups] path  is not accessible on master node",
        "caused_by": {
            "type": "i_o_exception",
            "reason": "Unable to upload object [tests-YkEzt4feQNiY9JB6s0q88g/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

Thanks!

It'd be useful if you could share your snapshot config please :slight_smile:

Thanks for the reply, here is the snapshot config.

{
        "type": "s3",
        "settings": {
            "bucket": "bucketname-bucket007",
            "endpoint": "some-endpoint.com",
            "base_path": "abc/backups",
            "protocol": "http"
        }
    }

Can somebody please help on this.

Was there anything in the master logs when you made the request?

yes, on master node it is showing the following.

[2022-09-20T00:16:55,729][DEBUG][o.e.r.s.S3Repository     ] [HOSTNAME] using bucket [bucketname/backup-path], chunk_size [5tb], server_side_encryption [false], buffer_size [51.1mb], cannedACL [], storageClass []
[2022-09-20T00:17:36,540][DEBUG][o.e.r.s.S3Repository     ] [HOSTNAME] using bucket [bucketname], chunk_size [5tb], server_side_encryption [false], buffer_size [51.1mb], cannedACL [], storageClass []
[2022-09-20T00:18:34,833][DEBUG][o.e.r.s.S3Repository     ] [HOSTNAME] using bucket [bucketname], chunk_size [5tb], server_side_encryption [false], buffer_size [51.1mb], cannedACL [], storageClass []
~                                                                   

Some data nodes were missing with s3 config. By configuring s3 solved the problem. Thanks Everyone for your support.

1 Like