incubator-cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edison Su <Edison...@citrix.com>
Subject RE: cs4.0添加主要时出错
Date Mon, 10 Dec 2012 00:56:54 GMT
对的,需要提前配置,如果你不是用的默认设置。

> -----Original Message-----
> From: 黄井优 [mailto:huangjy@casc.ac.cn]
> Sent: Saturday, December 08, 2012 9:45 PM
> To: cloudstack-users-cn
> Subject: cs4.0添加主要时出错
> 
> 大家好我在添加主机时出错,我感觉应该是没有配置网桥,网桥要自己手
> 动配置的吗?
> 日志如下:
> management.log
> 2012-12-09 21:35:14,858 DEBUG [utils.ssh.SSHCmdHelper] (catalina-exec-
> 24:null) Executing cmd: cloud-setup-agent  -m 10.10.10.1 -z 1 -p 1 -c 1 -g
> 734d8237-d38e-3ccf-b0f9-be2ecc9cfe45 -a --pubNic=brpublic --
> prvNic=brmanage --guestNic=brguest
> 
> agent.log
> 2012-12-09 21:35:49,051 INFO  [utils.component.ComponentLocator]
> (main:null) Unable to find components.xml
> 2012-12-09 21:35:49,052 INFO  [utils.component.ComponentLocator]
> (main:null) Skipping configuration using components.xml
> 2012-12-09 21:35:49,052 INFO  [cloud.agent.AgentShell] (main:null)
> Implementation Version is 4.0.0.20121024012150
> 2012-12-09 21:35:49,053 INFO  [cloud.agent.AgentShell] (main:null)
> agent.properties found at /etc/cloud/agent/agent.properties
> 2012-12-09 21:35:49,054 INFO  [cloud.agent.AgentShell] (main:null)
> Defaulting to using properties file for storage
> 2012-12-09 21:35:49,055 INFO  [cloud.agent.AgentShell] (main:null)
> Defaulting to the constant time backoff algorithm
> 2012-12-09 21:35:49,104 INFO  [cloud.agent.Agent] (main:null) id is 3
> 2012-12-09 21:35:49,115 ERROR [cloud.resource.ServerResourceBase]
> (main:null) Nics are not configured!
> 2012-12-09 21:35:49,119 INFO  [cloud.resource.ServerResourceBase]
> (main:null) Designating private to be nic eth1
> 2012-12-09 21:35:49,183 INFO
> [resource.virtualnetwork.VirtualRoutingResource] (main:null)
> VirtualRoutingResource _scriptDir to use: scripts/network/domr/kvm
> 2012-12-09 21:35:49,869 ERROR [cloud.agent.AgentShell] (main:null) Unable
> to start agent: Failed to get private nic name ~ setup.log
> DEBUG:root:execute:hostname -f DEBUG:root:execute:service cgconfig
> status DEBUG:root:execute:service cgconfig stop
> DEBUG:root:execute:chkconfig --level 2345 cgconfig on
> DEBUG:root:execute:service cgconfig status DEBUG:root:Failed to
> execute:Stopped DEBUG:root:execute:service cgconfig start
> DEBUG:root:execute:service cgred status DEBUG:root:execute:service cgred
> stop DEBUG:root:execute:chkconfig --level 2345 cgred on
> DEBUG:root:execute:service cgred status DEBUG:root:Failed to
> execute:cgred 已停
> DEBUG:root:execute:service cgred start
> DEBUG:root:execute:selinuxenabled
> DEBUG:root:execute:setenforce 0
> DEBUG:root:execute:service libvirtd status DEBUG:root:execute:service
> libvirtd status DEBUG:root:execute:service libvirtd start
> DEBUG:root:execute:iptables-save|grep INPUT|grep -w 22
> DEBUG:root:execute:iptables-save|grep INPUT|grep -w 16509
> DEBUG:root:execute:iptables-save|grep INPUT|grep -w 5900:6100
> DEBUG:root:execute:iptables-save|grep INPUT|grep -w 49152:49216
> DEBUG:root:execute:iptables -D FORWARD -j REJECT --reject-with icmp-
> host-prohibited DEBUG:root:Failed to execute:iptables: No
> chain/target/match by that name.
> DEBUG:root:execute:iptables-save > /etc/sysconfig/iptables
> DEBUG:root:execute:service iptables status DEBUG:root:execute:service
> iptables status DEBUG:root:execute:service iptables start
> DEBUG:root:execute:chkconfig --level 2345 rpcbind on
> DEBUG:root:execute:service rpcbind status DEBUG:root:execute:service
> rpcbind start DEBUG:root:execute:service rpcbind status
> DEBUG:root:execute:service rpcbind status DEBUG:root:execute:service
> rpcbind start DEBUG:root:execute:chkconfig --level 2345 nfs on
> DEBUG:root:execute:service nfs status DEBUG:root:execute:service nfs start
> DEBUG:root:execute:service nfs status DEBUG:root:execute:service nfs
> status DEBUG:root:execute:service nfs start DEBUG:root:execute:service
> cloud-agent status DEBUG:root:Failed to execute:cloud-agent 已死,但是
> subsys 被锁
> DEBUG:root:execute:sleep 30
> DEBUG:root:execute:chkconfig --level 2345 cloud-agent on
> DEBUG:root:execute:service cloud-agent status DEBUG:root:Failed to
> execute:cloud-agent 已死,但是 subsys 被锁
> DEBUG:root:execute:service cloud-agent start
Mime
View raw message