You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI Amazon S3 Compatibility API

Accepted answer
7
Views
1
Comments
edited Dec 21, 2020 2:18PM in Containers and Kubernetes 1 comment

Content

My Elasticsearch7.10.0 is running in OCI OKE (Kubernetes running in Oracle Cloud). I want to setup Elasticsearch backup snapshot with OCI Object store using OCI Amazon S3 Compatibility API. Added repository-s3 plugin and configured ACCESS_KEY and SECRET_KEY in the PODs. While repository, I am getting "s_s_l_peer_unverified_exception"

The user has full access.

Code Snippet

curl -u "elastic:$PASSWORD" -k -X PUT "https://elasticsearch-es-http:9200/_snapshot/s3_repository" -H 'Content-Type: application/json' -d'
{
  "type": "s3",
  "settings": {
    "client": "default",
    "region": "ap-sydney-1",
    "base_path": "elastic",
    "endpoint": "<namespace>.compat.objectstorage.ap-sydney-1.oraclecloud.com",
    "bucket": "es-backup"    
  }
}

response:
{
  "error" : {
    "root_cause" : [
      {
        "type" : "repository_verification_exception",
        "reason" : "[s3-repository] path  is not accessible on master node"
      }
  
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!