incubator-cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Liu <andy...@gmail.com>
Subject Re: 添加实例问题
Date Thu, 27 Dec 2012 02:49:51 GMT
折腾好久了,找了一下所有错误的日志
之前没有到达主机的路由是因为虚拟路由器没有启动,等启动之后,可以连接,但是从主机到虚拟路由器的ssh认证失败了
但是我的两个系统VM是没有问题的,就是虚拟路由器不可以,认证是什么样的机制呢?


[root@cloudstack ~]# grep -i -E
'exception|unable|fail|invalid|leak|invalid|warn'
/var/log/cloud/management/management-server.log |more
2012-12-27 10:02:54,641 WARN  [network.element.VpcVirtualRouterElement]
(Job-Executor-19:job-41) Network Ntwk[204|Guest|7] is not as
sociated with any VPC
2012-12-27 10:02:54,671 WARN  [network.element.VpcVirtualRouterElement]
(Job-Executor-19:job-41) Network Ntwk[202|Control|3] is not
associated with any VPC
2012-12-27 10:03:18,419 WARN  [vmware.resource.VmwareResource]
(DirectAgent-50:192.168.100.130) Unrecognized broadcast type in Vmwar
eResource, type: LinkLocal. Use vlan info from labeling: untagged
2012-12-27 10:03:33,352 INFO  [vmware.resource.VmwareResource]
(DirectAgent-50:192.168.100.130) Could not connect to 192.168.100.23
due to java.net.NoRouteToHostException: No route to host
2012-12-27 10:03:36,344 INFO  [vmware.resource.VmwareResource]
(DirectAgent-50:192.168.100.130) Could not connect to 192.168.100.23
due to java.net.NoRouteToHostException: No route to host
2012-12-27 10:03:40,345 INFO  [vmware.resource.VmwareResource]
(DirectAgent-50:192.168.100.130) Could not connect to 192.168.100.23
due to java.net.NoRouteToHostException: No route to host
2012-12-27 10:03:42,358 INFO  [vmware.resource.VmwareResource]
(DirectAgent-50:192.168.100.130) Could not connect to 192.168.100.23
due to java.net.ConnectException: Connection refused
2012-12-27 10:03:48,363 INFO  [vmware.resource.VmwareResource]
(DirectAgent-50:192.168.100.130) Could not connect to 192.168.100.23
due to java.net.ConnectException: Connection refused
2012-12-27 10:03:54,367 INFO  [vmware.resource.VmwareResource]
(DirectAgent-50:192.168.100.130) Could not connect to 192.168.100.23
due to java.net.ConnectException: Connection refused
2012-12-27 10:04:00,629 ERROR [utils.ssh.SshHelper]
(DirectAgent-50:192.168.100.130) Failed to authentication SSH user root on
host
192.168.100.23
2012-12-27 10:04:00,629 ERROR [vmware.resource.VmwareResource]
(DirectAgent-50:192.168.100.130) Unable to execute NetworkUsage comma
nd on DomR (192.168.100.23), domR may not be ready yet. failure due to
Exception: java.lang.Exception
Message: Failed to authentication SSH user root on host 192.168.100.23
java.lang.Exception: Failed to authentication SSH user root on host
192.168.100.23
2012-12-27 10:04:00,838 ERROR [utils.ssh.SshHelper]
(DirectAgent-50:192.168.100.130) Failed to authentication SSH user root on
host
192.168.100.23
2012-12-27 10:04:00,842 ERROR [vmware.resource.VmwareResource]
(DirectAgent-50:192.168.100.130) GetDomRVersionCmd failed due to Exce
ption: java.lang.Exception
Message: Failed to authentication SSH user root on host 192.168.100.23
java.lang.Exception: Failed to authentication SSH user root on host
192.168.100.23
2012-12-27 10:04:00,844 DEBUG [agent.transport.Request]
(DirectAgent-50:null) Seq 7-1048774521: Processing:  { Ans: , MgmtId: 345052
438439, via: 7, Ver: v1, Flags: 110,
[{"StartAnswer":{"vm":{"id":13,"name":"r-13-VM","bootloader":"HVM","type":"DomainRouter","cpus"
:1,"speed":500,"minRam":134217728,"maxRam":134217728,"arch":"i686","os":"Debian
GNU/Linux 5.0 (32-bit)","bootArgs":" template=domP n
ame=r-13-VM eth0ip=192.168.100.23 eth0mask=255.255.255.0
gateway=192.168.100.1 domain=cs1cloud.internal dhcprange=192.168.100.1 eth1
ip=0.0.0.0 eth1mask=0.0.0.0 mgmtcidr=192.168.100.0/24 localgw=192.168.100.1
sshonguest=true type=dhcpsrvr disable_rp_filter=true ext
ra_pubnics=5 dns1=8.8.8.8
nic_macs=06:08:76:00:00:16|02:00:69:a9:00:16","rebootOnCrash":false,"enableHA":true,"limitCpuUse":false,"v
ncPassword":"d9d9f80b8c3ad779","params":{"nicAdapter":"E1000"},"uuid":"5d0d7e3c-303c-492f-a64a-791698c0a64b","disks":[{"id":19,"name
":"ROOT-13","mountPoint":"/primary","path":"ROOT-13","size":2097152000,"type":"ROOT","storagePoolType":"NetworkFilesystem","storageP
oolUuid":"6fa3bd87-fc85-35ad-bba4-129b39d242a3","deviceId":0}],"nics":[{"deviceId":0,"networkRateMbps":200,"defaultNic":true,"uuid":
"a6965efb-85ec-4769-98b3-b2c935640b33","ip":"192.168.100.23","netmask":"255.255.255.0","gateway":"192.168.100.1","mac":"06:08:76:00:
00:16","dns1":"8.8.8.8","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://untagged","isolationUri":"ec2://untagged","isSe
curityGroupEnabled":false},{"deviceId":1,"networkRateMbps":-1,"defaultNic":false,"uuid":"95fdc17d-eb3c-4ab6-8800-6a3a9adf438e","ip":
"0.0.0.0","netmask":"0.0.0.0","gateway":"0.0.0.0","mac":"02:00:69:a9:00:16","broadcastType":"LinkLocal","type":"Control","isSecurity
GroupEnabled":false}]},"result":true,"wait":0}},{"check.CheckSshAnswer":{"result":true,"wait":0}},{"GetDomRVersionAnswer":{"result":
false,"details":"GetDomRVersionCmd failed due to Exception:
java.lang.Exception\nMessage: Failed to authentication SSH user root on
host 192.168.100.23\n","wait":0}}] }
2012-12-27 10:04:00,850 WARN
 [network.router.VirtualNetworkApplianceManagerImpl]
(Job-Executor-19:job-41) Unable to get the templat
e/scripts version of router r-13-VM due to: GetDomRVersionCmd failed due to
Exception: java.lang.Exception
Message: Failed to authentication SSH user root on host 192.168.100.23
2012-12-27 10:04:08,092 ERROR [cloud.vm.VirtualMachineManagerImpl]
(Job-Executor-19:job-41) Failed to start instance VM[DomainRouter
|r-13-VM]
com.cloud.utils.exception.ExecutionException: Unable to start
VM[DomainRouter|r-13-VM] due to error in finalizeStart, not retrying
2012-12-27 10:04:08,983 DEBUG [cloud.capacity.CapacityManagerImpl]
(Job-Executor-19:job-41) VM state transitted from :Starting to St
opped with event: OperationFailedvm's original host id: null new host id:
null host id before state transition: 7
2012-12-27 10:04:08,993 DEBUG [cloud.async.AsyncJobManagerImpl]
(Job-Executor-19:job-41) Complete async job-41, jobStatus: 2, result
Code: 530, result: Error Code: 534 Error text: Resource [Host:7] is
unreachable: Host 7: Unable to start instance due to Unable to s
tart VM[DomainRouter|r-13-VM] due to error in finalizeStart, not retrying



2012/12/26 李兵 <matrixlibing@gmail.com>

> 之前在KVM做网卡绑定测试的时候遇到过这个错误,应该是你的主机的网络配和cs
zone配置的问题!
>
>
> 在 2012年12月26日下午2:09,Andy Liu <andylhz@gmail.com>写道:
>
> > 重来了,还是一样的结果,
> > 是不是我的esxi 主机的网络有需要配置什么东西呢?
> >
> > 2012-12-26 12:09:17,180 INFO  [vmware.resource.VmwareResource]
> > (DirectAgent-27:192.168.100.60) Could not connect to 192.168.100.16 d
> > ue to java.net.NoRouteToHostException: No route to host
> >
> > 没有路由到达主机
> >
> >
> >
> > 2012/12/25 马营 <breeze7086@gmail.com>
> >
> > > ssh key出错,无法登陆VR进行配置
> > > 如果是新环境,直接推倒吧
> > >
> > > 在 2012年12月25日下午2:28,Andy Liu <andylhz@gmail.com>写道:
> > >
> > > > 我重新添加了一下主机
> > > > 现在在添加实例的时候出现,虚拟路由器已经启动,但是后台是日报错:
> > > > 主机100.130 和100.60 是启用了HA的vmware ESXI .0
> > > >
> > > > 添加实例的时候虚拟路由器创建好了无法启动
> > > > 一直是报告拒绝连接和ssh认证失败
> > > >
> > > > 日之见附件,请帮忙,谢谢
> > > >
> > > >
> > > >
> > > >
> > > > 2012/12/25 linuxbqj@gmail.com <linuxbqj@gmail.com>
> > > >
> > > > 邮件列表里面不能发布图片,你可以把图片发布到一个网站上,给出链接地址
> > > >>
> > > >>
> > > >>
> > > >> 在 2012年12月24日下午7:10,Andy Liu <andylhz@gmail.com>写道:
> > > >>
> > > >> >
> > > >> > 我在添加实例的时候报告错误如图:
> > > >> > [image: Inline image 3]
> > > >> > CS4.0
> > > >> > vmware 5.0 HA  启用了本地存储
> > > >> >
> > > >> >
> > > >> >
> > > >> >
> > > >>
> > > >>
> > > >> --
> > > >> 白清杰 (Born Bai)
> > > >>
> > > >> Beijing Open Vision Information Technology Co.,Ltd
> > > >>
> > > >> Mail: linuxbqj@gmail.com
> > > >>
> > > >
> > > >
> > > >
> > > > --
> > > > 我知道这个世界是任我闯荡的,所以我什么都不怕!
> > > >
> > >
> >
> >
> >
> > --
> > 我知道这个世界是任我闯荡的,所以我什么都不怕!
> >
>



-- 
我知道这个世界是任我闯荡的,所以我什么都不怕!

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message