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实例失败
Date Wed, 26 Mar 2014 08:21:02 GMT
Unable to get answer that is of class com.cloud.agent.api.StartAnswer
从这句话来看,是跟host主机的连接失败了,无法创建。先看一下主机的连接状态

刘宇超



发件人: 曾冠华 
发送时间: 2014-03-25  21:56:03 
收件人: users-cn 
抄送: 
主题: 创建vm实例失败 
 
发现虚拟路由器也是stopped状态
启动虚拟路由器失败
提示:
Unable to get answer that is of class com.cloud.agent.api.StartAnswer
log:
2014-03-25 21:51:34,704 DEBUG [agent.manager.AgentAttache]
(AgentManager-Handler-6:null) Seq 1-271384696: No more commands found
2014-03-25 21:51:34,704 DEBUG [agent.transport.Request]
(Job-Executor-7:job-18) Seq 1-271384696: Received:  { Ans: , MgmtId:
159090356754390, via: 1, Ver: v1, Flags: 110, { Answer, Answer, Answer,
Answer, Answer } }
2014-03-25 21:51:34,729 ERROR [cloud.vm.VirtualMachineManagerImpl]
(Job-Executor-7:job-18) Failed to start instance VM[DomainRouter|r-4-VM]
com.cloud.utils.exception.CloudRuntimeException: Unable to get answer that
is of class com.cloud.agent.api.StartAnswer
    at com.cloud.agent.manager.Commands.getAnswer(Commands.java:80)
    at
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:783)
    at
com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:472)
    at
com.cloud.network.router.VirtualNetworkApplianceManagerImpl.start(VirtualNetworkApplianceManagerImpl.java:2368)
    at
com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startVirtualRouter(VirtualNetworkApplianceManagerImpl.java:1613)
    at
com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouters(VirtualNetworkApplianceManagerImpl.java:1713)
    at
com.cloud.network.router.VirtualNetworkApplianceManagerImpl.deployVirtualRouterInGuestNetwork(VirtualNetworkApplianceManagerImpl.java:1691)
    at
com.cloud.network.element.VirtualRouterElement.implement(VirtualRouterElement.java:172)
    at
com.cloud.network.NetworkManagerImpl.implementNetworkElementsAndResources(NetworkManagerImpl.java:2033)
    at
com.cloud.network.NetworkManagerImpl.implementNetwork(NetworkManagerImpl.java:1965)
    at
com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34)
    at
com.cloud.network.NetworkManagerImpl.startNetwork(NetworkManagerImpl.java:3851)
    at
com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouter(VirtualNetworkApplianceManagerImpl.java:2602)
    at
com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouter(VirtualNetworkApplianceManagerImpl.java:2571)
    at
com.cloud.event.ActionEventCallback.intercept(ActionEventCallback.java:36)
    at
com.cloud.api.commands.StartRouterCmd.execute(StartRouterCmd.java:105)
    at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)
    at
com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:432)
    at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:722)
2014-03-25 21:51:34,757 DEBUG [cloud.vm.VirtualMachineManagerImpl]
(Job-Executor-7:job-18) Cleaning up resources for the vm
VM[DomainRouter|r-4-VM] in Starting state
2014-03-25 21:51:34,759 DEBUG [agent.transport.Request]
(Job-Executor-7:job-18) Seq 1-271384697: Sending  { Cmd , MgmtId:
159090356754390, via: 1, Ver: v1, Flags: 100111,
[{"StopCommand":{"isProxy":false,"vmName":"r-4-VM","wait":0}}] }
2014-03-25 21:51:34,985 DEBUG [agent.transport.Request]
(AgentManager-Handler-1:null) Seq 1-271384697: Processing:  { Ans: ,
MgmtId: 159090356754390, via: 1, Ver: v1, Flags: 110,
[{"StopAnswer":{"vncPort":0,"result":true,"wait":0}}] }
2014-03-25 21:51:34,985 DEBUG [agent.manager.AgentAttache]
(AgentManager-Handler-1:null) Seq 1-271384697: No more commands found
2014-03-25 21:51:34,985 DEBUG [agent.transport.Request]
(Job-Executor-7:job-18) Seq 1-271384697: Received:  { Ans: , MgmtId:
159090356754390, via: 1, Ver: v1, Flags: 110, { StopAnswer } }
2014-03-25 21:51:34,992 DEBUG
[network.router.VirtualNetworkApplianceManagerImpl] (Job-Executor-7:job-18)
Successfully updated user statistics as a part of domR
VM[DomainRouter|r-4-VM] reboot/stop
2014-03-25 21:51:35,033 DEBUG [cloud.network.NetworkManagerImpl]
(Job-Executor-7:job-18) Service SecurityGroup is not supported in the
network id=204
2014-03-25 21:51:35,072 DEBUG [cloud.network.NetworkManagerImpl]
(Job-Executor-7:job-18) Asking JuniperSRX to release
Nic[9-4-ca4a2115-8b71-4a90-8a4f-3ec0007985c6-192.168.88.254]
2014-03-25 21:51:35,072 DEBUG [cloud.network.NetworkManagerImpl] (Job-
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message