cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From devd...@apache.org
Subject git commit: updated refs/heads/master to 26fa623
Date Tue, 27 May 2014 06:43:51 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 3f947f612 -> 26fa623ff


CLOUDSTACK-6663: Fixed Hyper-V agent fails to start on some setups. During startup agent tries
to get nic info of 0.0.0.0. To get it, it iterates through all nics and return the last NIC
in
the list if it doesn't match with any IP address. In case last NIC doesn't have unicastAddress,
Hyper-V agent will fail to start. We don't need IP address during initialization. It get
initialized with startupcommand later.


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

Branch: refs/heads/master
Commit: 26fa623ffd427fa996968ce4e16c0262f7dd016e
Parents: 3f947f6
Author: Anshul Gangwar <anshul.gangwar@citrix.com>
Authored: Wed May 14 13:18:41 2014 +0530
Committer: Devdeep Singh <devdeep@gmail.com>
Committed: Tue May 27 12:03:11 2014 +0530

----------------------------------------------------------------------
 .../hyperv/DotNet/ServerResource/AgentShell/AgentService.cs        | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/26fa623f/plugins/hypervisors/hyperv/DotNet/ServerResource/AgentShell/AgentService.cs
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/hyperv/DotNet/ServerResource/AgentShell/AgentService.cs b/plugins/hypervisors/hyperv/DotNet/ServerResource/AgentShell/AgentService.cs
index 9d66a5c..febd10a 100644
--- a/plugins/hypervisors/hyperv/DotNet/ServerResource/AgentShell/AgentService.cs
+++ b/plugins/hypervisors/hyperv/DotNet/ServerResource/AgentShell/AgentService.cs
@@ -72,8 +72,6 @@ namespace CloudStack.Plugin.AgentShell
             // use of VisualStudio settings designer.  The designer allows us to avoid
             // accessing config using their key strings.
             HypervResourceControllerConfig rsrcCnf = new HypervResourceControllerConfig();
-            rsrcCnf.PrivateIpAddress = AgentSettings.Default.private_ip_address;
-            rsrcCnf.GatewayIpAddress = AgentSettings.Default.gateway_ip_address;
             rsrcCnf.RootDeviceReservedSpaceBytes = AgentSettings.Default.RootDeviceReservedSpaceBytes;
             rsrcCnf.RootDeviceName = AgentSettings.Default.RootDeviceName;
             rsrcCnf.ParentPartitionMinMemoryMb = AgentSettings.Default.dom0MinMemory;


Mime
View raw message