-
Notifications
You must be signed in to change notification settings - Fork 42.1k
Node status updater now deletes the node entry in attach updates when node is missing in NodeInformer cache. #46301
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
Node status updater now deletes the node entry in attach updates when node is missing in NodeInformer cache. #46301
Conversation
|
Hi @verult. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with DetailsInstructions 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/test-infra repository. I understand the commands that are listed here. |
29c6c73 to
f04f8b2
Compare
… node is missing in NodeInformer cache. Fixes kubernetes#42438. - Added RemoveNodeFromAttachUpdates as part of node status updater operations.
f04f8b2 to
256469e
Compare
|
/release-note-none |
|
@k8s-bot ok to test |
|
/lgtm CC @mwielgus for approval for 1.5 branch |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: saad-ali, verult DetailsNeeds approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
|
@k8s-bot pull-kubernetes-kubemark-e2e-gce test this |
|
This PR seems to have introduced a bug that causes the previously attached disk to be unattachable once the deleted node restarts. Please put this PR on hold; it's currently under investigation. UPDATE: This scenario occurs as a rare edge case. Please see PR #45923 for a more detailed explanation. |
|
Will let @mwielgus remove |
|
@k8s-bot pull-kubernetes-e2e-gce-etcd3 test this |
|
Automatic merge from submit-queue |
|
Commit found in the "release-1.5" branch appears to be this PR. Removing the "cherrypick-candidate" label. If this is an error find help to get your PR picked. |
What this PR does / why we need it: Fixes issue of unnecessary node status updates when node is deleted.
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close that issue when PR gets merged): fixes #42438Special notes for your reviewer: v1.5 version of the fix addressed by PR #45923. This is necessary because NodeLister did not exist prior to 1.6, thus node status updater requires a slightly different node existence check.
Release note: