You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by de...@apache.org on 2013/12/27 10:50:29 UTC

git commit: updated refs/heads/master to cdf2a11

Updated Branches:
  refs/heads/master ea09c0435 -> cdf2a1161


CLOUDSTACK-5649: Vms are stopped and not migrated from a host when the
host is put in maintenance mode. The migrate flag wasn't set to true in
the maintain answer. This caused cloudstack to not to schedule a migration
work item for vms on the host. Made a change to set the migrate flag to
true in migrate answer.


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

Branch: refs/heads/master
Commit: cdf2a1161bbc16a59d4fa4cc43e820c246ae3da3
Parents: ea09c04
Author: Devdeep Singh <de...@gmail.com>
Authored: Fri Dec 27 22:15:34 2013 +0530
Committer: Devdeep Singh <de...@gmail.com>
Committed: Fri Dec 27 15:21:14 2013 +0530

----------------------------------------------------------------------
 .../ServerResource/HypervResource/HypervResourceController.cs       | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/cdf2a116/plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs b/plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
index 287f9f2..901b09b 100644
--- a/plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
+++ b/plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
@@ -1200,6 +1200,7 @@ namespace HypervResource
                 object ansContent = new
                 {
                     result = true,
+                    willMigrate = true,
                     details = "success - NOP for MaintainCommand",
                     _reconnect = false,
                     contextMap = contextMap