You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Mohd Zainal Abidin Rabani <za...@nocser.net> on 2016/01/25 10:58:56 UTC
Unable to start agent: Failed to get private nic name
Hi,
I'm getting this error:
2016-01-25 17:57:26,351 INFO [cloud.agent.AgentShell] (main:null)
Defaulting to using properties file for storage
2016-01-25 17:57:26,353 INFO [cloud.agent.AgentShell] (main:null)
Defaulting to the constant time backoff algorithm
2016-01-25 17:57:26,368 INFO [cloud.utils.LogUtils] (main:null) log4j
configuration found at /etc/cloudstack/agent/log4j-cloud.xml
2016-01-25 17:57:26,383 INFO [cloud.agent.AgentShell] (main:null)
Preferring IPv4 address family for agent connection
2016-01-25 17:57:26,524 INFO [cloud.agent.Agent] (main:null) id is
2016-01-25 17:57:26,527 WARN [cloud.resource.ServerResourceBase]
(main:null) Nics are not specified in properties file/db, will try to
autodiscover
2016-01-25 17:57:26,533 INFO [cloud.resource.ServerResourceBase]
(main:null) Designating private to be nic enp14s0f0.304
2016-01-25 17:57:26,554 INFO [kvm.resource.LibvirtConnection]
(main:null) No existing libvirtd connection found. Opening a new one
2016-01-25 17:57:26,838 INFO [org.reflections.Reflections] (main:null)
Reflections took 55 ms to scan 1 urls, producing 7 keys and 10 values
2016-01-25 17:57:26,856 ERROR [cloud.agent.AgentShell] (main:null)
Unable to start agent: Failed to get private nic name
2016-01-25 17:57:37,583 INFO [cloud.agent.AgentShell] (main:null) Agent
started
2016-01-25 17:57:37,584 INFO [cloud.agent.AgentShell] (main:null)
Implementation Version is 4.6.2
2016-01-25 17:57:37,586 INFO [cloud.agent.AgentShell] (main:null)
agent.properties found at /etc/cloudstack/agent/agent.properties
2016-01-25 17:57:37,591 INFO [cloud.agent.AgentShell] (main:null)
Defaulting to using properties file for storage
2016-01-25 17:57:37,594 INFO [cloud.agent.AgentShell] (main:null)
Defaulting to the constant time backoff algorithm
2016-01-25 17:57:37,608 INFO [cloud.utils.LogUtils] (main:null) log4j
configuration found at /etc/cloudstack/agent/log4j-cloud.xml
2016-01-25 17:57:37,624 INFO [cloud.agent.AgentShell] (main:null)
Preferring IPv4 address family for agent connection
2016-01-25 17:57:37,766 INFO [cloud.agent.Agent] (main:null) id is
2016-01-25 17:57:37,770 WARN [cloud.resource.ServerResourceBase]
(main:null) Nics are not specified in properties file/db, will try to
autodiscover
2016-01-25 17:57:37,776 INFO [cloud.resource.ServerResourceBase]
(main:null) Designating private to be nic enp14s0f0.304
2016-01-25 17:57:37,797 INFO [kvm.resource.LibvirtConnection]
(main:null) No existing libvirtd connection found. Opening a new one
2016-01-25 17:57:38,077 INFO [org.reflections.Reflections] (main:null)
Reflections took 52 ms to scan 1 urls, producing 7 keys and 10 values
2016-01-25 17:57:38,096 ERROR [cloud.agent.AgentShell] (main:null)
Unable to start agent: Failed to get private nic name
2016-01-25 17:57:48,833 INFO [cloud.agent.AgentShell] (main:null) Agent
started
2016-01-25 17:57:48,834 INFO [cloud.agent.AgentShell] (main:null)
Implementation Version is 4.6.2
2016-01-25 17:57:48,836 INFO [cloud.agent.AgentShell] (main:null)
agent.properties found at /etc/cloudstack/agent/agent.properties
2016-01-25 17:57:48,841 INFO [cloud.agent.AgentShell] (main:null)
Defaulting to using properties file for storage
2016-01-25 17:57:48,843 INFO [cloud.agent.AgentShell] (main:null)
Defaulting to the constant time backoff algorithm
2016-01-25 17:57:48,857 INFO [cloud.utils.LogUtils] (main:null) log4j
configuration found at /etc/cloudstack/agent/log4j-cloud.xml
2016-01-25 17:57:48,873 INFO [cloud.agent.AgentShell] (main:null)
Preferring IPv4 address family for agent connection
2016-01-25 17:57:49,012 INFO [cloud.agent.Agent] (main:null) id is
2016-01-25 17:57:49,015 WARN [cloud.resource.ServerResourceBase]
(main:null) Nics are not specified in properties file/db, will try to
autodiscover
2016-01-25 17:57:49,022 INFO [cloud.resource.ServerResourceBase]
(main:null) Designating private to be nic enp14s0f0.304
2016-01-25 17:57:49,042 INFO [kvm.resource.LibvirtConnection]
(main:null) No existing libvirtd connection found. Opening a new one
2016-01-25 17:57:49,324 INFO [org.reflections.Reflections] (main:null)
Reflections took 55 ms to scan 1 urls, producing 7 keys and 10 values
2016-01-25 17:57:49,342 ERROR [cloud.agent.AgentShell] (main:null)
Unable to start agent: Failed to get private nic name
2016-01-25 17:58:00,080 INFO [cloud.agent.AgentShell] (main:null) Agent
started
2016-01-25 17:58:00,081 INFO [cloud.agent.AgentShell] (main:null)
Implementation Version is 4.6.2
2016-01-25 17:58:00,083 INFO [cloud.agent.AgentShell] (main:null)
agent.properties found at /etc/cloudstack/agent/agent.properties
2016-01-25 17:58:00,088 INFO [cloud.agent.AgentShell] (main:null)
Defaulting to using properties file for storage
2016-01-25 17:58:00,091 INFO [cloud.agent.AgentShell] (main:null)
Defaulting to the constant time backoff algorithm
2016-01-25 17:58:00,104 INFO [cloud.utils.LogUtils] (main:null) log4j
configuration found at /etc/cloudstack/agent/log4j-cloud.xml
2016-01-25 17:58:00,121 INFO [cloud.agent.AgentShell] (main:null)
Preferring IPv4 address family for agent connection
2016-01-25 17:58:00,258 INFO [cloud.agent.Agent] (main:null) id is
2016-01-25 17:58:00,262 WARN [cloud.resource.ServerResourceBase]
(main:null) Nics are not specified in properties file/db, will try to
autodiscover
2016-01-25 17:58:00,268 INFO [cloud.resource.ServerResourceBase]
(main:null) Designating private to be nic enp14s0f0.304
2016-01-25 17:58:00,288 INFO [kvm.resource.LibvirtConnection]
(main:null) No existing libvirtd connection found. Opening a new one
2016-01-25 17:58:00,571 INFO [org.reflections.Reflections] (main:null)
Reflections took 53 ms to scan 1 urls, producing 7 keys and 10 values
2016-01-25 17:58:00,592 ERROR [cloud.agent.AgentShell] (main:null)
Unable to start agent: Failed to get private nic name
---------
Regards,
Mohd Zainal Abidin Rabani
Technical Support
ModernOne Data Solutions Sdn. Bhd.(1119382-D)
No. 83-2, Jalan TKS 1,
Kajang Sentral, 43000 Kajang, Selangor.
T : 03-8737 0030 | F : 03-8737 0070
E : zainal@nocser.net
W : www.modern.com.my | www.nocser.net
Re[2]: Unable to start agent: Failed to get private nic name
Posted by Mohd Zainal Abidin Rabani <za...@nocser.net>.
If i made bridge on centos 7, i cannot ping gateway and other host in
same segment. I do not know why. This is vlan type setting.
---------
Regards,
Mohd Zainal Abidin Rabani
Technical Support
ModernOne Data Solutions Sdn. Bhd. (1119382-D)
No. 83-2, Jalan TKS 1,
Kajang Sentral, 43000 Kajang, Selangor.
T : 03-8737 0030 | F : 03-8737 0070
E : zainal@nocser.net
W : www.modern.com.my <http://www.modern.com.my/> | www.nocser.net
<http://www.nocser.net/>
------ Original Message ------
From: "Erik Weber" <te...@gmail.com>
To: "users@cloudstack.apache.org" <us...@cloudstack.apache.org>; "Mohd
Zainal Abidin Rabani" <za...@nocser.net>
Sent: 25/01/2016 18:23:53
Subject: Re: Unable to start agent: Failed to get private nic name
>Have you made the necessary bridges?
>
>Erik
>
>Den mandag 25. januar 2016 skrev Mohd Zainal Abidin Rabani <
>zainal@nocser.net> følgende:
>
>> Hi,
>>
>> I'm getting this error:
>>
>> 2016-01-25 17:57:26,351 INFO [cloud.agent.AgentShell] (main:null)
>> Defaulting to using properties file for storage
>> 2016-01-25 17:57:26,353 INFO [cloud.agent.AgentShell] (main:null)
>> Defaulting to the constant time backoff algorithm
>> 2016-01-25 17:57:26,368 INFO [cloud.utils.LogUtils] (main:null)
>>log4j
>> configuration found at /etc/cloudstack/agent/log4j-cloud.xml
>> 2016-01-25 17:57:26,383 INFO [cloud.agent.AgentShell] (main:null)
>> Preferring IPv4 address family for agent connection
>> 2016-01-25 17:57:26,524 INFO [cloud.agent.Agent] (main:null) id is
>> 2016-01-25 17:57:26,527 WARN [cloud.resource.ServerResourceBase]
>> (main:null) Nics are not specified in properties file/db, will try to
>> autodiscover
>> 2016-01-25 17:57:26,533 INFO [cloud.resource.ServerResourceBase]
>> (main:null) Designating private to be nic enp14s0f0.304
>> 2016-01-25 17:57:26,554 INFO [kvm.resource.LibvirtConnection]
>>(main:null)
>> No existing libvirtd connection found. Opening a new one
>> 2016-01-25 17:57:26,838 INFO [org.reflections.Reflections]
>>(main:null)
>> Reflections took 55 ms to scan 1 urls, producing 7 keys and 10 values
>> 2016-01-25 17:57:26,856 ERROR [cloud.agent.AgentShell] (main:null)
>>Unable
>> to start agent: Failed to get private nic name
>> 2016-01-25 17:57:37,583 INFO [cloud.agent.AgentShell] (main:null)
>>Agent
>> started
>> 2016-01-25 17:57:37,584 INFO [cloud.agent.AgentShell] (main:null)
>> Implementation Version is 4.6.2
>> 2016-01-25 17:57:37,586 INFO [cloud.agent.AgentShell] (main:null)
>> agent.properties found at /etc/cloudstack/agent/agent.properties
>> 2016-01-25 17:57:37,591 INFO [cloud.agent.AgentShell] (main:null)
>> Defaulting to using properties file for storage
>> 2016-01-25 17:57:37,594 INFO [cloud.agent.AgentShell] (main:null)
>> Defaulting to the constant time backoff algorithm
>> 2016-01-25 17:57:37,608 INFO [cloud.utils.LogUtils] (main:null)
>>log4j
>> configuration found at /etc/cloudstack/agent/log4j-cloud.xml
>> 2016-01-25 17:57:37,624 INFO [cloud.agent.AgentShell] (main:null)
>> Preferring IPv4 address family for agent connection
>> 2016-01-25 17:57:37,766 INFO [cloud.agent.Agent] (main:null) id is
>> 2016-01-25 17:57:37,770 WARN [cloud.resource.ServerResourceBase]
>> (main:null) Nics are not specified in properties file/db, will try to
>> autodiscover
>> 2016-01-25 17:57:37,776 INFO [cloud.resource.ServerResourceBase]
>> (main:null) Designating private to be nic enp14s0f0.304
>> 2016-01-25 17:57:37,797 INFO [kvm.resource.LibvirtConnection]
>>(main:null)
>> No existing libvirtd connection found. Opening a new one
>> 2016-01-25 17:57:38,077 INFO [org.reflections.Reflections]
>>(main:null)
>> Reflections took 52 ms to scan 1 urls, producing 7 keys and 10 values
>> 2016-01-25 17:57:38,096 ERROR [cloud.agent.AgentShell] (main:null)
>>Unable
>> to start agent: Failed to get private nic name
>> 2016-01-25 17:57:48,833 INFO [cloud.agent.AgentShell] (main:null)
>>Agent
>> started
>> 2016-01-25 17:57:48,834 INFO [cloud.agent.AgentShell] (main:null)
>> Implementation Version is 4.6.2
>> 2016-01-25 17:57:48,836 INFO [cloud.agent.AgentShell] (main:null)
>> agent.properties found at /etc/cloudstack/agent/agent.properties
>> 2016-01-25 17:57:48,841 INFO [cloud.agent.AgentShell] (main:null)
>> Defaulting to using properties file for storage
>> 2016-01-25 17:57:48,843 INFO [cloud.agent.AgentShell] (main:null)
>> Defaulting to the constant time backoff algorithm
>> 2016-01-25 17:57:48,857 INFO [cloud.utils.LogUtils] (main:null)
>>log4j
>> configuration found at /etc/cloudstack/agent/log4j-cloud.xml
>> 2016-01-25 17:57:48,873 INFO [cloud.agent.AgentShell] (main:null)
>> Preferring IPv4 address family for agent connection
>> 2016-01-25 17:57:49,012 INFO [cloud.agent.Agent] (main:null) id is
>> 2016-01-25 17:57:49,015 WARN [cloud.resource.ServerResourceBase]
>> (main:null) Nics are not specified in properties file/db, will try to
>> autodiscover
>> 2016-01-25 17:57:49,022 INFO [cloud.resource.ServerResourceBase]
>> (main:null) Designating private to be nic enp14s0f0.304
>> 2016-01-25 17:57:49,042 INFO [kvm.resource.LibvirtConnection]
>>(main:null)
>> No existing libvirtd connection found. Opening a new one
>> 2016-01-25 17:57:49,324 INFO [org.reflections.Reflections]
>>(main:null)
>> Reflections took 55 ms to scan 1 urls, producing 7 keys and 10 values
>> 2016-01-25 17:57:49,342 ERROR [cloud.agent.AgentShell] (main:null)
>>Unable
>> to start agent: Failed to get private nic name
>> 2016-01-25 17:58:00,080 INFO [cloud.agent.AgentShell] (main:null)
>>Agent
>> started
>> 2016-01-25 17:58:00,081 INFO [cloud.agent.AgentShell] (main:null)
>> Implementation Version is 4.6.2
>> 2016-01-25 17:58:00,083 INFO [cloud.agent.AgentShell] (main:null)
>> agent.properties found at /etc/cloudstack/agent/agent.properties
>> 2016-01-25 17:58:00,088 INFO [cloud.agent.AgentShell] (main:null)
>> Defaulting to using properties file for storage
>> 2016-01-25 17:58:00,091 INFO [cloud.agent.AgentShell] (main:null)
>> Defaulting to the constant time backoff algorithm
>> 2016-01-25 17:58:00,104 INFO [cloud.utils.LogUtils] (main:null)
>>log4j
>> configuration found at /etc/cloudstack/agent/log4j-cloud.xml
>> 2016-01-25 17:58:00,121 INFO [cloud.agent.AgentShell] (main:null)
>> Preferring IPv4 address family for agent connection
>> 2016-01-25 17:58:00,258 INFO [cloud.agent.Agent] (main:null) id is
>> 2016-01-25 17:58:00,262 WARN [cloud.resource.ServerResourceBase]
>> (main:null) Nics are not specified in properties file/db, will try to
>> autodiscover
>> 2016-01-25 17:58:00,268 INFO [cloud.resource.ServerResourceBase]
>> (main:null) Designating private to be nic enp14s0f0.304
>> 2016-01-25 17:58:00,288 INFO [kvm.resource.LibvirtConnection]
>>(main:null)
>> No existing libvirtd connection found. Opening a new one
>> 2016-01-25 17:58:00,571 INFO [org.reflections.Reflections]
>>(main:null)
>> Reflections took 53 ms to scan 1 urls, producing 7 keys and 10 values
>> 2016-01-25 17:58:00,592 ERROR [cloud.agent.AgentShell] (main:null)
>>Unable
>> to start agent: Failed to get private nic name
>>
>>
>> ---------
>> Regards,
>> Mohd Zainal Abidin Rabani
>> Technical Support
>>
>> ModernOne Data Solutions Sdn. Bhd.(1119382-D)
>> No. 83-2, Jalan TKS 1,
>> Kajang Sentral, 43000 Kajang, Selangor.
>> T : 03-8737 0030 | F : 03-8737 0070
>> E : zainal@nocser.net
>> W : www.modern.com.my | www.nocser.net
>>
Re: Unable to start agent: Failed to get private nic name
Posted by Erik Weber <te...@gmail.com>.
Have you made the necessary bridges?
Erik
Den mandag 25. januar 2016 skrev Mohd Zainal Abidin Rabani <
zainal@nocser.net> følgende:
> Hi,
>
> I'm getting this error:
>
> 2016-01-25 17:57:26,351 INFO [cloud.agent.AgentShell] (main:null)
> Defaulting to using properties file for storage
> 2016-01-25 17:57:26,353 INFO [cloud.agent.AgentShell] (main:null)
> Defaulting to the constant time backoff algorithm
> 2016-01-25 17:57:26,368 INFO [cloud.utils.LogUtils] (main:null) log4j
> configuration found at /etc/cloudstack/agent/log4j-cloud.xml
> 2016-01-25 17:57:26,383 INFO [cloud.agent.AgentShell] (main:null)
> Preferring IPv4 address family for agent connection
> 2016-01-25 17:57:26,524 INFO [cloud.agent.Agent] (main:null) id is
> 2016-01-25 17:57:26,527 WARN [cloud.resource.ServerResourceBase]
> (main:null) Nics are not specified in properties file/db, will try to
> autodiscover
> 2016-01-25 17:57:26,533 INFO [cloud.resource.ServerResourceBase]
> (main:null) Designating private to be nic enp14s0f0.304
> 2016-01-25 17:57:26,554 INFO [kvm.resource.LibvirtConnection] (main:null)
> No existing libvirtd connection found. Opening a new one
> 2016-01-25 17:57:26,838 INFO [org.reflections.Reflections] (main:null)
> Reflections took 55 ms to scan 1 urls, producing 7 keys and 10 values
> 2016-01-25 17:57:26,856 ERROR [cloud.agent.AgentShell] (main:null) Unable
> to start agent: Failed to get private nic name
> 2016-01-25 17:57:37,583 INFO [cloud.agent.AgentShell] (main:null) Agent
> started
> 2016-01-25 17:57:37,584 INFO [cloud.agent.AgentShell] (main:null)
> Implementation Version is 4.6.2
> 2016-01-25 17:57:37,586 INFO [cloud.agent.AgentShell] (main:null)
> agent.properties found at /etc/cloudstack/agent/agent.properties
> 2016-01-25 17:57:37,591 INFO [cloud.agent.AgentShell] (main:null)
> Defaulting to using properties file for storage
> 2016-01-25 17:57:37,594 INFO [cloud.agent.AgentShell] (main:null)
> Defaulting to the constant time backoff algorithm
> 2016-01-25 17:57:37,608 INFO [cloud.utils.LogUtils] (main:null) log4j
> configuration found at /etc/cloudstack/agent/log4j-cloud.xml
> 2016-01-25 17:57:37,624 INFO [cloud.agent.AgentShell] (main:null)
> Preferring IPv4 address family for agent connection
> 2016-01-25 17:57:37,766 INFO [cloud.agent.Agent] (main:null) id is
> 2016-01-25 17:57:37,770 WARN [cloud.resource.ServerResourceBase]
> (main:null) Nics are not specified in properties file/db, will try to
> autodiscover
> 2016-01-25 17:57:37,776 INFO [cloud.resource.ServerResourceBase]
> (main:null) Designating private to be nic enp14s0f0.304
> 2016-01-25 17:57:37,797 INFO [kvm.resource.LibvirtConnection] (main:null)
> No existing libvirtd connection found. Opening a new one
> 2016-01-25 17:57:38,077 INFO [org.reflections.Reflections] (main:null)
> Reflections took 52 ms to scan 1 urls, producing 7 keys and 10 values
> 2016-01-25 17:57:38,096 ERROR [cloud.agent.AgentShell] (main:null) Unable
> to start agent: Failed to get private nic name
> 2016-01-25 17:57:48,833 INFO [cloud.agent.AgentShell] (main:null) Agent
> started
> 2016-01-25 17:57:48,834 INFO [cloud.agent.AgentShell] (main:null)
> Implementation Version is 4.6.2
> 2016-01-25 17:57:48,836 INFO [cloud.agent.AgentShell] (main:null)
> agent.properties found at /etc/cloudstack/agent/agent.properties
> 2016-01-25 17:57:48,841 INFO [cloud.agent.AgentShell] (main:null)
> Defaulting to using properties file for storage
> 2016-01-25 17:57:48,843 INFO [cloud.agent.AgentShell] (main:null)
> Defaulting to the constant time backoff algorithm
> 2016-01-25 17:57:48,857 INFO [cloud.utils.LogUtils] (main:null) log4j
> configuration found at /etc/cloudstack/agent/log4j-cloud.xml
> 2016-01-25 17:57:48,873 INFO [cloud.agent.AgentShell] (main:null)
> Preferring IPv4 address family for agent connection
> 2016-01-25 17:57:49,012 INFO [cloud.agent.Agent] (main:null) id is
> 2016-01-25 17:57:49,015 WARN [cloud.resource.ServerResourceBase]
> (main:null) Nics are not specified in properties file/db, will try to
> autodiscover
> 2016-01-25 17:57:49,022 INFO [cloud.resource.ServerResourceBase]
> (main:null) Designating private to be nic enp14s0f0.304
> 2016-01-25 17:57:49,042 INFO [kvm.resource.LibvirtConnection] (main:null)
> No existing libvirtd connection found. Opening a new one
> 2016-01-25 17:57:49,324 INFO [org.reflections.Reflections] (main:null)
> Reflections took 55 ms to scan 1 urls, producing 7 keys and 10 values
> 2016-01-25 17:57:49,342 ERROR [cloud.agent.AgentShell] (main:null) Unable
> to start agent: Failed to get private nic name
> 2016-01-25 17:58:00,080 INFO [cloud.agent.AgentShell] (main:null) Agent
> started
> 2016-01-25 17:58:00,081 INFO [cloud.agent.AgentShell] (main:null)
> Implementation Version is 4.6.2
> 2016-01-25 17:58:00,083 INFO [cloud.agent.AgentShell] (main:null)
> agent.properties found at /etc/cloudstack/agent/agent.properties
> 2016-01-25 17:58:00,088 INFO [cloud.agent.AgentShell] (main:null)
> Defaulting to using properties file for storage
> 2016-01-25 17:58:00,091 INFO [cloud.agent.AgentShell] (main:null)
> Defaulting to the constant time backoff algorithm
> 2016-01-25 17:58:00,104 INFO [cloud.utils.LogUtils] (main:null) log4j
> configuration found at /etc/cloudstack/agent/log4j-cloud.xml
> 2016-01-25 17:58:00,121 INFO [cloud.agent.AgentShell] (main:null)
> Preferring IPv4 address family for agent connection
> 2016-01-25 17:58:00,258 INFO [cloud.agent.Agent] (main:null) id is
> 2016-01-25 17:58:00,262 WARN [cloud.resource.ServerResourceBase]
> (main:null) Nics are not specified in properties file/db, will try to
> autodiscover
> 2016-01-25 17:58:00,268 INFO [cloud.resource.ServerResourceBase]
> (main:null) Designating private to be nic enp14s0f0.304
> 2016-01-25 17:58:00,288 INFO [kvm.resource.LibvirtConnection] (main:null)
> No existing libvirtd connection found. Opening a new one
> 2016-01-25 17:58:00,571 INFO [org.reflections.Reflections] (main:null)
> Reflections took 53 ms to scan 1 urls, producing 7 keys and 10 values
> 2016-01-25 17:58:00,592 ERROR [cloud.agent.AgentShell] (main:null) Unable
> to start agent: Failed to get private nic name
>
>
> ---------
> Regards,
> Mohd Zainal Abidin Rabani
> Technical Support
>
> ModernOne Data Solutions Sdn. Bhd.(1119382-D)
> No. 83-2, Jalan TKS 1,
> Kajang Sentral, 43000 Kajang, Selangor.
> T : 03-8737 0030 | F : 03-8737 0070
> E : zainal@nocser.net
> W : www.modern.com.my | www.nocser.net
>