-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
OpenSearch: Disable SSL validation for unsupported regions #13346
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
OpenSearch: Disable SSL validation for unsupported regions #13346
Conversation
|
Nice, this should also fix FLC-152 |
LocalStack Community integration with Pro 2 files ± 0 2 suites ±0 9m 32s ⏱️ - 1h 51m 36s Results for commit d085d56. ± Comparison against base commit 5f5a8fb. This pull request removes 4846 tests. |
Test Results (amd64) - Integration, Bootstrap 5 files 5 suites 18m 53s ⏱️ Results for commit d085d56. |
alexrashed
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, great catch! I wonder if we can just disable the verification just generally for the opensearch tests?
We could, but then we don't test that the opensearch names are in the certificate at all. It should not spontaneously change, but I do not see a value in not testing it? Am I overlooking something here? |
Motivation
With #13275, we generally enabled SSL certificate validation for our requests clients.
However, this leads to an issue with non-default-region tests (example), with regional endpoints for regions not present in our
localhost.localstack.cloudcertificates SAN list.This leads to flakes in our pipeline, every time an
ap-southeast-*region is used.With this fix, we disable certificate validation only for opensearch and the regions not supported by the certificate.
Changes
Tests
test_opensearch.pyusingTEST_AWS_REGION_NAME=ap-northeast-1Related
Fixes ENG-112
Fixes FLC-152