-
Notifications
You must be signed in to change notification settings - Fork 2k
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
drain: use client status to determine drain is complete #14348
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tgross
force-pushed
the
node-drain-early-complete
branch
from
August 30, 2022 18:04
e786a53
to
0c292da
Compare
tgross
force-pushed
the
node-drain-early-complete
branch
from
August 30, 2022 18:08
0c292da
to
6b056d2
Compare
tgross
force-pushed
the
node-drain-early-complete
branch
from
August 30, 2022 19:36
decd0d0
to
36d1152
Compare
tgross
force-pushed
the
node-drain-early-complete
branch
from
April 10, 2023 15:13
36d1152
to
69e7387
Compare
tgross
force-pushed
the
node-drain-early-complete
branch
from
April 10, 2023 15:32
69e7387
to
0fbcfe1
Compare
tgross
force-pushed
the
node-drain-early-complete
branch
from
April 12, 2023 19:50
c81e7b9
to
d045d64
Compare
This was referenced Apr 12, 2023
tgross
force-pushed
the
node-drain-early-complete
branch
from
April 12, 2023 20:08
d045d64
to
b7a42ea
Compare
If an allocation is slow to stop because of `kill_timeout` or `shutdown_delay`, the node drain is marked as complete prematurely, even though drain monitoring will continue to report allocation migrations. This impacts the UI or API clients that monitor node draining to shut down nodes. This changeset updates the behavior to wait until the client status of all drained allocs are terminal before marking the node as done draining.
tgross
force-pushed
the
node-drain-early-complete
branch
from
April 12, 2023 20:09
b7a42ea
to
4ceb4e8
Compare
shoenig
approved these changes
Apr 12, 2023
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!
tgross
added
backport/1.3.x
backport to 1.3.x release line
backport/1.4.x
backport to 1.4.x release line
backport/1.5.x
backport to 1.5.x release line
labels
Apr 13, 2023
This was referenced Apr 13, 2023
Merged
Merged
tgross
added a commit
that referenced
this pull request
Apr 13, 2023
If an allocation is slow to stop because of `kill_timeout` or `shutdown_delay`, the node drain is marked as complete prematurely, even though drain monitoring will continue to report allocation migrations. This impacts the UI or API clients that monitor node draining to shut down nodes. This changeset updates the behavior to wait until the client status of all drained allocs are terminal before marking the node as done draining.
tgross
added a commit
that referenced
this pull request
Apr 13, 2023
If an allocation is slow to stop because of `kill_timeout` or `shutdown_delay`, the node drain is marked as complete prematurely, even though drain monitoring will continue to report allocation migrations. This impacts the UI or API clients that monitor node draining to shut down nodes. This changeset updates the behavior to wait until the client status of all drained allocs are terminal before marking the node as done draining.
tgross
added a commit
that referenced
this pull request
Apr 13, 2023
If an allocation is slow to stop because of `kill_timeout` or `shutdown_delay`, the node drain is marked as complete prematurely, even though drain monitoring will continue to report allocation migrations. This impacts the UI or API clients that monitor node draining to shut down nodes. This changeset updates the behavior to wait until the client status of all drained allocs are terminal before marking the node as done draining.
tgross
added a commit
that referenced
this pull request
Apr 13, 2023
…ete) (#16880) If an allocation is slow to stop because of `kill_timeout` or `shutdown_delay`, the node drain is marked as complete prematurely, even though drain monitoring will continue to report allocation migrations. This impacts the UI or API clients that monitor node draining to shut down nodes. This changeset updates the behavior to wait until the client status of all drained allocs are terminal before marking the node as done draining. Co-authored-by: Tim Gross <[email protected]>
tgross
added a commit
that referenced
this pull request
Apr 13, 2023
…ete) (#16879) If an allocation is slow to stop because of `kill_timeout` or `shutdown_delay`, the node drain is marked as complete prematurely, even though drain monitoring will continue to report allocation migrations. This impacts the UI or API clients that monitor node draining to shut down nodes. This changeset updates the behavior to wait until the client status of all drained allocs are terminal before marking the node as done draining. Co-authored-by: Tim Gross <[email protected]>
tgross
added a commit
that referenced
this pull request
Apr 13, 2023
) If an allocation is slow to stop because of `kill_timeout` or `shutdown_delay`, the node drain is marked as complete prematurely, even though drain monitoring will continue to report allocation migrations. This impacts the UI or API clients that monitor node draining to shut down nodes. This changeset updates the behavior to wait until the client status of all drained allocs are terminal before marking the node as done draining. Co-authored-by: Tim Gross <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backport/1.3.x
backport to 1.3.x release line
backport/1.4.x
backport to 1.4.x release line
backport/1.5.x
backport to 1.5.x release line
theme/drain
type/bug
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #14293 #12915 #9902 and #16117
If an allocation is slow to stop because of
kill_timeout
orshutdown_delay
,the node drain is marked as complete prematurely, even though drain monitoring
will continue to report allocation migrations. This impacts the UI or API
clients that monitor node draining to shut down nodes.
This changeset updates the behavior to wait until the client status of all
drained allocs are terminal before marking the node as done draining