Skip to content

Conversation

@derekwaynecarr
Copy link
Member

@derekwaynecarr derekwaynecarr commented Aug 15, 2016

Fixes #30536

If a node had a single pod in terminating state, and that node no longer reported healthy, the pod was never deleted by the node controller because it believed there were no pods remaining.

@smarterclayton @ncdc


This change is Reviewable

@derekwaynecarr derekwaynecarr added this to the v1.4 milestone Aug 15, 2016
@k8s-github-robot k8s-github-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. release-note-label-needed labels Aug 15, 2016
@derekwaynecarr derekwaynecarr added release-note-none Denotes a PR that doesn't merit a release note. and removed release-note-label-needed labels Aug 15, 2016
@smarterclayton
Copy link
Contributor

LGTM

@gmarek gmarek assigned gmarek and unassigned mikedanese Aug 15, 2016
@gmarek gmarek added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 15, 2016
@k8s-github-robot k8s-github-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 16, 2016
@smarterclayton
Copy link
Contributor

Error looks related - you uncovered a possibly blocking case

@derekwaynecarr derekwaynecarr removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 16, 2016
@k8s-github-robot k8s-github-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 16, 2016
@derekwaynecarr
Copy link
Member Author

re-adding lgtm after rebase.

@derekwaynecarr derekwaynecarr added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 16, 2016
@k8s-bot
Copy link

k8s-bot commented Aug 18, 2016

GCE e2e build/test passed for commit 14a2b26.

@lavalamp
Copy link
Contributor

Shouldn't there be a test coming along with bug fixes like this?

@k8s-github-robot
Copy link

Automatic merge from submit-queue

@k8s-github-robot k8s-github-robot merged commit 14a2b26 into kubernetes:master Aug 19, 2016
jwhonce pushed a commit to jwhonce/kubernetes that referenced this pull request Aug 19, 2016
…er-fix

Automatic merge from submit-queue

Node controller deletePod return true if there are pods pending deletion

Fixes kubernetes#30536

If a node had a single pod in terminating state, and that node no longer reported healthy, the pod was never deleted by the node controller because it believed there were no pods remaining.

@smarterclayton @ncdc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants