Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CBDE811FBC for ; Thu, 15 May 2014 01:06:57 +0000 (UTC) Received: (qmail 1791 invoked by uid 500); 14 May 2014 07:00:20 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 1733 invoked by uid 500); 14 May 2014 07:00:20 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 1523 invoked by uid 500); 14 May 2014 07:00:20 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 1418 invoked by uid 99); 14 May 2014 07:00:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 May 2014 07:00:20 +0000 Date: Wed, 14 May 2014 07:00:19 +0000 (UTC) From: "Anshul Gangwar (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CLOUDSTACK-6663) [Hyper-V] Agent fails to start on some setups if last nic on host in nic list doesn't contain unicast address MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Anshul Gangwar created CLOUDSTACK-6663: ------------------------------------------ Summary: [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)