I removed all restore points for an application/namespace, yet when I look at the `VolumeSnapshot` CRDs the snapshots remain, as do the backing store representations.
Shouldn’t removing a restore point remove the related snapshots?
I removed all restore points for an application/namespace, yet when I look at the `VolumeSnapshot` CRDs the snapshots remain, as do the backing store representations.
Shouldn’t removing a restore point remove the related snapshots?
By removing the restorepoint, do you mean removing the restorepoint resource from the cluster using kubectl or deleting the restorepoint from kasten UI.
These are two different operations.
There is a 1:1 binding relationship between two different k8s resources restorepoints(namespace scoped) and restorepointcontents(cluster scoped)
Deleting just the restorepoint will not retire the snapshot artifact. You will have to delete the corresponding restorepointcontent to spawn a retireAction toretire the artifacts(Deleting the RP from the UI does this in the background).
This is an expected behaviour is to avoid situations where deleting the namespace could affect the restorepoints.
If you are already deleting the restorepointcontents, and you still see the volumesnapshots left over(This won’t remove the restorepointcontents), you can take a look at the status of the retireactions that get created and see if it is failing.
Let me know if that is the case.
I used `kubectl` to remove `restorepointcontents`. I saw the retire actions spawn and complete. However, the `volumesnapshots` remain and I’m having to delete them all manually.
This seems to be a problem in that case.
As soon as the restorepointcontent is deleted, the retireaction actually deletes the volumesnapshot resource and the action gets successful only when the snapshot resource is removed.
Can you confirm what is the storage provisioner that you are using ?
What is the deletion policy specified in the volumesnapshot class(that the volumesnapshot uses)?
Provisioner is Ceph RBD and policy is Delete.
Same problem here using OpenStack. Did you solved this problem?
I had to manually remove the restore points and ultimately move to a different backup solution.
Velero, though I decided to go with its Kopia snapshotting instead of CSI / filesystem.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.