You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ra...@apache.org on 2013/10/29 11:16:27 UTC
[3/3] git commit: updated refs/heads/hyperv to ee0788b
Fixed HypervDirectConnect resource to figure out the status of systemvms, Need to fix this issue by connecting to public/control ip instead of local ip
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/ee0788bf
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/ee0788bf
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/ee0788bf
Branch: refs/heads/hyperv
Commit: ee0788bff8eb46bafa713e15b1ba057a57217a9e
Parents: 279793e
Author: Rajesh Battala <ra...@citrix.com>
Authored: Tue Oct 29 15:44:59 2013 +0530
Committer: Rajesh Battala <ra...@citrix.com>
Committed: Tue Oct 29 15:44:59 2013 +0530
----------------------------------------------------------------------
.../hypervisor/hyperv/resource/HypervDirectConnectResource.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ee0788bf/plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/resource/HypervDirectConnectResource.java
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/resource/HypervDirectConnectResource.java b/plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/resource/HypervDirectConnectResource.java
index 7069748..a8a09f6 100644
--- a/plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/resource/HypervDirectConnectResource.java
+++ b/plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/resource/HypervDirectConnectResource.java
@@ -1706,9 +1706,10 @@ public class HypervDirectConnectResource extends ServerResourceBase implements S
sch = SocketChannel.open();
sch.configureBlocking(true);
sch.socket().setSoTimeout(5000);
-
+ // we need to connect to the public ip address to check the status of the VM
+/*
InetSocketAddress addr = new InetSocketAddress(ipAddress, port);
- sch.connect(addr);
+ sch.connect(addr);*/
return null;
} catch (IOException e) {
s_logger.info("Could not connect to " + ipAddress + " due to " + e.toString());