Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 47D8C200B73 for ; Mon, 29 Aug 2016 09:53:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 465CB160AB8; Mon, 29 Aug 2016 07:53:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 66799160AA7 for ; Mon, 29 Aug 2016 09:52:59 +0200 (CEST) Received: (qmail 17390 invoked by uid 500); 29 Aug 2016 07:52:58 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 17372 invoked by uid 99); 29 Aug 2016 07:52:58 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2016 07:52:58 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 5D9FD180BCD for ; Mon, 29 Aug 2016 07:52:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.429 X-Spam-Level: * X-Spam-Status: No, score=1.429 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id UnP84lHgxK04 for ; Mon, 29 Aug 2016 07:52:54 +0000 (UTC) Received: from mail-oi0-f50.google.com (mail-oi0-f50.google.com [209.85.218.50]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id A7B5D5F240 for ; Mon, 29 Aug 2016 07:52:53 +0000 (UTC) Received: by mail-oi0-f50.google.com with SMTP id j203so39388636oih.2 for ; Mon, 29 Aug 2016 00:52:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=WGBHkFdhzrUhPbn7UsCokwbRqq4gh4nC0BOo6b6VQJE=; b=mOv9dV7pQ8phcr8lTHPz23btcnUH8W9wifK3sNj1koS/KLlSZIZK9riAK2nwhvzpW1 n+eXCNHqw5X490PoJwQTjuDRApmGQOjaLk6t5UVZ4PyK3Mi2niflinRnMOPuC9u0pz+g 4uEgmTh0CaQotvwnm1jpV3poxf9YzwgZPSjKRcVPwULDch2WFCKtOqXAE85YrTJ9hDAe i9xIyY9E42O2L4LUbR9HaxMaLojdCJ0UAbalQ7Evq4q75ZmW+7c3boIHzNym481lN5XB eNxzr/Z4t71nS5oDy9Een6xscWfdVnVIQaJlhe/3wO+Sihv3sLMlLZQoLXdu7VpNqSs/ nvrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=WGBHkFdhzrUhPbn7UsCokwbRqq4gh4nC0BOo6b6VQJE=; b=EKuTIR3vIuFbg20vIaiAuHGoAqNsQ0n7ptL+mZfaNk8U9wGXqOKr5HtUgavgUHx/Mp NUuA+D+7z1rpc2k1WTdR0teOqD5mlVXS5UgxiKFATGe93GHcWkUt7BL3IUXNkzYdIafz G6peLYcEzYefYzZl/6hj6LoEWQvOD4FZ0GZmFbinBkLOiVtLQCYV0bmf4AGKP571dqkP /F8kAkCWhS8o3zPpjzhYkgZXCFEgT4sa9HPubvRa802UsM765i/IbBzddL97Ig9sTxLm u9MvgOYx9lqPRbcZP+ES6teX0zwasgkZ8YaiSMNWLtGYOS5N8QH62WykIQxFegPfdt3D i2Ig== X-Gm-Message-State: AE9vXwPiBVKwoB+3A1OsV6qlJM37zVIzrijvRrAhIt6fAAiAchZJJqLQXqmJIoAI6m4JOitGKwDYWNotmbIeaw== X-Received: by 10.202.107.132 with SMTP id g126mr9473121oic.1.1472457172362; Mon, 29 Aug 2016 00:52:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.49.4 with HTTP; Mon, 29 Aug 2016 00:52:52 -0700 (PDT) From: John Cenile Date: Mon, 29 Aug 2016 17:52:52 +1000 Message-ID: Subject: Incorrect details for private Nic To: users@cloudstack.apache.org Content-Type: multipart/alternative; boundary=001a1141bd12b4aafa053b312692 archived-at: Mon, 29 Aug 2016 07:53:00 -0000 --001a1141bd12b4aafa053b312692 Content-Type: text/plain; charset=UTF-8 Hi all, I'm trying to set up a test CloudStack installation, using two very basic CentOS 6.8 servers (I previously tried with CentOS 7, but ran into the same issue, so now I'm trying CentOS 6). Basically I can get (almost) everything working, except for the *Add host* stage, where I get the error "Incorrect details for private Nic during initialization of ServerResourceBase" in the agent.log. I haven't edited the agent.properties file manually at all, I have followed the KVM agent configuration guide perfectly as far as I can tell, as well as the Management Node configuration guide . I have cloudbr0 and cloudbr1 bridge interfaces set up, as well as eth0 which is the actual IP I'm connecting to. The only other thread I can find where someone had this issue, they ended up downgrading the agent, does that mean this is a known issue with 4.9? ( https://www.mail-archive.com/users@cloudstack.apache.org/msg20717.html) Does anyone have any idea why I'm getting these errors? If there's any other logs / config files you need, please let me know. Thanks in advance. *Cloudstack Management: *4.9.0.1.el6 *Cloudstack Agent:* 4.9.0.1.el6 *Agent logs* [root@node1 ~]# tail -n 15 /var/log/cloudstack/agent/agent.log 2016-08-29 17:18:08,572 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Found property: host 2016-08-29 17:18:08,572 INFO [cloud.agent.AgentShell] (main:null) (logid:) Defaulting to using properties file for storage 2016-08-29 17:18:08,574 INFO [cloud.agent.AgentShell] (main:null) (logid:) Defaulting to the constant time backoff algorithm 2016-08-29 17:18:08,591 INFO [cloud.utils.LogUtils] (main:null) (logid:) log4j configuration found at /etc/cloudstack/agent/log4j-cloud.xml 2016-08-29 17:18:08,606 INFO [cloud.agent.AgentShell] (main:null) (logid:) Using default Java settings for IPv6 preference for agent connection 2016-08-29 17:18:08,607 DEBUG [cloud.agent.AgentShell] (main:null) (logid:) Checking to see if agent.pid exists. 2016-08-29 17:18:08,615 DEBUG [cloud.utils.ProcessUtil] (main:null) (logid:) Executing: bash -c echo $PPID 2016-08-29 17:18:08,620 DEBUG [cloud.utils.ProcessUtil] (main:null) (logid:) Execution is successful. 2016-08-29 17:18:08,670 INFO [cloud.agent.Agent] (main:null) (logid:) id is 2016-08-29 17:18:08,670 DEBUG [cloud.resource.ServerResourceBase] (main:null) (logid:) Retrieving network interface: cloudbr0 2016-08-29 17:18:08,673 DEBUG [cloud.resource.ServerResourceBase] (main:null) (logid:) Retrieving network interface: cloudbr0 2016-08-29 17:18:08,674 DEBUG [cloud.resource.ServerResourceBase] (main:null) (logid:) Retrieving network interface: null 2016-08-29 17:18:08,674 DEBUG [cloud.resource.ServerResourceBase] (main:null) (logid:) Retrieving network interface: null 2016-08-29 17:18:08,676 WARN [cloud.resource.ServerResourceBase] (main:null) (logid:) Incorrect details for private Nic during initialization of ServerResourceBase 2016-08-29 17:18:08,677 ERROR [cloud.agent.AgentShell] (main:null) (logid:) Unable to start agent: Unable to configure LibvirtComputingResource Agent properties [root@node1 ~]# cat /etc/cloudstack/agent/agent.properties | sed -e '/^#/d' | sed -e '/^$/d' guid=b02788c7-20fc-30cd-a391-f2abaf002019 resource=com.cloud.hypervisor.kvm.resource.LibvirtComputingResource workers=5 host=10.1.1.1 port=8250 cluster=1 pod=1 zone=1 local.storage.uuid=525850bd-64fa-4eba-89e1-c0af4fb49621 domr.scripts.dir=scripts/network/domr/kvm hypervisor.type=kvm private.network.device=cloudbr0 public.network.device=cloudbr0 guest.network.device=cloudbr0 *Master ifconfig output* [root@master ~]# ifconfig eth0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX inet addr:10.1.1.1 Bcast:10.1.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:350162 errors:0 dropped:0 overruns:0 frame:0 TX packets:135250 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:342643150 (326.7 MiB) TX bytes:12230569 (11.6 MiB) Interrupt:18 Memory:fbce0000-fbd00000 *Agent ifconfig output* [root@node1 ~]# ifconfig cloud0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX inet addr:169.254.0.1 Bcast:0.0.0.0 Mask:255.255.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:648 (648.0 b) cloudbr0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:10 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:848 (848.0 b) cloudbr1 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:10 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:848 (848.0 b) eth0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX inet addr:10.1.1.2 Bcast:10.1.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:91148 errors:0 dropped:0 overruns:0 frame:0 TX packets:13637 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:14247208 (13.5 MiB) TX bytes:1866369 (1.7 MiB) Interrupt:18 Memory:fbce0000-fbd00000 eth0.200 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:1812 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:94666 (92.4 KiB) eth0.300 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:1812 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:94666 (92.4 KiB) --001a1141bd12b4aafa053b312692--