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 俄看过 <12...@qq.com> on 2013/06/19 12:56:23 UTC

2个系统虚拟机一直处于starting状态

系统安装在vSphere上
cloudstack4.0,安装在centos6.3 + KVM
问题如题,2个系统虚拟机一直处于starting状态,不能启动

agent端日志:

2013-06-19 18:32:13,391 WARN  [kvm.resource.KVMHAMonitor] (Thread-27:null) write heartbeat failed: timeout, retry: 4
2013-06-19 18:32:13,391 WARN  [kvm.resource.KVMHAMonitor] (Thread-27:null) write heartbeat failed: timeout; reboot the host
2013-06-19 18:33:13,402 WARN  [kvm.resource.KVMHAMonitor] (Script-6:null) Interrupting script.
2013-06-19  18:33:13,403 WARN  [kvm.resource.KVMHAMonitor] (Thread-27:null) Timed  out: /usr/lib64/cloud/common/scripts/vm/hypervisor/kvm/kvmheartbeat.sh  -i 10.0.50.90 -p /export/secondary -m  /mnt/fdba3f43-62e6-37aa-afd8-bd4e89c48d08 -c .  Output is: 
2013-06-19  18:34:35,446 WARN  [kvm.resource.LibvirtComputingResource]  (agentRequest-Handler-5:null) Timed out waiting for domain s-4-VM to  shutdown gracefully
2013-06-19 18:35:13,409 WARN  [kvm.resource.KVMHAMonitor] (Script-3:null) Interrupting script.
2013-06-19  18:35:13,409 WARN  [kvm.resource.KVMHAMonitor] (Thread-28:null) Timed  out: /usr/lib64/cloud/common/scripts/vm/hypervisor/kvm/kvmheartbeat.sh  -i 10.0.50.90 -p /export/secondary -m  /mnt/fdba3f43-62e6-37aa-afd8-bd4e89c48d08 -h 10.10.50.91 .  Output is: 
2013-06-19 18:35:13,410 WARN  [kvm.resource.KVMHAMonitor] (Thread-28:null) write heartbeat failed: timeout, retry: 0
2013-06-19 18:36:13,417 WARN  [kvm.resource.KVMHAMonitor] (Script-7:null) Interrupting script.
2013-06-19  18:36:13,422 WARN  [kvm.resource.KVMHAMonitor] (Thread-28:null) Timed  out: /usr/lib64/cloud/common/scripts/vm/hypervisor/kvm/kvmheartbeat.sh  -i 10.0.50.90 -p /export/secondary -m  /mnt/fdba3f43-62e6-37aa-afd8-bd4e89c48d08 -h 10.10.50.91 .  Output is: 
2013-06-19 18:36:13,422 WARN  [kvm.resource.KVMHAMonitor] (Thread-28:null) write heartbeat failed: timeout, retry: 1

 
management日志:

2013-05-01  17:17:22,005 WARN  [network.element.VpcVirtualRouterElement]  (consoleproxy-1:null) Network Ntwk[201|Management|2] is not associated  with any VPC
2013-05-01  17:17:22,005 DEBUG [cloud.network.NetworkManagerImpl]  (consoleproxy-1:null) Asking NiciraNvp to prepare for  Nic[7-2-5a8fe5a8-4385-4da3-a850-ad9a0afc19e5-10.10.50.109]
2013-05-01  17:17:22,006 DEBUG [cloud.storage.StorageManagerImpl]  (consoleproxy-1:null) Checking if we need to prepare 1 volumes for  VM[ConsoleProxy|v-2-VM]
2013-05-01  17:17:22,007 DEBUG [cloud.storage.StorageManagerImpl]  (consoleproxy-1:null) No need to recreate the volume: Vol[2|vm=2|ROOT],  since it already has a pool assigned: 200, adding disk to VM
2013-05-01  17:17:22,010 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl]  (consoleproxy-1:null) Boot Args for VM[ConsoleProxy|v-2-VM]:   template=domP type=consoleproxy host=125.46.31.235 port=8250 name=v-2-VM  premium=true zone=1 pod=1 guid=Proxy.2 proxy_vm=2  disable_rp_filter=true eth2ip=10.10.50.121 eth2mask=255.255.255.0  gateway=10.10.50.90 eth0ip=169.254.2.212 eth0mask=255.255.0.0  eth1ip=10.10.50.109 eth1mask=255.255.255.0 mgmtcidr=10.10.50.0/24  localgw=10.10.50.90 internaldns1=8.8.8.8 dns1=8.8.8.8
2013-05-01  17:17:22,025 DEBUG [agent.transport.Request] (consoleproxy-1:null) Seq  1-609026382: Waiting for Seq 609026381 Scheduling:  { Cmd , MgmtId:  52239894118, via: 1, Ver: v1, Flags: 100111,  [{"StartCommand":{"vm":{"id":2,"name":"v-2-VM","type":"ConsoleProxy","cpus":1,"speed":500,"minRam":1073741824,"maxRam":1073741824,"arch":"x86_64","os":"Debian  GNU/Linux 5.0 (32-bit)","bootArgs":" template=domP type=consoleproxy  host=125.46.31.235 port=8250 name=v-2-VM premium=true zone=1 pod=1  guid=Proxy.2 proxy_vm=2 disable_rp_filter=true eth2ip=10.10.50.121  eth2mask=255.255.255.0 gateway=10.10.50.90 eth0ip=169.254.2.212  eth0mask=255.255.0.0 eth1ip=10.10.50.109 eth1mask=255.255.255.0  mgmtcidr=10.10.50.0/24 localgw=10.10.50.90 internaldns1=8.8.8.8  dns1=8.8.8.8","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"vncPassword":"2d252f7cfd260736","params":{},"uuid":"a2d20fb2-7c6a-4011-b7da-ba12d585d59c","disks":[{"id":2,"name":"ROOT-2","mountPoint":"/export/secondary","path":"0944e5a4-dd67-410d-94a6-d498374349b9","size":0,"type":"ROOT","storagePoolType":"NetworkFilesystem","storagePoolUuid":"fdba3f43-62e6-37aa-afd8-bd4e89c48d08","deviceId":0}],"nics":[{"deviceId":2,"networkRateMbps":200,"defaultNic":true,"uuid":"0cf06e29-024e-451c-89eb-0ea00a3c8330","ip":"10.10.50.121","netmask":"255.255.255.0","gateway":"10.10.50.90","mac":"06:ba:64:00:00:0d","dns1":"8.8.8.8","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://untagged","isolationUri":"ec2://untagged","isSecurityGroupEnabled":false},{"deviceId":0,"networkRateMbps":-1,"defaultNic":false,"uuid":"eff5c3a5-63bc-4c5d-8d6c-4b52d854e168","ip":"169.254.2.212","netmask":"255.255.0.0","gateway":"169.254.0.1","mac":"0e:00:a9:fe:02:d4","broadcastType":"LinkLocal","type":"Control","isSecurityGroupEnabled":false},{"deviceId":1,"networkRateMbps":-1,"defaultNic":false,"uuid":"ff58a6fd-7efe-428a-9116-681a3a93a441","ip":"10.10.50.109","netmask":"255.255.255.0","gateway":"10.10.50.90","mac":"06:23:2a:00:00:0a","broadcastType":"Native","type":"Management","isSecurityGroupEnabled":false}]},"wait":0}},{"check.CheckSshCommand":{"ip":"169.254.2.212","port":3922,"interval":6,"retries":100,"name":"v-2-VM","wait":0}}]  }