You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2016/11/24 17:28:34 UTC

[1/3] git commit: updated refs/heads/4.9 to e59897b

Repository: cloudstack
Updated Branches:
  refs/heads/4.9 825935da6 -> e59897bad


CLOUDSTACK-9561 Unable to delete domain/Account


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/2c443cd1
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/2c443cd1
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/2c443cd1

Branch: refs/heads/4.9
Commit: 2c443cd189664ec35aaeedd7bd447d4fcfce0387
Parents: 5a2a2f4
Author: Sudharma Jain <su...@accelerite.com>
Authored: Thu Oct 27 10:58:37 2016 +0530
Committer: Sudharma Jain <su...@accelerite.com>
Committed: Thu Oct 27 10:58:37 2016 +0530

----------------------------------------------------------------------
 engine/schema/src/com/cloud/storage/dao/VolumeDaoImpl.java | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/2c443cd1/engine/schema/src/com/cloud/storage/dao/VolumeDaoImpl.java
----------------------------------------------------------------------
diff --git a/engine/schema/src/com/cloud/storage/dao/VolumeDaoImpl.java b/engine/schema/src/com/cloud/storage/dao/VolumeDaoImpl.java
index c7dc33b..6ed556e 100644
--- a/engine/schema/src/com/cloud/storage/dao/VolumeDaoImpl.java
+++ b/engine/schema/src/com/cloud/storage/dao/VolumeDaoImpl.java
@@ -96,7 +96,6 @@ public class VolumeDaoImpl extends GenericDaoBase<VolumeVO, Long> implements Vol
     public List<VolumeVO> findByAccount(long accountId) {
         SearchCriteria<VolumeVO> sc = AllFieldsSearch.create();
         sc.setParameters("accountId", accountId);
-        sc.setParameters("state", Volume.State.Ready);
         return listBy(sc);
     }
 


[3/3] git commit: updated refs/heads/4.9 to e59897b

Posted by bh...@apache.org.
Merge branch '4.8' into 4.9


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/e59897ba
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/e59897ba
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/e59897ba

Branch: refs/heads/4.9
Commit: e59897bad84ae13900e2ece647a1e43f6ebbac8f
Parents: 825935d 445d36c
Author: Rohit Yadav <ro...@shapeblue.com>
Authored: Thu Nov 24 22:57:53 2016 +0530
Committer: Rohit Yadav <ro...@shapeblue.com>
Committed: Thu Nov 24 22:58:08 2016 +0530

----------------------------------------------------------------------
 engine/schema/src/com/cloud/storage/dao/VolumeDaoImpl.java | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------



[2/3] git commit: updated refs/heads/4.9 to e59897b

Posted by bh...@apache.org.
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 <ro...@shapeblue.com>


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.9
Commit: 445d36c1228ea8329dc3f1349e10ff38c671674b
Parents: 90ae04b 2c443cd
Author: Rohit Yadav <ro...@shapeblue.com>
Authored: Thu Nov 24 22:56:05 2016 +0530
Committer: Rohit Yadav <ro...@shapeblue.com>
Committed: Thu Nov 24 22:56:22 2016 +0530

----------------------------------------------------------------------
 engine/schema/src/com/cloud/storage/dao/VolumeDaoImpl.java | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------