-
Notifications
You must be signed in to change notification settings - Fork 183
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] http gzip compression cannot be used with the snapshot endpoints #507
Comments
Hello @ofirt-orca, I've reproduced the issue, but I'm not observing any errors. Please inform me if I've overlooked any details. Thanks :) |
I'm closing this issue. If you believe it's still unresolved, please feel free to reopen it. |
Hi @saimedhi, it is failing only when working with AWS OpenSearch service.
|
@ofirt-orca, Could you please provide more details about the error you're encountering, and could you also share the complete code, including the snapshot creation part?
|
Sure, I'll try to provide code with creation soon, I'll need to create another OpenSearch cluster for that. |
I've chosen another approach for reproduction since creating a snapshot will require setting up a manual repository, s3 bucket, roles and more. Instead, it can be reproduced by trying to restore an existing automated snapshot that should exist by default on either
|
Hi @saimedhi, were you able to reproduce the issue using the code snippet? |
@saimedhi is there any plan to address this? |
@ofirt-orca I don't think anyone is working on this. Am I understanding correctly that the issue is with Amazon OpenSearch Service, or is it a client-side problem? If it's the former (AOS), then we/you should open a ticket with Amazon. If it's a client problem help narrow it down and let us help you fix it here? |
@dblock seems like a server side bug of OpenSearch service. Would you mind opening an issue for them? |
I sent it to the right people, but it would be most effective if you could open a support ticket for your domain details. Since this is AOS and not a client problem I'm going to close it here. |
@ofirt-orca I can confirm this is an issue with Amazon OpenSearch Service and a fix will be rolled out in a future release. Please follow up with AWS customer support for any additional information. Thanks! |
What is the bug?
http gzip compression cannot be used with the snapshot endpoints
How can one reproduce the bug?
set
http_compress
toTrue
and try to restore an encrypted snapshot from s3you will get the error
Your request: '/_snapshot/cs-automated-enc/<snapshot_id>/_restore' is not allowed due to invalid input parameters.
What is the expected behavior?
That it will work and snapshot will be restored
What is your host/environment?
ubuntu 20.04
Do you have any screenshots?
No
Do you have any additional context?
Only when turning off the gzip compression it works well
Other requests to the cluster seem to work fine (compressed or not)
https://docs.aws.amazon.com/opensearch-service/latest/developerguide/gzip.html
The text was updated successfully, but these errors were encountered: