Skip to content

Conversation

@himani2411
Copy link
Contributor

@himani2411 himani2411 commented Dec 31, 2025

Description of changes

Use retry loop with curl as --retry-all-errors is not available in curl v7.71+

  • curl 7.71 is available in all OS except rhel8 and rocky8
  • applying the same exponential backoff as with previous change where we wait at max (1 + 2 + 4 + 8 + 16 + 32 + 64 + 128 + 256 = 511 seconds) of 8.51 minutes

Following the same logic as #7180

Without this change the failure is


curl --retry 9 --retry-all-errors -L -o /etc/chef/aws-parallelcluster-cookbook.tgz "$COOKBOOK_URL"
curl: option --retry-all-errors: is unknown
curl: try 'curl --help' or 'curl --manual' for more information

cd /etc/chef && tar -xzf /etc/chef/aws-parallelcluster-cookbook.tgz --strip-components 1 && rm -f aws-parallelcluster-cookbook.tgz

Tests

  • BUILD IMAGE for rhel8/9 and rocky8/9

References

  • Link to impacted open issues.
  • Link to related PRs in other packages (i.e. cookbook, node).
  • Link to documentation useful to understand the changes.

Checklist

  • Make sure you are pointing to the right branch.
  • If you're creating a patch for a branch other than develop add the branch name as prefix in the PR title (e.g. [release-3.6]).
  • Check all commits' messages are clear, describing what and why vs how.
  • Make sure to have added unit tests or integration tests to cover the new/modified code.
  • Check if documentation is impacted by this change.

Please review the guidelines for contributing and Pull Request Instructions.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

…ailable in curl v7.71+

* curl 7.71 is available in all OS except rhel8 and rocky8
* applying the same exponential backoff as with previous change where we wait at max (1 + 2 + 4 + 8 + 16 + 32 + 64 + 128 + 256 = 511 seconds) of 8.51 minutes
@himani2411 himani2411 merged commit 92357d9 into aws:develop Dec 31, 2025
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.x skip-changelog-update Disables the check that enforces changelog updates in PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants