Closed phuongatemc closed 3 years ago
please update to dellemc/csi-volumegroup-snapshotter:v0.3.0 , this has been fixed
@phuongatemc when you get a chance, would you be able to update us on the status of this issue so we can address it or close it? Thanks!
I no longer seeing this issue in version 0.3.0. Close this issue.
Extra VolumeSnapshots were created with VolumeGroup Snapshot. We don't see this problem on all VolumeGroup Snapshots.
Steps to reproduce the behavior:
Using dellemc/csi-volumegroup-snapshotter:v0.2.0 to create VolumeGroup Snapshot of 3 PVCs with same label "volume-group=volumeGroup1"
Run VolumeGroup Snapshot: apiVersion: volumegroup.storage.dell.com/v1alpha2 kind: DellCsiVolumeGroupSnapshot metadata: name: "vg1-snap1" namespace: "helmtest-vxflexos" spec: driverName: "csi-vxflexos.dellemc.com" memberReclaimPolicy: "Delete" volumesnapshotclass: "vxflexos-snapclass" pvcLabel: "volumeGroup1"
Get the result and found there are 6 VolumeSnapshot instead of 3. phuong@irv-vm-90-22 ~/work/vproxy-kubernetes (PPDM-159574-create-volumesnapshot) # k get dellcsivolumegroupsnapshots.volumegroup.storage.dell.com -n helmtest-vxflexos vg1-snap1 -o yaml apiVersion: volumegroup.storage.dell.com/v1alpha2 kind: DellCsiVolumeGroupSnapshot metadata: annotations: kubectl.kubernetes.io/last-applied-configuration: | {"apiVersion":"volumegroup.storage.dell.com/v1alpha2","kind":"DellCsiVolumeGroupSnapshot","metadata":{"annotations":{},"name":"vg1-snap1","namespace":"helmtest-vxflexos"},"spec":{"driverName":"csi-vxflexos.dellemc.com","memberReclaimPolicy":"Delete","pvcLabel":"volumeGroup1","volumesnapshotclass":"vxflexos-snapclass"}} creationTimestamp: "2021-10-07T21:28:43Z" finalizers:
Expected behavior Only 3 VolumeSnapshot should be created.