Describe the bug
Unable to delete VolumeSnapshot if used as a dataSource to restore Volume. Also source Volume cannot be deleted if it has VolumeSnapshots. To delete Volume user needs to delete all VolumeSnapshots first and then Volume can be deleted.
To Reproduce
- Create
Volume
- Create
VolumeSnapshot
- Restore
Volume using VolumeSnapshot as dataSource
- Delete
VolumeSnapshot
- Delete source
Volume from step 1
Expected behavior
A VolumeSnapshot and source Volume should be deleted successfully
Additional context
Ceph implementation does not allow to delete Volume if it has VolumeSnapshots.