cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tanthalas <tanthalas...@hotmail.com>
Subject Re: 回复: 求助,创建VM失败,错误Resource [Host:5] is unreachable
Date Wed, 03 Apr 2013 03:20:05 GMT

官方安装文档中有特别提到网桥的配置。
你写cloudbr1,2也可以,但是应该将网络流量的标签写你配置的对应名字。


2013-04-03   
刘宇超  Richard Liu




发件人: BERIDE 
发送时间: 2013-04-03  09:54:01 
收件人: users-cn 
抄送: 
主题: 回复: 求助,创建VM失败,错误Resource [Host:5] is unreachable 
 
查看agent 日志,确实发现了有网络问题日志如下:
vi /var/log/cloud/agent/agent.log
2013-04-02 20:54:05,802 WARN  [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null)
Failed to start domain: i-2-22-VM: Cannot get interface MTU on 'cloudbr0': No such device
2013-04-02 20:54:05,803 WARN  [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null)
Exception
org.libvirt.LibvirtException: Cannot get interface MTU on 'cloudbr0': No such device
        at org.libvirt.ErrorHandler.processError(Unknown Source)
        at org.libvirt.Connect.processError(Unknown Source)
        at org.libvirt.Domain.processError(Unknown Source)
        at org.libvirt.Domain.create(Unknown Source)
        at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.startDomain(LibvirtComputingResource.java:936)
        at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2834)
        at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1061)
可是我的机器上没有配置过cloudbr0
root@host2:~# brctl show
bridge name     bridge id               STP enabled     interfaces
cloud0          8000.000000000000       no
cloudbr1                8000.902b34a86a5b       no              eth0
cloudbr2                8000.000000000000       no
virbr0          8000.000000000000       yes
迷惑了,在另一个邮件列表上也遇到了有人提这个问题没找到答案。
http://mail-archives.apache.org/mod_mbox/incubator-cloudstack-dev/201302.mbox/%3CJIRA.12632318.1360810720160.295250.1360965793193@arcas%3E
求助。
------------------ 原始邮件 ------------------
发件人: "BERIDE"<beride@qq.com>;
发送时间: 2013年4月3日(星期三) 上午9:34
收件人: "users-cn"<users-cn@cloudstack.apache.org>; 
主题: 回复: 求助,创建VM失败,错误Resource [Host:5] is unreachable
谢谢回复,我测试了网络情况,
三个host都是畅通的,面板上host也是up状态,所以我以为网络和agent都是运行的,我还每个虚拟机都查看了一下都在运行。可以证明网络和agent畅通么?
网络情况:
root@management:/var/log/cloud/management# vi management-server.log
root@management:/var/log/cloud/management# ping 10.0.0.95
PING 10.0.0.95 (10.0.0.95) 56(84) bytes of data.
64 bytes from 10.0.0.95: icmp_req=1 ttl=64 time=0.146 ms
^C
--- 10.0.0.95 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.146/0.146/0.146/0.000 ms
root@management:/var/log/cloud/management# ping 10.0.0.97
PING 10.0.0.97 (10.0.0.97) 56(84) bytes of data.
64 bytes from 10.0.0.97: icmp_req=1 ttl=64 time=0.243 ms
64 bytes from 10.0.0.97: icmp_req=2 ttl=64 time=0.219 ms
^C
--- 10.0.0.97 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 0.219/0.231/0.243/0.012 ms
root@management:/var/log/cloud/management# ping 10.0.0.98
PING 10.0.0.98 (10.0.0.98) 56(84) bytes of data.
64 bytes from 10.0.0.98: icmp_req=1 ttl=64 time=0.151 ms
\64 bytes from 10.0.0.98: icmp_req=2 ttl=64 time=0.141 ms
64 bytes from 10.0.0.98: icmp_req=3 ttl=64 time=0.153 ms
^Z
[1]+  Stopped                 ping 10.0.0.98
root@management:/var/log/cloud/management#
host面板 
ubuntunbcloudNBPoD1NBCloudCluster1Up
host2nbcloudNBPoD1NBCloudCluster1Up
host4.nbcloud.comnbcloudNBPoD1NBCloudCluster1Up
我是不是应该查看每个agent上的log?
------------------ 原始邮件 ------------------
发件人: "tanthalas"<tanthalas510@hotmail.com>;
发送时间: 2013年4月3日(星期三) 上午9:19
收件人: "users-cn"<users-cn@cloudstack.apache.org>; 
主题: Re: 求助,创建VM失败,错误Resource [Host:5] is unreachable
"unreachable"  "Unable to get answer" 
这种是状态检测出来的问题,与CS本身无关,一般是管理节点到host的通讯出现问题。
检查网络通断,
是kvm吗,检查一下agent运行是不是好的。
2013-04-03 
刘宇超  Richard Liu
发件人: BERIDE 
发送时间: 2013-04-03  08:57:01 
收件人: users-cn 
抄送: 
主题: 求助,创建VM失败,错误Resource [Host:5] is unreachable 

服务上已经运行了十几个VM,各个host和存储也都是在线状态,但是申请新的VM失败。查资料没有找到合适的原因。
 一般重启后会恢复。
  
  
 Resource [Host:5] is unreachable: Host 5: Unable to start instance due to Unable to get answer
that is of class com.cloud.agent.api.StartAnswer
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message