[
https://issues.apache.org/jira/browse/CLOUDSTACK-6663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14009505#comment-14009505
]
ASF subversion and git services commented on CLOUDSTACK-6663:
-------------------------------------------------------------
Commit 92bc68d1f14a22f1a5b6bbf87ed349f5b440b149 in cloudstack's branch
refs/heads/4.4 from [~anshulg]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=92bc68d ]
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.
> [Hyper-V] Agent fails to start on some setups if last nic on host in nic list
> doesn't contain unicast address
> -------------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-6663
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6663
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Reporter: Anshul Gangwar
> Priority: Critical
>
> Before starting Hyper-V agent we initialize HypervResourceController. We try
> to initialize it with IP address 0.0.0.0. We try to get nic info of 0.0.0.0.
> To get nic info we iterate through all nics and return the last NIC in the
> list if it doesn't match with any IP address. So 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
--
This message was sent by Atlassian JIRA
(v6.2#6252)