-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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
HADOOP-19066. S3A: AWS SDK V2 - Enabling FIPS should be allowed with central endpoint #6539
Conversation
🎊 +1 overall
This message was automatically generated. |
Tested against
|
@ahmarsuhail @mukund-thakur could you please review this PR? |
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.
+1; lets merge and see if any regressions surface
(testing cherrypick; if all is good will merge to 3.4.x) |
not good on branch-3.4; we need a followup i'm afraid. leaving in trunk rather than reverting for now as the other tests all seem happy. |
I will re-run the test suite and followup. |
looking at my current settings I've set endpoint to london but the region is unset; making sure that the classic binding mechanism still works.
|
rebasing and rebuilding both trunk and branch-3.4 before re-running the tests. |
Something seems odd. This test overrides endpoint/region configs so setting any endpoint/region should have made no difference:
I tested using these settings and there is no difference in behaviour because the test overrides base and bucket configs for endpoint/region. I tried:
From the stacktrace from Jira:
Here, we set:
How could stacktrace show different region than us-east-2 when the test overrides endpoint to central and removes region? |
Just created a bucket in london and now i can reproduce the failure, checking. |
Issue seems with FIPS cases. FIPS enabled and
All of above cases pass if FIPS is disabled. will create an SDK issue soon. |
Oh wait, FIPS is only for US and Canada endpoints. The above error is legit. Let me provide an addendum to ignore the test if non-US or Canada endpoints are used. |
Addendum PR: #6624 |
thanks. always good to have a broad set of test configs amongst other devs, especially now there are things like s3 express. Milan and Jakarta and any other Post 2019 region are also trouble as central DNS doesn't resolve bucket names as stevel-milan.s3.amazonaws.com |
…central endpoint (#6539) Includes HADOOP-19066. Run FIPS test for valid bucket locations (ADDENDUM) (#6624) FIPS is only supported in north america AWS regions; relevant tests in ITestS3AEndpointRegion are skipped for buckets with different endpoints/regions. Contributed by Viraj Jasani
indeed, that is also problematic. |
FWIW a real problem is that the v2 sdk retries on unknown host exception until timeout, and that inner exception is lost.
I see there may be ways in the aws sdk to restrict more exceptions to retry; probably merits investigation. |
Jira: HADOOP-19066