Skip to content
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

Add wait in between the retries while waiting for failure message to … #6752

Merged
merged 1 commit into from
Sep 29, 2023

Conversation

panktishah26
Copy link
Member

@panktishah26 panktishah26 commented Sep 29, 2023

Description of changes:

Testing (if applicable):
Add wait in between the retries while waiting for failure message to be empty for upgrade management task. Add support for notimeout flag for failure message check.

Currently, the retry doesn't wait enough for machineConfig template to be updated for the management cluster upgrade task so the upgrade process fails. Increased the time out for the retry function by adding wait in between the retry so it doesn't throttle the API server with the requests.

Documentation added/planned (if applicable):

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@eks-distro-bot eks-distro-bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Sep 29, 2023
@codecov
Copy link

codecov bot commented Sep 29, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (c6ff83b) 75.66% compared to head (8a193f9) 75.67%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6752   +/-   ##
=======================================
  Coverage   75.66%   75.67%           
=======================================
  Files         475      475           
  Lines       38404    38411    +7     
=======================================
+ Hits        29059    29066    +7     
  Misses       7733     7733           
  Partials     1612     1612           
Files Coverage Δ
pkg/clustermanager/applier.go 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@panktishah26 panktishah26 force-pushed the add-waittime-failuremessage branch from 5ef637b to 899bc75 Compare September 29, 2023 22:33
@panktishah26 panktishah26 force-pushed the add-waittime-failuremessage branch from 899bc75 to 8a193f9 Compare September 29, 2023 22:38
Copy link
Member

@g-gaston g-gaston left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@eks-distro-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by:

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

The pull request process is described here

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

@eks-distro-bot eks-distro-bot merged commit de7a3c2 into aws:main Sep 29, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants