You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This individual snapshot name is not pass to CSI driver when creating a group snapshot, but some CSI drivers want to know this name. CSI drivers can generate this name, however, they don't know groupSnapshotContentUUID. They only know groupSnapshotUUID.
For the creation of individual VolumeSnapshot, we use content.Spec.VolumeSnapshotRef.UID when generating a snapshot name. Similarly here, we can use groupSnapshotContent.Spec.VolumeGroupSnapshotRef.UID instead of groupSnapshotContent.UID.
What happened:
When generating a snapshot name before calling CSI driver to create a group snapshot, we used groupSnapshotContentUUID:
external-snapshotter/pkg/common-controller/groupsnapshot_controller_helper.go
Lines 559 to 560 in 0f21537
This individual snapshot name is not pass to CSI driver when creating a group snapshot, but some CSI drivers want to know this name. CSI drivers can generate this name, however, they don't know groupSnapshotContentUUID. They only know groupSnapshotUUID.
For the creation of individual VolumeSnapshot, we use content.Spec.VolumeSnapshotRef.UID when generating a snapshot name. Similarly here, we can use groupSnapshotContent.Spec.VolumeGroupSnapshotRef.UID instead of groupSnapshotContent.UID.
https://github.com/kubernetes-csi/external-snapshotter/blob/v8.2.1/pkg/sidecar-controller/csi_handler.go#L87
See discussions here:
https://kubernetes.slack.com/archives/C8EJ01Z46/p1745569386063539?thread_ts=1745569199.407819&cid=C8EJ01Z46
What you expected to happen:
How to reproduce it:
Anything else we need to know?:
Environment:
kubectl version
):uname -a
):The text was updated successfully, but these errors were encountered: