-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[release-1.30] OCPBUGS-50854: backport pull_progress_timeout into v.1.30 #9012
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
[release-1.30] OCPBUGS-50854: backport pull_progress_timeout into v.1.30 #9012
Conversation
|
Hi @robbmanes. Thanks for your PR. I'm waiting for a cri-o member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
|
/ok-to-test |
|
/retitle OCPBUGS-50854: backport pull_progress_timeout into v.1.30 |
|
@robbmanes: This pull request references Jira Issue OCPBUGS-50854, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
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. |
|
Maintiners mentioned brining this to previous branches but it stopped at 1.31. |
|
need to fix these two failures: https://github.com/cri-o/cri-o/actions/runs/13379106335/job/37365331166?pr=9012 |
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.
Let's also include #8998
Add the option to be able to fine-tune the pull progress timeout or even disable it. Fixes cri-o#8764 and cri-o#8760 Follow-up on: cri-o#7887 Signed-off-by: Sascha Grunert <[email protected]>
f28c94c to
2d83590
Compare
We should never cancel the context when the pull timeout is `0`, means we now add an additional check to prevent this corner case. Deflakes the integration tests and also fixes possible issues around a disabled pull progress timeout. Signed-off-by: Sascha Grunert <[email protected]>
Included and fixed the failing test, will watch to verify it succeeds, thanks. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: robbmanes, saschagrunert 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 |
e22f6d2
into
cri-o:release-1.30
|
@robbmanes: Jira Issue OCPBUGS-50854: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-50854 has been moved to the MODIFIED state. In response to this:
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. |
|
/cherry-pick release-1.29 |
|
@saschagrunert: #9012 failed to apply on top of branch "release-1.29": In response to this:
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. |
Add the option to be able to fine-tune the pull progress timeout or even disable it.
Fixes #8764 and #8760
Follow-up on: #7887
Signed-off by: Robb Manes [email protected]
What type of PR is this?
/kind feature
What this PR does / why we need it:
In v1.30 we introduce a context cancellation (defaulting to 10s from the kubelet) but don't have any method to disable/lengthen it, causing problems when previous versions have very slow networks exceeding the default image pull timeouts. By backporting this from v1.32 to v1.30, we allow for setting or disabling this timeout during image pulls.
Which issue(s) this PR fixes:
None
Special notes for your reviewer:
This is a cherry-pick of 02e5817 as in 1a377cc we introduce the context cancellation but have no method to lengthen or disable it. Tested locally but review greatly appreciated.
Does this PR introduce a user-facing change?