Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
2.12
Describe the issue:
I am trying to initialize an S3 bucket on a new 1 master 2 data node cluster. This bucket is defined from my old cluster (1 master node) where I am trying to restore a snapshot from. Are there any issues with restoring a snapshot from a single node cluster to a multi-node cluster? Certs have all been verified for the data nodes and they have the same firewall access as the master node (which has no problems connecting to the s3 bucket).
PUT /_snapshot/devsnapshot/
{
“type” : “s3”,
“settings” : {
“bucket” : “opensearch-snapshot”,
“path_style_access” : “true”,
“endpoint” : “xxxx.com”
}
}
I am getting the below error
{
“error”: {
“root_cause”: [
{
“type”: “repository_verification_exception”,
“reason”: "[devsnapshot] [[6zR4OaX5Qx-AeWzGIpjguQ, 'RemoteTransportException[[xxxxx.com][x.x.x.x:xxxx][internal:admin/repository/verify]]; nested: RepositoryVerificationException[[devsnapshot] store location [opensearch-snapshots] is not accessible on the node
Configuration:
I have already checked that the repository-s3 plugin is installed and the same version. I have even uninstalled and reinstalled it.
Opensearch.yml has the following s3 configuration
s3.client.default.endpoint: xxxx.com:xxx
s3.client.default.path_style_access: true
s3.client.default.region: us-wests
opensearch-keystore keys have been correctly configured. Removed and added them again just to make sure there were no mistakes.
s3.client.default.access_key
s3.client.default.secret_key
Relevant Logs or Screenshots:
I have also found in the logs for both my data nodes are errors
[2024-05-21T12:48:01,286][WARN ][o.o.r.VerifyNodeRepositoryAction] [xxxx.com] [devsnapshot] failed to verify repository
org.opensearch.repositories.RepositoryVerificationException: [devsnapshot] store location [opensearch-snapshots] is not accessible on the node [{xxxx.com}{6zR4OaX5Qx-AeWzGIpjguQ}{s68GrDgqT5Kql_lbwrcd9Q}{x.x.x.x}{x.x.x.x:xxxx}{di}{shard_indexing_pressure_enabled=true}]
Caused by: java.io.IOException: Unable to upload object [tests-8dC-kZouR6KosIIRs4bxqA/data-6zR4OaX5Qx-AeWzGIpjguQ.dat] using a single upload
Caused by: software.amazon.awssdk.core.exception.SdkClientException: Unable to execute HTTP request: Connect to xxxx.com:xxx [XXXX] failed: Connect timed out
Suppressed: software.amazon.awssdk.core.exception.SdkClientException: Request attempt 1 failure: Unable to execute HTTP request: Connect to xxxx.com:xxx [XXXX] failed: Connect timed out
Suppressed: software.amazon.awssdk.core.exception.SdkClientException: Request attempt 2 failure: Unable to execute HTTP request: Connect to xxxx.com:xxx [XXXX] failed: Connect timed out
Suppressed: software.amazon.awssdk.core.exception.SdkClientException: Request attempt 3 failure: Unable to execute HTTP request: Connect to xxxx.com:xxx [XXXX] failed: Connect timed out
Caused by: org.apache.http.conn.ConnectTimeoutException: Connect to xxxx.com:xxx [XXXX] failed: Connect timed out