Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCI Object Storage Repository #361

Closed
sam-herman opened this issue Jan 5, 2022 · 3 comments
Closed

OCI Object Storage Repository #361

sam-herman opened this issue Jan 5, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@sam-herman
Copy link

Is your feature request related to a problem? Please describe.
Currently the existing blob store repositories do not support OCI object storage.

Describe the solution you'd like
We have developed an OCI native plugin for object storage that is convenient to use on the OCI platform.

For example you can configure the below repository and take advantage of instance principal authentication without the need to push credentials explicitly into a secret store. Can also force bucket creation if the bucket is missing.

curl -XPUT "https://localhost:9200/_snapshot/oci_repository" -H 'Content-Type: application/json' -d"
{
  \"type\": \"oci\",
  \"settings\": {
    \"client\": \"default\",
    \"endpoint\": \"https://objectstorage.${OCI_REGION}.oraclecloud.com\",
    \"bucket\": \"${OCI_BUCKET}\",
    \"namespace\": \"${NAMESPACE}\",
    \"bucket_compartment_id\": \"${OCI_BUCKET_COMPARTMENT}\",
    \"useInstancePrincipal\": true,
    \"forceBucketCreation\" : true
  }
}
" -u <user>:<password> --insecure
@sam-herman sam-herman added the enhancement New feature or request label Jan 5, 2022
@stockholmux
Copy link
Member

That's awesome @samuel-oci! It looks like this is similar to something like the repository-azure built-in plugin but for OCI?

If so, I think this should probably be moved into opensearch-project/OpenSearch as a proposal.

@sam-herman
Copy link
Author

Hi @stockholmux thank you for the response,
Apparently I forgot to add some context from my earlier post. We actually already have the plugin ready as a standalone plugin and would like to contribute it, the question though is whether we should create a new repository for it like we do with other plugins.

There is also a preference from our side to contribute initially in a separate repo since we run into some difficulties to incorporate directly as part of the OpenSearch repo. So perhaps we can start with that and later consolidate with OpenSearch repo or any other that the community finds appropriate?

Thanks in advance,
Sam.

@sam-herman
Copy link
Author

following @stockholmux suggestion, opened the issue at:
opensearch-project/OpenSearch#1854 (comment)
and can probably close it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants