Hi, I am trying to add 2 snapshot repositories as s3. Both the buckets are oci buckets. When I added first Bucket it is working fine as expected but when I am trying to add another bucket with different access key and secret key it is showing error while verify.
Below is the screenshot for Elastic Nodes keystore
Details
s3.client.oci_secondary.access_key
s3.client.oci_secondary.secret_key
s3.client.oci_standard.access_key
s3.client.oci_standard.secret_key
oci_standard is working fine. But getting the below error for oci secondary.
Verification status
Not connected
Details
{
"name": "ResponseError",
"message": "repository_verification_exception\n\tCaused by:\n\t\ti_o_exception: Unable to upload object [tests-Q0xfvYPcSDGVFFH3aAWCfw/master.dat] using a single upload\n\tRoot causes:\n\t\trepository_verification_exception: [siem-iad02-oci-dr] path is not accessible on master node"
}
I have used below request to add an snapshot repo in Kibana
PUT _snapshot/siem-iad02-oci-dr
{
"type": "s3",
"settings": {
"client": "oci_secondary",
"bucket": "bucket_name",
"endpoint": "Endpoint URL",
"region": "region",
"path_style_access": "true",
"protocol": "http"
}
}
Also both the buckets are in different regions as one is production bucket with client as oci_standard and oci_secondary is DR Bucket which is in different region.
Let me know if any further information required.
Thanks in advance.