Skip to content

Conversation

@nikhilbarge
Copy link
Contributor

@nikhilbarge nikhilbarge commented Mar 26, 2025

What this PR does / why we need it:
PR intent to handle nil value for VolumeSnapshot Status.ReadyToUse, to fix the code panics.

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

Logs:
Before fix:
readytouse_panic_before_fix.log

After Fix
readytouse_panic_fixed.log

Special notes for your reviewer:

Release note:

Check for nil readytouse from volumesnapshot status

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Mar 26, 2025
@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Mar 26, 2025
@k8s-ci-robot
Copy link
Contributor

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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

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.

@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Mar 26, 2025
@akankshapanse
Copy link
Contributor

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Mar 26, 2025
@nikhilbarge nikhilbarge changed the title check for nil readytouse from volumesnapshot status check for nil readytouse value from volumesnapshot status Mar 26, 2025
@vdkotkar
Copy link
Contributor

/approve

@akankshapanse
Copy link
Contributor

/approve
/lgtm

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: akankshapanse, nikhilbarge, vdkotkar

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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 Mar 26, 2025
@k8s-ci-robot k8s-ci-robot merged commit 661fe4c into kubernetes-sigs:master Mar 26, 2025
12 checks passed
chethanv28 pushed a commit to chethanv28/vsphere-csi-driver that referenced this pull request Apr 2, 2025
chethanv28 added a commit that referenced this pull request Apr 7, 2025
* Update logging for periodic sync feature (#3212)

* Update logging for periodic sync feature (#3215)

* test fix (#3210)

* Fix unnecessary error log in syncer during PodAdded event (#3214)

* Remove unused logic from session manager (#3213)

* workload management domain isolation automation part2 (#3199)

* Refactor tag manager rest client (#3221)

* WLDI-Automation: A basic test that creates a stateful set on a shared storage policy is added (#3223)

* WCP test fix (#3228)

* Added testcase-5 from WLDI feature (#3232)

* check for nil readonly from volumesnapshot status (#3236)

* Remove hardcoded vmodl version in e2e tests (#3231)

Seems use of dev.version with a GA vCenter build prevents PropertyCollector
from returning task results from internal methods (such as CnsQuerySnapshots).
The e2e/newClient function already calls UseServiceVersion(), which returns
the appropriate version when vCenter build is GA/release or dev.version for
builds from main.

* code review fixes (#3237)

---------

Co-authored-by: nikhilbarge <nbarge@vmware.com>
Co-authored-by: kavyashree-r <71521316+kavyashree-r@users.noreply.github.com>
Co-authored-by: Shalini Bhaskara <sbhaskara@vmware.com>
Co-authored-by: Ricardo Katz <rikatz@users.noreply.github.com>
Co-authored-by: sipriyaa <93115138+sipriyaa@users.noreply.github.com>
Co-authored-by: bn023052 <203637947+bn023052@users.noreply.github.com>
Co-authored-by: Doug MacEachern <dougm@broadcom.com>
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. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. 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.

4 participants