cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthon...@apache.org
Subject git commit: updated refs/heads/4.3 to b52e802
Date Fri, 17 Jan 2014 19:49:14 GMT
Updated Branches:
  refs/heads/4.3 be0d68851 -> b52e8028e


only send stop command when agent reports VM running and CS thinks it is stopped.


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

Branch: refs/heads/4.3
Commit: b52e8028e9d1fa3d5cd2679a9b94cefb881afe68
Parents: be0d688
Author: Anthony Xu <anthony.xu@citrix.com>
Authored: Fri Jan 17 11:48:27 2014 -0800
Committer: Anthony Xu <anthony.xu@citrix.com>
Committed: Fri Jan 17 11:48:27 2014 -0800

----------------------------------------------------------------------
 .../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/b52e8028/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 0393e39..67858b4 100755
--- a/engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java
+++ b/engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java
@@ -2824,7 +2824,7 @@ public class VirtualMachineManagerImpl extends ManagerBase implements
VirtualMac
                         s_logger.warn(e.getMessage());
                     }
                 }
-            } else if (serverState == State.Stopping) {
+            } else if (serverState == State.Stopped) {
                 s_logger.debug("Scheduling a stop command for " + vm);
                 _haMgr.scheduleStop(vm, hostId, WorkType.Stop);
             } else {


Mime
View raw message