cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 曾冠华 <ahuab...@gmail.com>
Subject Re: 创建vm实例失败
Date Wed, 26 Mar 2014 06:57:28 GMT
hypervisor 类型 kvm

一个management ,一个 host(kvm)

现在查看agent 日志提示

2014-03-26 10:29:04,244 INFO  [cloud.agent.Agent] (Agent-Handler-2:null)
Set agent id 1
2014-03-26 10:29:04,253 INFO  [cloud.agent.Agent] (Agent-Handler-2:null)
Startup Response Received: agent id = 1
2014-03-26 10:31:42,742 WARN  [kvm.resource.LibvirtComputingResource]
(agentRequest-Handler-5:null) Exception
com.cloud.exception.InternalErrorException: Failed to create vnet 105: Set
name-type for VLAN subsystem. Should be visible in
/proc/net/vlan/configERROR: trying to add VLAN #0 to IF -:105:-  error: No
such deviceFailed to create vlan 105 on pif: .
at
com.cloud.hypervisor.kvm.resource.BridgeVifDriver.createVnet(BridgeVifDriver.java:144)
at
com.cloud.hypervisor.kvm.resource.BridgeVifDriver.createVlanBr(BridgeVifDriver.java:131)
at
com.cloud.hypervisor.kvm.resource.BridgeVifDriver.plug(BridgeVifDriver.java:92)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.createVif(LibvirtComputingResource.java:3093)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.createVifs(LibvirtComputingResource.java:2864)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2888)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1061)
at com.cloud.agent.Agent.processRequest(Agent.java:518)
at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:831)
at com.cloud.utils.nio.Task.run(Task.java:83)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
2014-03-26 10:31:42,748 WARN  [cloud.agent.Agent]
(agentRequest-Handler-5:null) Caught:
java.lang.NullPointerException
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.cleanupVMNetworks(LibvirtComputingResource.java:4000)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.handleVmStartFailure(LibvirtComputingResource.java:2787)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2912)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1061)
at com.cloud.agent.Agent.processRequest(Agent.java:518)
at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:831)
at com.cloud.utils.nio.Task.run(Task.java:83)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)

分配vlan失败。。


2014-03-26 13:14 GMT+08:00 linuxbqj@gmail.com <linuxbqj@gmail.com>:

> 麻烦介绍下你的系统的基本情况,使用的hypervier的类型
>
> 2014-03-25 21:55 GMT+08:00 曾冠华 <ahuabupt@gmail.com>:
> > 发现虚拟路由器也是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-
>
>
>
> --
> 白清杰 (Born Bai)
>
> 北京开源愿景信息技术有限公司
>
> Mail: linuxbqj@gmail.com
>

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