We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
We have block-volume-snapshot:false as confirmed by the log:
block-volume-snapshot:false
{ "level": "info", "time": "2024-12-20T09:03:27.684711955Z", "caller": "k8sorchestrator/k8sorchestrator.go:440", "msg": "New internal feature states values stored successfully: map[block-volume-snapshot:false csi-migration:false csi-windows-support:false improved-volume-topology:false multi-vcenter-csi-topology:false pv-to-backingdiskobjectid-mapping:false topology-preferential-datastores:false trigger-csi-fullsync:false]", "TraceId": "7fdf059a-172b-4b44-a4da-584fbbf0406e" }
But this evaluates to true:
vsphere-csi-driver/pkg/internalapis/cnsvolumeoperationrequest/cnsvolumeoperationrequest.go
Line 399 in 75c1ffc
We know this because we don't have VolumeSnapshotContents CRD and the following fails:
VolumeSnapshotContents
Lines 409 to 414 in 75c1ffc
What you expected to happen:
The snapshot code should not run when feature is disabled.
How to reproduce it (as minimally and precisely as possible):
Using vanilla, block-volume-snapshot:false and no VolumeSnapshotContents CRD.
Maybe there is some concurency problem because some parts are in different goroutines.
Anything else we need to know?:
Environment:
uname -a
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
We have
block-volume-snapshot:false
as confirmed by the log:But this evaluates to true:
vsphere-csi-driver/pkg/internalapis/cnsvolumeoperationrequest/cnsvolumeoperationrequest.go
Line 399 in 75c1ffc
We know this because we don't have
VolumeSnapshotContents
CRD and the following fails:vsphere-csi-driver/pkg/internalapis/cnsvolumeoperationrequest/cnsvolumeoperationrequest.go
Lines 409 to 414 in 75c1ffc
What you expected to happen:
The snapshot code should not run when feature is disabled.
How to reproduce it (as minimally and precisely as possible):
Using vanilla,
block-volume-snapshot:false
and noVolumeSnapshotContents
CRD.Maybe there is some concurency problem because some parts are in different goroutines.
Anything else we need to know?:
Environment:
uname -a
):The text was updated successfully, but these errors were encountered: