mike-tutkowski commented on issue #1740: CLOUDSTACK-9572 Snapshot on primary storage not cleaned up after Stor… URL: https://github.com/apache/cloudstack/pull/1740#issuecomment-412285145 Yeah, we basically need to send the DeleteSnapshot command to the hypervisor and then remove the corresponding row from cloud.snapshot_store_ref. We then want to skip the rest of the stuff around deleting the snapshot from secondary storage and those corresponding DB updates. On Aug 11, 2018, at 10:11 AM, Rafael Weingärtner <[email protected]<mailto:[email protected]>> wrote: Ok, so what this means is that the author when creating the PR used the snapshotSrv.deleteSnapshot thinking that it would only remove the snapshot in the hypervisor (primary storage). However, that method destroys the snapshot in ACS, which means removing in the DB and then from both storage systems (primary and secondary). Having said that, what we need is to create a method to remove only snapshots from the primary storage only, right? Then, instead of using snapshotSrv.deleteSnapshot, we use this new method. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub<https://github.com/apache/cloudstack/pull/1740#issuecomment-412284787>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AC4SH0AcyA6vUBNe8Lz5u4Is7_UQ9LJTks5uPwIWgaJpZM4KiQ0->.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
