Merge PR #1737 CLOUDSTACK-9561 After domain/account deletion, snapshot taken by the domain/account remains undeleted
While deleting the UserAccount Cleanup for the removed VMs/volumes are not happening. For the removed VMs, snapshots doesn't get cleaned. Only for running VMs(volumes in ready state) the cleanup happens. When the VM is desroyed, the volume is marked as destroyed and later storage garbage collector perform the cleanup. But if we try delete domain/account before storage garbage collector runs, then it fails. Signed-off-by: Rohit Yadav <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/445d36c1 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/445d36c1 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/445d36c1 Branch: refs/heads/4.8 Commit: 445d36c1228ea8329dc3f1349e10ff38c671674b Parents: 90ae04b 2c443cd Author: Rohit Yadav <[email protected]> Authored: Thu Nov 24 22:56:05 2016 +0530 Committer: Rohit Yadav <[email protected]> Committed: Thu Nov 24 22:56:22 2016 +0530 ---------------------------------------------------------------------- engine/schema/src/com/cloud/storage/dao/VolumeDaoImpl.java | 1 - 1 file changed, 1 deletion(-) ----------------------------------------------------------------------
