-
Notifications
You must be signed in to change notification settings - Fork 39.6k
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
Fix drain for evicting terminal DS pods and pods with local storage #68767
Fix drain for evicting terminal DS pods and pods with local storage #68767
Conversation
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.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ravisantoshgudimetla, soltysh 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 |
This is a significant blocker from a drain POV, setting milestone to v1.12 |
/priority critical-urgent |
/cherrypick release-1.11 |
/uncc |
@soltysh and others here: Given the lateness in the 1.12 cycle, and that this appears to be a regression perhaps back as far as 1.10 if I'm researching the OpenShift<->Kubernetes versions mappings correctly, how critically urgent is it that this merge in the next four or five days? Versus being merged after code freeze and then backported to multiple releases where needed? |
@tpepper If you are talking in terms of tests, I think this won't cause regression failure but yes, it is regression from previous releases(it is mostly a bug that went unnoticed). If this is causing upgrade tests to fail, I will look more into this. So, let's proceed with the merge, we can always revert, if we are not able to fix it in time. |
Honestly given the description, I'd prefer we hold off on merging this at least until tomorrow. I'm trying to manage a small and specific set of critical bug fix changes today and clearly view their test impact ahead of building RC later today. |
/retest Agreeing with Tim. |
I understand your concern, let's hold it back till tomorrow. EDIT: Just saw @guineveresaenger's hold. Thanks @guineveresaenger, I am fine with holding this PR until tomorrow. |
@ravisantoshgudimetla upgrade tests should have been failing without this fix as we know upgrades fail due to this condition. should we augment upgrade tests to cover this scenario? |
@derekwaynecarr I am planning to cherrypick this fix till 1.10. Do you mean upgrade from 1.9 to 1.10 should fail without this fix? |
We got the test results we were looking for today. I'm intrigued to see if this does help on some upgrade failures. /hold cancel |
/cherrypick release-1.11 |
What this PR does / why we need it:
As of now draining a node is not possible even if there are only terminal pods(whose state is successful/failed) with local volumes, managed by DS. Since a terminal pod can be safely deleted any time, we should allow this operation.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
Release note: