Skip to content

Conversation

@jsafrane
Copy link
Contributor

@jsafrane jsafrane commented Apr 25, 2025

What this PR does / why we need it:
Properly handle DeletedFinalStateUnknown when watching Nodes

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #3261

Testing done:
Manually, the CSI driver no longer panics when an API server node is removed.

Special notes for your reviewer:

Release note:

Fixed panic when an API server machine is removed.

Properly handle DeletedFinalStateUnknown when watching Nodes
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Apr 25, 2025
@jsafrane
Copy link
Contributor Author

Edit: I tested it manually. Added / deleted ~10 API server nodes, no panic so far.

@gnufied
Copy link
Contributor

gnufied commented Apr 30, 2025

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 30, 2025
@jsafrane
Copy link
Contributor Author

/assign @shalini-b @divyenpatel @xing-yang
for approval

@xing-yang
Copy link
Contributor

/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jsafrane, xing-yang

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 12, 2025
@k8s-ci-robot k8s-ci-robot merged commit 7846e6f into kubernetes-sigs:master May 12, 2025
12 checks passed
nikhilbarge pushed a commit to nikhilbarge/vsphere-csi-driver that referenced this pull request May 14, 2025
Properly handle DeletedFinalStateUnknown when watching Nodes
k8s-ci-robot pushed a commit that referenced this pull request May 16, 2025
* Reverted the refactoring done as part of #3234 (#3266)

* Fix panic on DeletedFinalStateUnknown (#3262)

Properly handle DeletedFinalStateUnknown when watching Nodes

* fullsync fix: add nil check on claimreference while listing pvs (#3269)

* bump up k8s version to 1.33.0 (#3274)

---------

Co-authored-by: Satyanarayana Kolluri <[email protected]>
Co-authored-by: Jan Šafránek <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Panic on control plane node replacement

4 participants