-
Notifications
You must be signed in to change notification settings - Fork 199
fullsync fix: Fix Syncer panics due to incorrect PVC configuration #3269
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
Conversation
|
Hi @nikhilbarge. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions 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-sigs/prow repository. |
acf338b to
167d953
Compare
|
/ok-to-test |
|
/approve |
|
@nikhilbarge can you explain on the bug when this condition happens? |
observed we hit this issue when there is no volumeclaim associated with pv (claimref is nil). this happen when user statically provision volume but create only PV and no associated PVC. |
|
/ok-to-test |
divyenpatel
left a comment
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.
/approve
/lgtm
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: akankshapanse, divyenpatel, nikhilbarge 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 |
* 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]>
What this PR does / why we need it:
Fix Syncer panics with NPE due to nil claimreference for PVC
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close that issue when PR gets merged): fixes #Testing done:
Manual Testing Performed
full-sync-nil-claimref-manual-testing.log
fullsync-nil-claimref-vsphere-syncer.log
Special notes for your reviewer:
Release note: