cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kous...@apache.org
Subject git commit: updated refs/heads/4.3 to 6ce46e9
Date Fri, 03 Jan 2014 10:19:31 GMT
Updated Branches:
  refs/heads/4.3 3fe942682 -> 6ce46e94f


CLOUDSTACK-5730: [Automation]DirectAgentAttache's send command fails due to ArrayIndexOutOfBoundsException;
Unable to cleanup hypervisor's datastructures as part of Delete Account Job

Signed-off-by: Koushik Das <koushik@apache.org>


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

Branch: refs/heads/4.3
Commit: 6ce46e94f522f08c91db2cde33829f5b41539397
Parents: 3fe9426
Author: Harikrishna Patnala <harikrishna.patnala@citrix.com>
Authored: Fri Jan 3 15:33:39 2014 +0530
Committer: Koushik Das <koushik@apache.org>
Committed: Fri Jan 3 15:42:31 2014 +0530

----------------------------------------------------------------------
 .../orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/6ce46e94/engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java
----------------------------------------------------------------------
diff --git a/engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java b/engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java
index 15418d4..f9bc042 100755
--- a/engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java
+++ b/engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java
@@ -487,7 +487,7 @@ public class VirtualMachineManagerImpl extends ManagerBase implements
VirtualMac
 
         Long hostId = vm.getHostId() != null ? vm.getHostId() : vm.getLastHostId();
 
-        if (volumeExpungeCommands != null && hostId != null) {
+        if (volumeExpungeCommands != null && volumeExpungeCommands.size() > 0
&& hostId != null) {
             Commands cmds = new Commands(Command.OnError.Stop);
 
             for (Command volumeExpungeCommand : volumeExpungeCommands) {


Mime
View raw message