Can you post the output of brctl show? Also, what are your kvm traffic labels set to? Do you have multiple physical networks configured in mgmt?
Simon Weller/ENA (615) 312-6068 -----Original Message----- From: Pierre-Luc Dion [pd...@cloudops.com] Received: Monday, 29 Aug 2016, 6:06AM To: users@cloudstack.apache.org [users@cloudstack.apache.org] Subject: Re: Incorrect details for private Nic I presume the kvm node is a different one than the management server, has a basic tests: Does the management server can ssh on the kvm server? Does the kvm server can tcp connect on the mgt server port 8250? On Aug 29, 2016 03:52, "John Cenile" <jcenile1...@gmail.com> wrote: > 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 > <http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/4. > 9/hypervisor/kvm.html> > perfectly as far as I can tell, as well as the Management Node > configuration guide > <http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/4. > 9/management-server/index.html> > . > > 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) >