Skip to content

Comments

CORS-4078: disable rate limiter for AWS SDK v2#9958

Merged
sdodson merged 1 commit intoopenshift:mainfrom
tthvo:CORS-4078
Sep 24, 2025
Merged

CORS-4078: disable rate limiter for AWS SDK v2#9958
sdodson merged 1 commit intoopenshift:mainfrom
tthvo:CORS-4078

Conversation

@tthvo
Copy link
Member

@tthvo tthvo commented Sep 24, 2025

The SDK v2 introduces a new client-side rate-limiting mechanism in the standard retry[0][1]. The default settings are not a good fit for the installer, especially the destroy code.

Until we figure out a good settings, we disable it to align with SDK v1 behavior.

Reference:

[0] https://docs.aws.amazon.com/sdk-for-go/v2/developer-guide/configure-retries-timeouts.html
[1] aws/aws-sdk-go-v2#1665 (comment)

The SDK v2 introduces a new client-side rate-limiting mechanism in the
standard retry[0][1]. The default settings are not a good fit for the
installer, especially the destroy code.

Until we figure out a good settings, we disable it to align with SDK v1 behavior.

Reference:
[0] https://docs.aws.amazon.com/sdk-for-go/v2/developer-guide/configure-retries-timeouts.html
[1] aws/aws-sdk-go-v2#1665 (comment)
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Sep 24, 2025
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Sep 24, 2025

@tthvo: This pull request references CORS-4078 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target either version "4.21." or "openshift-4.21.", but it targets "4.20.0" instead.

Details

In response to this:

The SDK v2 introduces a new client-side rate-limiting mechanism in the standard retry[0][1]. The default settings are not a good fit for the installer, especially the destroy code.

Until we figure out a good settings, we disable it to align with SDK v1 behavior.

Reference:

[0] https://docs.aws.amazon.com/sdk-for-go/v2/developer-guide/configure-retries-timeouts.html
[1] aws/aws-sdk-go-v2#1665 (comment)

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@tthvo
Copy link
Member Author

tthvo commented Sep 24, 2025

/hold

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 24, 2025
@tthvo
Copy link
Member Author

tthvo commented Sep 24, 2025

/cc @barbacbd

@openshift-ci openshift-ci bot requested a review from barbacbd September 24, 2025 04:33
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 24, 2025

@tthvo: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-aws-custom-dns-techpreview 5c98a08 link false /test e2e-aws-custom-dns-techpreview
ci/prow/e2e-aws-ovn-heterogeneous 5c98a08 link false /test e2e-aws-ovn-heterogeneous
ci/prow/e2e-aws-ovn-single-node 5c98a08 link false /test e2e-aws-ovn-single-node
ci/prow/e2e-aws-ovn-shared-vpc-custom-security-groups 5c98a08 link false /test e2e-aws-ovn-shared-vpc-custom-security-groups
ci/prow/e2e-aws-ovn-shared-vpc-edge-zones 5c98a08 link false /test e2e-aws-ovn-shared-vpc-edge-zones
ci/prow/okd-scos-e2e-aws-ovn 5c98a08 link false /test okd-scos-e2e-aws-ovn
ci/prow/e2e-aws-default-config 5c98a08 link false /test e2e-aws-default-config
ci/prow/aws-private 5c98a08 link false /test aws-private
ci/prow/e2e-aws-ovn-fips 5c98a08 link false /test e2e-aws-ovn-fips
ci/prow/e2e-vsphere-externallb-ovn 5c98a08 link false /test e2e-vsphere-externallb-ovn
ci/prow/e2e-aws-ovn-edge-zones 5c98a08 link false /test e2e-aws-ovn-edge-zones
ci/prow/e2e-aws-byo-subnet-role-security-groups 5c98a08 link false /test e2e-aws-byo-subnet-role-security-groups
ci/prow/e2e-aws-ovn-imdsv2 5c98a08 link false /test e2e-aws-ovn-imdsv2

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@patrickdillon
Copy link
Contributor

/approve
/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 24, 2025
@patrickdillon
Copy link
Contributor

/verified by e2e-aws-ovn

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Sep 24, 2025
@openshift-ci-robot
Copy link
Contributor

@patrickdillon: This PR has been marked as verified by e2e-aws-ovn.

Details

In response to this:

/verified by e2e-aws-ovn

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 24, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: patrickdillon

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 24, 2025
@patrickdillon
Copy link
Contributor

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 24, 2025
@sdodson sdodson merged commit 1fbf7f2 into openshift:main Sep 24, 2025
17 of 31 checks passed
@tthvo tthvo deleted the CORS-4078 branch September 24, 2025 17:11
2uasimojo added a commit to 2uasimojo/hive that referenced this pull request Sep 24, 2025
This is specifically to pick up
openshift/installer#9958 which switches off a
client-side rate limiter introduced in AWS SDK v2. This rate limiter may
have been / probably would eventually be DoSing deprovisions in big
environments.
2uasimojo added a commit to 2uasimojo/hive that referenced this pull request Sep 24, 2025
This is specifically to pick up
openshift/installer#9958 which switches off a
client-side rate limiter introduced in AWS SDK v2. This rate limiter may
have been / probably would eventually be DoSing deprovisions in big
environments.
2uasimojo added a commit to 2uasimojo/hive that referenced this pull request Sep 25, 2025
This is specifically to pick up
openshift/installer#9958 which switches off a
client-side rate limiter introduced in AWS SDK v2. This rate limiter may
have been / probably would eventually be DoSing deprovisions in big
environments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants