-
Notifications
You must be signed in to change notification settings - Fork 727
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
🐛 Bug: Snapshot repo settings is missing required types #1988
Comments
Thanks for calling this out @DesAWSume! I referred to the spec we use to generate these type definitions and noticed that it was missing a lot of key differences between each of the snapshot repository types, so I've opened a PR there to resolve this for all repository types across all Elasticsearch clients. |
@JoshMock Many Thanks!! Very looking forward this got moving forward, and appreciated your prompt turn around |
Any movement to this? |
This issue is stale because it has been open 90 days with no activity. Remove the |
elastic/elasticsearch-specification#2255 was finished and merged today. This fix will show up in the next minor release, 8.13. |
🐛 Bug Report
This typescript client is missing required type for the creating Snapshot repo (S3).
and it is missing require field like:
bucket,
base_path,
client
Reference:
https://www.elastic.co/guide/en/elasticsearch/reference/8.9/repository-s3.html
the most 3 important fields to successfully create the snapshot repo
To Reproduce
Current interface
Error:
ResponseError: repository_verification_exception
Caused by:
i_o_exception: Exception when listing blobs by prefix [index-]
Root causes:
repository_verification_exception: [xxx-xx-xx] path is not accessible on master node
Paste your code here:
Expected behavior
Create the s3 snapshot repo with no issue
Paste the results here:
After manually modify the SnapshotRepositorySettings in type.ts under src/api/type.ts
it will create with no issue
Your Environment
@elastic/elasticsearch
version: >=7.0.0The text was updated successfully, but these errors were encountered: