GitHub user DaanHoogland added a comment to the discussion: Orphaned snapshots 
remain after deleting volumes in CLVM_NG primary storage

> [@DaanHoogland](https://github.com/DaanHoogland) thanks for your reply. What 
> is the reason of having an snapshot with a reference to a deleted volume?
> 
> _Expected behavior: Deleting a volume should also remove (or orphan-clean) 
> any snapshots associated with it, or at minimum the snapshot should no longer 
> reference a non-existent volume._

that last bit could be discussed, but on the other hand a volume is re-storable 
if it has not yet been garbage collected. Volumes and snapshots are first class 
citizens. Snapshots have a lifecycle not necessarily links to the volume they 
where created from, but thay are still created from the volume (even if it 
doesn't anymore exist) If this would lead to bugs these need to be addressed of 
course. Did you encounter any, @mbertolina ?

GitHub link: 
https://github.com/apache/cloudstack/discussions/14437#discussioncomment-19038694

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to