You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users-cn@cloudstack.apache.org by "Liu,Lin" <li...@ufl.edu> on 2013/11/19 09:41:27 UTC

cloud-agent 启动不了

请问一下。
我在host上装了agent,但是start不了,看了agent 
的log。如下:2013-11-18 21:12:27,915{GMT} INFO  
[cloud.agent.AgentShell] (main:) Agent started
2013-11-18 21:12:27,916{GMT} INFO  [cloud.agent.AgentShell] (main:) 
Implementation Version is 4.2.0
2013-11-18 21:12:27,917{GMT} INFO  [cloud.agent.AgentShell] (main:) 
agent.properties found at /etc/cloudstack/agent/agent.properties
2013-11-18 21:12:27,918{GMT} INFO  [cloud.agent.AgentShell] (main:) 
Defaulting to using properties file for storage
2013-11-18 21:12:27,919{GMT} INFO  [cloud.agent.AgentShell] (main:) 
Defaulting to the constant time backoff algorithm
2013-11-18 21:12:27,921{GMT} INFO  [cloud.utils.LogUtils] (main:) log4j 
configuration found at /etc/cloudstack/agent/log4j-cloud.xml
2013-11-18 21:12:27,980{GMT} INFO  [cloud.agent.Agent] (main:) id is
2013-11-18 21:12:27,982{GMT} WARN  [cloud.resource.ServerResourceBase] 
(main:) Nics are not specified in properties file/db, will try to 
autodiscover
2013-11-18 21:12:27,986{GMT} INFO  [cloud.resource.ServerResourceBase] 
(main:) Designating private to be nic br0
2013-11-18 21:12:27,993{GMT} INFO  
[resource.virtualnetwork.VirtualRoutingResource] (main:) 
VirtualRoutingResource _scriptDir to use: scripts/network/domr/kvm
2013-11-18 21:12:28,139{GMT} ERROR [cloud.agent.AgentShell] (main:) 
Unable to start agent: Failed to get private nic name
Unable to start agent: Failed to get private nic name
请问,我怎么让其找到private nic name?
十分感谢。



Re: cloud-agent 启动不了

Posted by ma y <br...@gmail.com>.
登陆CS的web,添加区域,在分配流量的时候,配置各种流量的流量标签
agent就是找这个标签名字


2013/11/19 Liu,Lin <li...@ufl.edu>

> 请问一下。
> 我在host上装了agent,但是start不了,看了agent 的log。如下:2013-11-18 21:12:27,915{GMT}
> INFO  [cloud.agent.AgentShell] (main:) Agent started
> 2013-11-18 21:12:27,916{GMT} INFO  [cloud.agent.AgentShell] (main:)
> Implementation Version is 4.2.0
> 2013-11-18 21:12:27,917{GMT} INFO  [cloud.agent.AgentShell] (main:)
> agent.properties found at /etc/cloudstack/agent/agent.properties
> 2013-11-18 21:12:27,918{GMT} INFO  [cloud.agent.AgentShell] (main:)
> Defaulting to using properties file for storage
> 2013-11-18 21:12:27,919{GMT} INFO  [cloud.agent.AgentShell] (main:)
> Defaulting to the constant time backoff algorithm
> 2013-11-18 21:12:27,921{GMT} INFO  [cloud.utils.LogUtils] (main:) log4j
> configuration found at /etc/cloudstack/agent/log4j-cloud.xml
> 2013-11-18 21:12:27,980{GMT} INFO  [cloud.agent.Agent] (main:) id is
> 2013-11-18 21:12:27,982{GMT} WARN  [cloud.resource.ServerResourceBase]
> (main:) Nics are not specified in properties file/db, will try to
> autodiscover
> 2013-11-18 21:12:27,986{GMT} INFO  [cloud.resource.ServerResourceBase]
> (main:) Designating private to be nic br0
> 2013-11-18 21:12:27,993{GMT} INFO  [resource.virtualnetwork.VirtualRoutingResource]
> (main:) VirtualRoutingResource _scriptDir to use: scripts/network/domr/kvm
> 2013-11-18 21:12:28,139{GMT} ERROR [cloud.agent.AgentShell] (main:) Unable
> to start agent: Failed to get private nic name
> Unable to start agent: Failed to get private nic name
> 请问,我怎么让其找到private nic name?
> 十分感谢。
>
>
>