Hi Slavka, In my POV, volume/VM deletion behavior when "snapshot.backup.to.secondary" is "false" should be the same as when it's "true", regarding to disk snapshots. What changes to snapshots is the location of they, therefore, operators should be able to do any operation with them on primary, as when they are on secondary.
With that said, I see two ways to achieve this: 1. Backup the snapshot to secondary; 2. As operators choose to not backup snapshots at first, their features should be adapted to work with primary storage; Best regards, Daniel. On 2021/09/14 07:20:12, Slavka Peleva <slav...@storpool.com.INVALID> wrote: > Hi all, > > There is a problem with snapshots kept only on primary storage for > non-managed drivers, and I've opened an issue request #5433 > <https://github.com/apache/cloudstack/issues/5433> > The problem is when we delete a volume with more than one snapshot kept > only on primary with the option snapshot.backup.to.secondary to false. And > the behaviour is different for most of the non-managed drivers. > My question is which is the best way to handle this? > For me the better option is each driver to handle this (if there is need to > delete the snapshots from DB/storage or they could live without the volume) > > Thanks for the help! > > > Best regards, > Slavka >