cloudstack/engine
niteshsarda 74fe9e386c CLOUDSTACK-10004 : On deletion, Vmware volume snapshots are left behind with message 'the snapshot has child, can't delete it on the storage' (#2188)
Snapshots are not deleted resulting unexpected storage consumption in case of VMware.

Steps to reproduce this issue :

In VMware setup, create a snapshot of volume say Snap1.
After successful creation of snapshot Snap1, create new snapshot of same volume say Snap2.snapshots
While Snap2 is in BackingUp state, delete Snap1.
Snap1 will disappear from Web UI, but when we check secondary storage, files associated with Snap1 still persists even after cleanup job is performed.
In snapshot_store_ref table in DB, Snap1 will be in ready state instead of Destroyed.
Also, in snapshots table, status of Snap1 will be Destroyed but removed column will be null and will never change to the date of snapshot removal.
Fix for this issue :

In VMware, snapshot chain is not maintained, instead full snapshot is taken every time.
So, it makes sense not to assign parent snapshot id for the snapshot. In this way, every snapshot will be individual and can be deleted successfully whenever required.
2017-09-01 11:04:48 +02:00
..
api CLOUDSTACK-9993: Securing Agents Communications (#2239) 2017-08-28 12:15:11 +02:00
components-api CLOUDSTACK-9782: Host HA and KVM HA provider 2017-08-30 18:06:48 +02:00
network Updating pom.xml version numbers for release 4.11.0.0-SNAPSHOT 2017-07-12 12:09:38 +05:30
orchestration CLOUDSTACK-9782: Host HA and KVM HA provider 2017-08-30 18:06:48 +02:00
schema CLOUDSTACK-9782: Nested-oobm CloudStack plugin 2017-08-30 18:06:48 +02:00
service Updating pom.xml version numbers for release 4.11.0.0-SNAPSHOT 2017-07-12 12:09:38 +05:30
storage CLOUDSTACK-10004 : On deletion, Vmware volume snapshots are left behind with message 'the snapshot has child, can't delete it on the storage' (#2188) 2017-09-01 11:04:48 +02:00
pom.xml Updating pom.xml version numbers for release 4.11.0.0-SNAPSHOT 2017-07-12 12:09:38 +05:30