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 toudsf <18...@163.com> on 2013/11/15 10:14:13 UTC
各位高手,出现以下情况是啥原因了。谢谢了
INFO [vmware.resource.VmwareResource] (DirectAgent-33:192.168.0.202) Could not connect to 192.168.0.111 due to java.net.ConnectException: Connection refused
INFO [cloud.api.ApiDispatcher] (339734114@qtp-663010459-17:) dc@dispatch->execute ...
INFO [cloud.api.ApiDispatcher] (339734114@qtp-663010459-17:) dc@dispatch->execute ...
INFO [vmware.resource.VmwareResource] (DirectAgent-33:192.168.0.202) Trying to connect to 192.168.0.111
ERROR [utils.ssh.SshHelper] (DirectAgent-33:192.168.0.202) Failed to authentication SSH user root on host 192.168.0.111
ERROR [vmware.resource.VmwareResource] (DirectAgent-33:192.168.0.202) Unable to execute NetworkUsage command on DomR (192.168.0.111), domR may not be ready yet. failure due to Exception: java.lang.Exception
Message: Failed to authentication SSH user root on host 192.168.0.111
java.lang.Exception: Failed to authentication SSH user root on host 192.168.0.111
at com.cloud.utils.ssh.SshHelper.sshExecute(SshHelper.java:144)
at com.cloud.utils.ssh.SshHelper.sshExecute(SshHelper.java:37)
at com.cloud.hypervisor.vmware.resource.VmwareResource.networkUsage(VmwareResource.java:4648)
at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:1994)
at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:426)
at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:190)
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.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
ERROR [utils.ssh.SshHelper] (DirectAgent-33:192.168.0.202) Failed to authentication SSH user root on host 192.168.0.111
ERROR [vmware.resource.VmwareResource] (DirectAgent-33:192.168.0.202) GetDomRVersionCmd failed due to Exception: java.lang.Exception
Message: Failed to authentication SSH user root on host 192.168.0.111
java.lang.Exception: Failed to authentication SSH user root on host 192.168.0.111
at com.cloud.utils.ssh.SshHelper.sshExecute(SshHelper.java:144)
at com.cloud.utils.ssh.SshHelper.sshExecute(SshHelper.java:37)
at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:1836)
at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:434)
at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:190)
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.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
WARN [network.router.VirtualNetworkApplianceManagerImpl] (Job-Executor-6:job-22) Unable to get the template/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.0.111
INFO [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-6:job-22) The guru did not like the answers so stopping VM[DomainRouter|r-13-VM]
INFO [vmware.resource.VmwareResource] (DirectAgent-69:192.168.0.202) Executing resource StopCommand: {"isProxy":false,"vmName":"r-13-VM","wait":0}
INFO [cloud.api.ApiDispatcher] (339734114@qtp-663010459-17:) dc@dispatch->execute ...
INFO [vmware.resource.VmwareResource] (DirectAgent-69:192.168.0.202) Remove all snapshot before stopping VM r-13-VM
INFO [cloud.api.ApiDispatcher] (339734114@qtp-663010459-17:) dc@dispatch->execute ...
INFO [cloud.api.ApiDispatcher] (339734114@qtp-663010459-17:) dc@dispatch->execute ...
ERROR [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-6:job-22) 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
at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:817)
at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:472)
at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.start(VirtualNetworkApplianceManagerImpl.java:2615)
at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startVirtualRouter(VirtualNetworkApplianceManagerImpl.java:1824)
at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouters(VirtualNetworkApplianceManagerImpl.java:1924)
at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.deployVirtualRouterInGuestNetwork(VirtualNetworkApplianceManagerImpl.java:1902)
at com.cloud.network.element.VirtualRouterElement.implement(VirtualRouterElement.java:175)
at com.cloud.network.NetworkManagerImpl.implementNetworkElementsAndResources(NetworkManagerImpl.java:1518)
at com.cloud.network.NetworkManagerImpl.implementNetwork(NetworkManagerImpl.java:1434)
at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at com.cloud.network.NetworkManagerImpl.startNetwork(NetworkManagerImpl.java:2435)
at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouter(VirtualNetworkApplianceManagerImpl.java:2854)
at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouter(VirtualNetworkApplianceManagerImpl.java:2823)
at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at org.apache.cloudstack.api.command.admin.router.StartRouterCmd.execute(StartRouterCmd.java:103)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:164)
at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:443)
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:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
INFO [vmware.resource.VmwareResource] (DirectAgent-92:192.168.0.202) Executing resource StopCommand: {"isProxy":false,"vmName":"r-13-VM","wait":0}
INFO [vmware.resource.VmwareResource] (DirectAgent-92:192.168.0.202) VM r-13-VM is already in stopped state
WARN [cloud.network.NetworkModelImpl] (Job-Executor-6:job-22) Can't get the physical network
ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-6:job-22) Unexpected exception while executing org.apache.cloudstack.api.command.admin.router.StartRouterCmd
com.cloud.exception.AgentUnavailableException: Resource [Host:1] is unreachable: Host 1: Unable to start instance due to Unable to start VM[DomainRouter|r-13-VM] due to error in finalizeStart, not retrying
at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:850)
at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:472)
at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.start(VirtualNetworkApplianceManagerImpl.java:2615)
at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startVirtualRouter(VirtualNetworkApplianceManagerImpl.java:1824)
at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouters(VirtualNetworkApplianceManagerImpl.java:1924)
at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.deployVirtualRouterInGuestNetwork(VirtualNetworkApplianceManagerImpl.java:1902)
at com.cloud.network.element.VirtualRouterElement.implement(VirtualRouterElement.java:175)
at com.cloud.network.NetworkManagerImpl.implementNetworkElementsAndResources(NetworkManagerImpl.java:1518)
at com.cloud.network.NetworkManagerImpl.implementNetwork(NetworkManagerImpl.java:1434)
at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at com.cloud.network.NetworkManagerImpl.startNetwork(NetworkManagerImpl.java:2435)
at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouter(VirtualNetworkApplianceManagerImpl.java:2854)
at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouter(VirtualNetworkApplianceManagerImpl.java:2823)
at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at org.apache.cloudstack.api.command.admin.router.StartRouterCmd.execute(StartRouterCmd.java:103)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:164)
at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:443)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
2013-11-15
toudsf
回复: Re: 各位高手,出现以下情况是啥原因了。谢谢了
Posted by toudsf <18...@163.com>.
背景:SSVM启动正常,现在启动虚拟机时,vroute一直好像在连接vroute的管理网ip地址。所以导致vroute启动不起来。
管理网连接vroute的时候,验证的用户名和密码在哪里配置了。我是用mvn -pl :cloud-client-ui jetty:run -Dnonoss启动的。
从rpm部署的正常。
1、selinux关闭了
2、在VMWAREN的目录需要id_rsa.cloud文件吗。我看再xenserver的跟目录有。
2013-11-15
toudsf
发件人:ma y <br...@gmail.com>
发送时间:2013-11-15 17:17
主题:Re: 各位高手,出现以下情况是啥原因了。谢谢了
收件人:"users-cn"<us...@cloudstack.apache.org>
抄送:
权限验证失败
查查selinux有没关,用户名密码对不对
2013/11/15 toudsf <18...@163.com>
> INFO [vmware.resource.VmwareResource] (DirectAgent-33:192.168.0.202)
> Could not connect to 192.168.0.111 due to java.net.ConnectException:
> Connection refused
> INFO [cloud.api.ApiDispatcher] (339734114@qtp-663010459-17:) dc@dispatch->execute
> ...
> INFO [cloud.api.ApiDispatcher] (339734114@qtp-663010459-17:) dc@dispatch->execute
> ...
> INFO [vmware.resource.VmwareResource] (DirectAgent-33:192.168.0.202)
> Trying to connect to 192.168.0.111
> ERROR [utils.ssh.SshHelper] (DirectAgent-33:192.168.0.202) Failed to
> authentication SSH user root on host 192.168.0.111
> ERROR [vmware.resource.VmwareResource] (DirectAgent-33:192.168.0.202)
> Unable to execute NetworkUsage command on DomR (192.168.0.111), domR may
> not be ready yet. failure due to Exception: java.lang.Exception
> Message: Failed to authentication SSH user root on host 192.168.0.111
>
> java.lang.Exception: Failed to authentication SSH user root on host
> 192.168.0.111
> at com.cloud.utils.ssh.SshHelper.sshExecute(SshHelper.java:144)
> at com.cloud.utils.ssh.SshHelper.sshExecute(SshHelper.java:37)
> at
> com.cloud.hypervisor.vmware.resource.VmwareResource.networkUsage(VmwareResource.java:4648)
> at
> com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:1994)
> at
> com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:426)
> at
> com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:190)
> 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.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:701)
> ERROR [utils.ssh.SshHelper] (DirectAgent-33:192.168.0.202) Failed to
> authentication SSH user root on host 192.168.0.111
> ERROR [vmware.resource.VmwareResource] (DirectAgent-33:192.168.0.202)
> GetDomRVersionCmd failed due to Exception: java.lang.Exception
> Message: Failed to authentication SSH user root on host 192.168.0.111
>
> java.lang.Exception: Failed to authentication SSH user root on host
> 192.168.0.111
> at com.cloud.utils.ssh.SshHelper.sshExecute(SshHelper.java:144)
> at com.cloud.utils.ssh.SshHelper.sshExecute(SshHelper.java:37)
> at
> com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:1836)
> at
> com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:434)
> at
> com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:190)
> 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.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:701)
> WARN [network.router.VirtualNetworkApplianceManagerImpl]
> (Job-Executor-6:job-22) Unable to get the template/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.0.111
>
> INFO [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-6:job-22) The
> guru did not like the answers so stopping VM[DomainRouter|r-13-VM]
> INFO [vmware.resource.VmwareResource] (DirectAgent-69:192.168.0.202)
> Executing resource StopCommand:
> {"isProxy":false,"vmName":"r-13-VM","wait":0}
> INFO [cloud.api.ApiDispatcher] (339734114@qtp-663010459-17:) dc@dispatch->execute
> ...
> INFO [vmware.resource.VmwareResource] (DirectAgent-69:192.168.0.202)
> Remove all snapshot before stopping VM r-13-VM
> INFO [cloud.api.ApiDispatcher] (339734114@qtp-663010459-17:) dc@dispatch->execute
> ...
> INFO [cloud.api.ApiDispatcher] (339734114@qtp-663010459-17:) dc@dispatch->execute
> ...
> ERROR [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-6:job-22) 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
> at
> com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:817)
> at
> com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:472)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.start(VirtualNetworkApplianceManagerImpl.java:2615)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startVirtualRouter(VirtualNetworkApplianceManagerImpl.java:1824)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouters(VirtualNetworkApplianceManagerImpl.java:1924)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.deployVirtualRouterInGuestNetwork(VirtualNetworkApplianceManagerImpl.java:1902)
> at
> com.cloud.network.element.VirtualRouterElement.implement(VirtualRouterElement.java:175)
> at
> com.cloud.network.NetworkManagerImpl.implementNetworkElementsAndResources(NetworkManagerImpl.java:1518)
> at
> com.cloud.network.NetworkManagerImpl.implementNetwork(NetworkManagerImpl.java:1434)
> at
> com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> at
> com.cloud.network.NetworkManagerImpl.startNetwork(NetworkManagerImpl.java:2435)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouter(VirtualNetworkApplianceManagerImpl.java:2854)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouter(VirtualNetworkApplianceManagerImpl.java:2823)
> at
> com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> at
> org.apache.cloudstack.api.command.admin.router.StartRouterCmd.execute(StartRouterCmd.java:103)
> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:164)
> at
> com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:443)
> 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:1146)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:701)
> INFO [vmware.resource.VmwareResource] (DirectAgent-92:192.168.0.202)
> Executing resource StopCommand:
> {"isProxy":false,"vmName":"r-13-VM","wait":0}
> INFO [vmware.resource.VmwareResource] (DirectAgent-92:192.168.0.202) VM
> r-13-VM is already in stopped state
> WARN [cloud.network.NetworkModelImpl] (Job-Executor-6:job-22) Can't get
> the physical network
> ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-6:job-22) Unexpected
> exception while executing
> org.apache.cloudstack.api.command.admin.router.StartRouterCmd
> com.cloud.exception.AgentUnavailableException: Resource [Host:1] is
> unreachable: Host 1: Unable to start instance due to Unable to start
> VM[DomainRouter|r-13-VM] due to error in finalizeStart, not retrying
> at
> com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:850)
> at
> com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:472)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.start(VirtualNetworkApplianceManagerImpl.java:2615)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startVirtualRouter(VirtualNetworkApplianceManagerImpl.java:1824)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouters(VirtualNetworkApplianceManagerImpl.java:1924)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.deployVirtualRouterInGuestNetwork(VirtualNetworkApplianceManagerImpl.java:1902)
> at
> com.cloud.network.element.VirtualRouterElement.implement(VirtualRouterElement.java:175)
> at
> com.cloud.network.NetworkManagerImpl.implementNetworkElementsAndResources(NetworkManagerImpl.java:1518)
> at
> com.cloud.network.NetworkManagerImpl.implementNetwork(NetworkManagerImpl.java:1434)
> at
> com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> at
> com.cloud.network.NetworkManagerImpl.startNetwork(NetworkManagerImpl.java:2435)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouter(VirtualNetworkApplianceManagerImpl.java:2854)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouter(VirtualNetworkApplianceManagerImpl.java:2823)
> at
> com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> at
> org.apache.cloudstack.api.command.admin.router.StartRouterCmd.execute(StartRouterCmd.java:103)
> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:164)
> at
> com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:443)
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>
> 2013-11-15
>
>
>
> toudsf
回复: 无法创建实例
Posted by 高手 <84...@qq.com>.
用xencenter创建虚拟机可以的啊。如果是我所用的xenserver虚拟化没开启,这么开启?
------------------ 原始邮件 ------------------
发件人: "wanghaicheng2004@gmail.com";<wa...@gmail.com>;
发送时间: 2013年11月16日(星期六) 下午5:28
收件人: "users-cn"<us...@cloudstack.apache.org>;
主题: 回复: 无法创建实例
FirstFitRoutingAllocator) Not considering hosts: [Host[-1-Routing]] to deploy template: Tmpl[201-ISO-201-2-281cbc51-8e8c-350e-9c78-83cb5cab5ae4 as they are not HVM enabled
日志当中有这条报错,应该是host不支持虚拟话或者虚拟化没有开启
wanghaicheng2004@gmail.com
发件人: 高手
发送时间: 2013-11-16 17:03
收件人: users-cn
主题: 无法创建实例
环境:cloudstack4.2+CentOS6.2 host:xenserver6.2 8G内存(上面现在只跑了两台系统虚拟机)问题:无法创建实例,创建的时候,查看日志都是说找不到host来部署虚拟机。有没有高手知道错在哪里。
日志如下:
2013-11-16 00:54:31,186 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-4:null) Seq 1-1325989893: Response Received:
2013-11-16 00:54:31,187 DEBUG [agent.transport.Request] (DirectAgent-4:null) Seq 1-1325989893: Processing: { Ans: , MgmtId: 52235182734, via: 1, Ver: v1, Flags: 10, [{"com.cloud.agent.api.ClusterSyncAnswer":{"_clusterId":1,"_newStates":{},"_isExecuted":false,"result":true,"wait":0}}] }
2013-11-16 00:54:35,083 DEBUG [cloud.api.ApiServlet] (catalina-exec-13:null) ===START=== 192.168.16.111 -- GET command=deployVirtualMachine&zoneId=42530a8e-6dd4-4be3-9530-7448a165cd29&templateId=d3d6597a-9d6a-4f07-8ae2-e5930b248471&hypervisor=XenServer&serviceOfferingId=27c6028d-a43e-4fc2-b55b-ad9fa92074f5&diskOfferingId=f30cc1ae-0009-4c95-8d27-8fdf8b500aa7&displayname=liang&name=liang&response=json&sessionkey=hyZ3jyP7HScd6egutBy8MrCZpoI%3D&_=1384592075183
2013-11-16 00:54:35,102 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-13:null) InfrastructureEntity name is:com.cloud.offering.ServiceOffering
2013-11-16 00:54:35,104 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-13:null) ControlledEntity name is:com.cloud.template.VirtualMachineTemplate
2013-11-16 00:54:35,601 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-4:null) SeqA 3-137: Processing Seq 3-137: { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags: 11, [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n \"connections\": []\n}","wait":0}}] }
2013-11-16 00:54:35,607 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-13:null) InfrastructureEntity name is:com.cloud.offering.DiskOffering
2013-11-16 00:54:35,612 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-4:null) SeqA 3-137: Sending Seq 3-137: { Ans: , MgmtId: 52235182734, via: 3, Ver: v1, Flags: 100010, [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }
2013-11-16 00:54:35,661 DEBUG [cloud.vm.UserVmManagerImpl] (catalina-exec-13:null) Allocating in the DB for vm
2013-11-16 00:54:35,695 DEBUG [cloud.vm.VirtualMachineManagerImpl] (catalina-exec-13:null) Allocating entries for VM: VM[User|liang]
2013-11-16 00:54:35,700 DEBUG [cloud.vm.VirtualMachineManagerImpl] (catalina-exec-13:null) Allocating nics for VM[User|liang]
2013-11-16 00:54:35,701 DEBUG [cloud.network.NetworkManagerImpl] (catalina-exec-13:null) Allocating nic for vm VM[User|liang] in network Ntwk[204|Guest|6] with requested profile NicProfile[0-0-null-null-null
2013-11-16 00:54:35,713 DEBUG [cloud.vm.VirtualMachineManagerImpl] (catalina-exec-13:null) Allocating disks for VM[User|liang]
2013-11-16 00:54:35,732 DEBUG [cloud.vm.VirtualMachineManagerImpl] (catalina-exec-13:null) Allocation completed for VM: VM[User|liang]
2013-11-16 00:54:35,732 DEBUG [cloud.vm.UserVmManagerImpl] (catalina-exec-13:null) Successfully allocated DB entry for VM[User|liang]
2013-11-16 00:54:35,816 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-13:null) submit async job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ], details: AsyncJobVO {id:18, userId: 2, accountId: 2, sessionKey: null, instanceType: VirtualMachine, instanceId: 5, cmd: org.apache.cloudstack.api.command.user.vm.DeployVMCmd, cmdOriginator: null, cmdInfo: {"sessionkey":"hyZ3jyP7HScd6egutBy8MrCZpoI\u003d","cmdEventType":"VM.CREATE","ctxUserId":"2","serviceOfferingId":"27c6028d-a43e-4fc2-b55b-ad9fa92074f5","httpmethod":"GET","zoneId":"42530a8e-6dd4-4be3-9530-7448a165cd29","templateId":"d3d6597a-9d6a-4f07-8ae2-e5930b248471","response":"json","id":"5","hypervisor":"XenServer","name":"liang","diskOfferingId":"f30cc1ae-0009-4c95-8d27-8fdf8b500aa7","_":"1384592075183","ctxAccountId":"2","ctxStartEventId":"67","displayname":"liang"}, cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultCode: 0, result: null, initMsid: 52235182734, completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
2013-11-16 00:54:35,821 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Executing org.apache.cloudstack.api.command.user.vm.DeployVMCmd for job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]
2013-11-16 00:54:35,822 DEBUG [cloud.api.ApiServlet] (catalina-exec-13:null) ===END=== 192.168.16.111 -- GET command=deployVirtualMachine&zoneId=42530a8e-6dd4-4be3-9530-7448a165cd29&templateId=d3d6597a-9d6a-4f07-8ae2-e5930b248471&hypervisor=XenServer&serviceOfferingId=27c6028d-a43e-4fc2-b55b-ad9fa92074f5&diskOfferingId=f30cc1ae-0009-4c95-8d27-8fdf8b500aa7&displayname=liang&name=liang&response=json&sessionkey=hyZ3jyP7HScd6egutBy8MrCZpoI%3D&_=1384592075183
2013-11-16 00:54:35,828 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) InfrastructureEntity name is:com.cloud.offering.ServiceOffering
2013-11-16 00:54:35,830 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) ControlledEntity name is:com.cloud.template.VirtualMachineTemplate
2013-11-16 00:54:35,832 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) InfrastructureEntity name is:com.cloud.offering.DiskOffering
2013-11-16 00:54:35,924 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Deploy avoids pods: [], clusters: [], hosts: []
2013-11-16 00:54:35,929 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner_EnhancerByCloudStack_8232bcd9@1553b17c
2013-11-16 00:54:35,929 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Trying to allocate a host and storage pools from dc:1, pod:null,cluster:null, requested cpu: 500, requested ram: 536870912
2013-11-16 00:54:35,929 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Is ROOT volume READY (pool already allocated)?: No
2013-11-16 00:54:35,930 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Searching all possible resources under this Zone: 1
2013-11-16 00:54:35,931 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Zone: 1
2013-11-16 00:54:35,943 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Removing from the clusterId list these clusters from avoid set: []
2013-11-16 00:54:35,962 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Checking resources in Cluster: 1 under Pod: 1
2013-11-16 00:54:35,979 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
2013-11-16 00:54:35,993 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) FirstFitAllocator has 1 hosts to check for allocation: [Host[-1-Routing]]
2013-11-16 00:54:35,998 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Not considering hosts: [Host[-1-Routing]] to deploy template: Tmpl[201-ISO-201-2-281cbc51-8e8c-350e-9c78-83cb5cab5ae4 as they are not HVM enabled
2013-11-16 00:54:35,998 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Found 0 hosts for allocation after prioritization: []
2013-11-16 00:54:35,999 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=512
2013-11-16 00:54:35,999 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Host Allocator returning 0 suitable hosts
2013-11-16 00:54:35,999 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) No suitable hosts found
2013-11-16 00:54:35,999 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) No suitable hosts found under this Cluster: 1
2013-11-16 00:54:36,009 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Could not find suitable Deployment Destination for this VM under any clusters, returning.
2013-11-16 00:54:36,011 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Searching all possible resources under this Zone: 1
2013-11-16 00:54:36,014 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Zone: 1
2013-11-16 00:54:36,024 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Removing from the clusterId list these clusters from avoid set: []
2013-11-16 00:54:36,040 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Checking resources in Cluster: 1 under Pod: 1
2013-11-16 00:54:36,040 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
2013-11-16 00:54:36,047 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) FirstFitAllocator has 1 hosts to check for allocation: [Host[-1-Routing]]
2013-11-16 00:54:36,050 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Not considering hosts: [Host[-1-Routing]] to deploy template: Tmpl[201-ISO-201-2-281cbc51-8e8c-350e-9c78-83cb5cab5ae4 as they are not HVM enabled
2013-11-16 00:54:36,050 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Found 0 hosts for allocation after prioritization: []
2013-11-16 00:54:36,050 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=512
2013-11-16 00:54:36,050 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Host Allocator returning 0 suitable hosts
2013-11-16 00:54:36,050 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) No suitable hosts found
2013-11-16 00:54:36,050 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) No suitable hosts found under this Cluster: 1
2013-11-16 00:54:36,061 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Could not find suitable Deployment Destination for this VM under any clusters, returning.
2013-11-16 00:54:36,061 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Searching all possible resources under this Zone: 1
2013-11-16 00:54:36,062 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Zone: 1
2013-11-16 00:54:36,072 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Removing from the clusterId list these clusters from avoid set: []
2013-11-16 00:54:36,107 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Checking resources in Cluster: 1 under Pod: 1
2013-11-16 00:54:36,108 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
2013-11-16 00:54:36,114 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) FirstFitAllocator has 1 hosts to check for allocation: [Host[-1-Routing]]
2013-11-16 00:54:36,117 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Not considering hosts: [Host[-1-Routing]] to deploy template: Tmpl[201-ISO-201-2-281cbc51-8e8c-350e-9c78-83cb5cab5ae4 as they are not HVM enabled
2013-11-16 00:54:36,117 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Found 0 hosts for allocation after prioritization: []
2013-11-16 00:54:36,117 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=512
2013-11-16 00:54:36,117 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Host Allocator returning 0 suitable hosts
2013-11-16 00:54:36,117 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) No suitable hosts found
2013-11-16 00:54:36,117 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) No suitable hosts found under this Cluster: 1
2013-11-16 00:54:36,128 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Could not find suitable Deployment Destination for this VM under any clusters, returning.
2013-11-16 00:54:36,129 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Searching all possible resources under this Zone: 1
2013-11-16 00:54:36,131 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Zone: 1
2013-11-16 00:54:36,139 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Removing from the clusterId list these clusters from avoid set: []
2013-11-16 00:54:36,150 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Checking resources in Cluster: 1 under Pod: 1
2013-11-16 00:54:36,150 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
2013-11-16 00:54:36,162 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) FirstFitAllocator has 1 hosts to check for allocation: [Host[-1-Routing]]
2013-11-16 00:54:36,165 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Not considering hosts: [Host[-1-Routing]] to deploy template: Tmpl[201-ISO-201-2-281cbc51-8e8c-350e-9c78-83cb5cab5ae4 as they are not HVM enabled
2013-11-16 00:54:36,165 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Found 0 hosts for allocation after prioritization: []
2013-11-16 00:54:36,165 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=512
2013-11-16 00:54:36,165 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Host Allocator returning 0 suitable hosts
2013-11-16 00:54:36,165 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) No suitable hosts found
2013-11-16 00:54:36,165 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) No suitable hosts found under this Cluster: 1
2013-11-16 00:54:36,174 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Could not find suitable Deployment Destination for this VM under any clusters, returning.
回复: 无法创建实例
Posted by "wanghaicheng2004@gmail.com" <wa...@gmail.com>.
FirstFitRoutingAllocator) Not considering hosts: [Host[-1-Routing]] to deploy template: Tmpl[201-ISO-201-2-281cbc51-8e8c-350e-9c78-83cb5cab5ae4 as they are not HVM enabled
日志当中有这条报错,应该是host不支持虚拟话或者虚拟化没有开启
wanghaicheng2004@gmail.com
发件人: 高手
发送时间: 2013-11-16 17:03
收件人: users-cn
主题: 无法创建实例
环境:cloudstack4.2+CentOS6.2 host:xenserver6.2 8G内存(上面现在只跑了两台系统虚拟机)问题:无法创建实例,创建的时候,查看日志都是说找不到host来部署虚拟机。有没有高手知道错在哪里。
日志如下:
2013-11-16 00:54:31,186 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-4:null) Seq 1-1325989893: Response Received:
2013-11-16 00:54:31,187 DEBUG [agent.transport.Request] (DirectAgent-4:null) Seq 1-1325989893: Processing: { Ans: , MgmtId: 52235182734, via: 1, Ver: v1, Flags: 10, [{"com.cloud.agent.api.ClusterSyncAnswer":{"_clusterId":1,"_newStates":{},"_isExecuted":false,"result":true,"wait":0}}] }
2013-11-16 00:54:35,083 DEBUG [cloud.api.ApiServlet] (catalina-exec-13:null) ===START=== 192.168.16.111 -- GET command=deployVirtualMachine&zoneId=42530a8e-6dd4-4be3-9530-7448a165cd29&templateId=d3d6597a-9d6a-4f07-8ae2-e5930b248471&hypervisor=XenServer&serviceOfferingId=27c6028d-a43e-4fc2-b55b-ad9fa92074f5&diskOfferingId=f30cc1ae-0009-4c95-8d27-8fdf8b500aa7&displayname=liang&name=liang&response=json&sessionkey=hyZ3jyP7HScd6egutBy8MrCZpoI%3D&_=1384592075183
2013-11-16 00:54:35,102 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-13:null) InfrastructureEntity name is:com.cloud.offering.ServiceOffering
2013-11-16 00:54:35,104 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-13:null) ControlledEntity name is:com.cloud.template.VirtualMachineTemplate
2013-11-16 00:54:35,601 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-4:null) SeqA 3-137: Processing Seq 3-137: { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags: 11, [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n \"connections\": []\n}","wait":0}}] }
2013-11-16 00:54:35,607 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-13:null) InfrastructureEntity name is:com.cloud.offering.DiskOffering
2013-11-16 00:54:35,612 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-4:null) SeqA 3-137: Sending Seq 3-137: { Ans: , MgmtId: 52235182734, via: 3, Ver: v1, Flags: 100010, [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }
2013-11-16 00:54:35,661 DEBUG [cloud.vm.UserVmManagerImpl] (catalina-exec-13:null) Allocating in the DB for vm
2013-11-16 00:54:35,695 DEBUG [cloud.vm.VirtualMachineManagerImpl] (catalina-exec-13:null) Allocating entries for VM: VM[User|liang]
2013-11-16 00:54:35,700 DEBUG [cloud.vm.VirtualMachineManagerImpl] (catalina-exec-13:null) Allocating nics for VM[User|liang]
2013-11-16 00:54:35,701 DEBUG [cloud.network.NetworkManagerImpl] (catalina-exec-13:null) Allocating nic for vm VM[User|liang] in network Ntwk[204|Guest|6] with requested profile NicProfile[0-0-null-null-null
2013-11-16 00:54:35,713 DEBUG [cloud.vm.VirtualMachineManagerImpl] (catalina-exec-13:null) Allocating disks for VM[User|liang]
2013-11-16 00:54:35,732 DEBUG [cloud.vm.VirtualMachineManagerImpl] (catalina-exec-13:null) Allocation completed for VM: VM[User|liang]
2013-11-16 00:54:35,732 DEBUG [cloud.vm.UserVmManagerImpl] (catalina-exec-13:null) Successfully allocated DB entry for VM[User|liang]
2013-11-16 00:54:35,816 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-13:null) submit async job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ], details: AsyncJobVO {id:18, userId: 2, accountId: 2, sessionKey: null, instanceType: VirtualMachine, instanceId: 5, cmd: org.apache.cloudstack.api.command.user.vm.DeployVMCmd, cmdOriginator: null, cmdInfo: {"sessionkey":"hyZ3jyP7HScd6egutBy8MrCZpoI\u003d","cmdEventType":"VM.CREATE","ctxUserId":"2","serviceOfferingId":"27c6028d-a43e-4fc2-b55b-ad9fa92074f5","httpmethod":"GET","zoneId":"42530a8e-6dd4-4be3-9530-7448a165cd29","templateId":"d3d6597a-9d6a-4f07-8ae2-e5930b248471","response":"json","id":"5","hypervisor":"XenServer","name":"liang","diskOfferingId":"f30cc1ae-0009-4c95-8d27-8fdf8b500aa7","_":"1384592075183","ctxAccountId":"2","ctxStartEventId":"67","displayname":"liang"}, cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultCode: 0, result: null, initMsid: 52235182734, completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
2013-11-16 00:54:35,821 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Executing org.apache.cloudstack.api.command.user.vm.DeployVMCmd for job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]
2013-11-16 00:54:35,822 DEBUG [cloud.api.ApiServlet] (catalina-exec-13:null) ===END=== 192.168.16.111 -- GET command=deployVirtualMachine&zoneId=42530a8e-6dd4-4be3-9530-7448a165cd29&templateId=d3d6597a-9d6a-4f07-8ae2-e5930b248471&hypervisor=XenServer&serviceOfferingId=27c6028d-a43e-4fc2-b55b-ad9fa92074f5&diskOfferingId=f30cc1ae-0009-4c95-8d27-8fdf8b500aa7&displayname=liang&name=liang&response=json&sessionkey=hyZ3jyP7HScd6egutBy8MrCZpoI%3D&_=1384592075183
2013-11-16 00:54:35,828 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) InfrastructureEntity name is:com.cloud.offering.ServiceOffering
2013-11-16 00:54:35,830 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) ControlledEntity name is:com.cloud.template.VirtualMachineTemplate
2013-11-16 00:54:35,832 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) InfrastructureEntity name is:com.cloud.offering.DiskOffering
2013-11-16 00:54:35,924 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Deploy avoids pods: [], clusters: [], hosts: []
2013-11-16 00:54:35,929 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner_EnhancerByCloudStack_8232bcd9@1553b17c
2013-11-16 00:54:35,929 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Trying to allocate a host and storage pools from dc:1, pod:null,cluster:null, requested cpu: 500, requested ram: 536870912
2013-11-16 00:54:35,929 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Is ROOT volume READY (pool already allocated)?: No
2013-11-16 00:54:35,930 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Searching all possible resources under this Zone: 1
2013-11-16 00:54:35,931 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Zone: 1
2013-11-16 00:54:35,943 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Removing from the clusterId list these clusters from avoid set: []
2013-11-16 00:54:35,962 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Checking resources in Cluster: 1 under Pod: 1
2013-11-16 00:54:35,979 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
2013-11-16 00:54:35,993 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) FirstFitAllocator has 1 hosts to check for allocation: [Host[-1-Routing]]
2013-11-16 00:54:35,998 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Not considering hosts: [Host[-1-Routing]] to deploy template: Tmpl[201-ISO-201-2-281cbc51-8e8c-350e-9c78-83cb5cab5ae4 as they are not HVM enabled
2013-11-16 00:54:35,998 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Found 0 hosts for allocation after prioritization: []
2013-11-16 00:54:35,999 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=512
2013-11-16 00:54:35,999 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Host Allocator returning 0 suitable hosts
2013-11-16 00:54:35,999 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) No suitable hosts found
2013-11-16 00:54:35,999 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) No suitable hosts found under this Cluster: 1
2013-11-16 00:54:36,009 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Could not find suitable Deployment Destination for this VM under any clusters, returning.
2013-11-16 00:54:36,011 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Searching all possible resources under this Zone: 1
2013-11-16 00:54:36,014 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Zone: 1
2013-11-16 00:54:36,024 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Removing from the clusterId list these clusters from avoid set: []
2013-11-16 00:54:36,040 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Checking resources in Cluster: 1 under Pod: 1
2013-11-16 00:54:36,040 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
2013-11-16 00:54:36,047 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) FirstFitAllocator has 1 hosts to check for allocation: [Host[-1-Routing]]
2013-11-16 00:54:36,050 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Not considering hosts: [Host[-1-Routing]] to deploy template: Tmpl[201-ISO-201-2-281cbc51-8e8c-350e-9c78-83cb5cab5ae4 as they are not HVM enabled
2013-11-16 00:54:36,050 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Found 0 hosts for allocation after prioritization: []
2013-11-16 00:54:36,050 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=512
2013-11-16 00:54:36,050 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Host Allocator returning 0 suitable hosts
2013-11-16 00:54:36,050 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) No suitable hosts found
2013-11-16 00:54:36,050 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) No suitable hosts found under this Cluster: 1
2013-11-16 00:54:36,061 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Could not find suitable Deployment Destination for this VM under any clusters, returning.
2013-11-16 00:54:36,061 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Searching all possible resources under this Zone: 1
2013-11-16 00:54:36,062 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Zone: 1
2013-11-16 00:54:36,072 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Removing from the clusterId list these clusters from avoid set: []
2013-11-16 00:54:36,107 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Checking resources in Cluster: 1 under Pod: 1
2013-11-16 00:54:36,108 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
2013-11-16 00:54:36,114 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) FirstFitAllocator has 1 hosts to check for allocation: [Host[-1-Routing]]
2013-11-16 00:54:36,117 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Not considering hosts: [Host[-1-Routing]] to deploy template: Tmpl[201-ISO-201-2-281cbc51-8e8c-350e-9c78-83cb5cab5ae4 as they are not HVM enabled
2013-11-16 00:54:36,117 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Found 0 hosts for allocation after prioritization: []
2013-11-16 00:54:36,117 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=512
2013-11-16 00:54:36,117 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Host Allocator returning 0 suitable hosts
2013-11-16 00:54:36,117 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) No suitable hosts found
2013-11-16 00:54:36,117 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) No suitable hosts found under this Cluster: 1
2013-11-16 00:54:36,128 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Could not find suitable Deployment Destination for this VM under any clusters, returning.
2013-11-16 00:54:36,129 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Searching all possible resources under this Zone: 1
2013-11-16 00:54:36,131 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Zone: 1
2013-11-16 00:54:36,139 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Removing from the clusterId list these clusters from avoid set: []
2013-11-16 00:54:36,150 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Checking resources in Cluster: 1 under Pod: 1
2013-11-16 00:54:36,150 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
2013-11-16 00:54:36,162 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) FirstFitAllocator has 1 hosts to check for allocation: [Host[-1-Routing]]
2013-11-16 00:54:36,165 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Not considering hosts: [Host[-1-Routing]] to deploy template: Tmpl[201-ISO-201-2-281cbc51-8e8c-350e-9c78-83cb5cab5ae4 as they are not HVM enabled
2013-11-16 00:54:36,165 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Found 0 hosts for allocation after prioritization: []
2013-11-16 00:54:36,165 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=512
2013-11-16 00:54:36,165 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Host Allocator returning 0 suitable hosts
2013-11-16 00:54:36,165 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) No suitable hosts found
2013-11-16 00:54:36,165 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) No suitable hosts found under this Cluster: 1
2013-11-16 00:54:36,174 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Could not find suitable Deployment Destination for this VM under any clusters, returning.
无法创建实例
Posted by 高手 <84...@qq.com>.
环境:cloudstack4.2+CentOS6.2 host:xenserver6.2 8G内存(上面现在只跑了两台系统虚拟机)问题:无法创建实例,创建的时候,查看日志都是说找不到host来部署虚拟机。有没有高手知道错在哪里。
日志如下:
2013-11-16 00:54:31,186 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-4:null) Seq 1-1325989893: Response Received:
2013-11-16 00:54:31,187 DEBUG [agent.transport.Request] (DirectAgent-4:null) Seq 1-1325989893: Processing: { Ans: , MgmtId: 52235182734, via: 1, Ver: v1, Flags: 10, [{"com.cloud.agent.api.ClusterSyncAnswer":{"_clusterId":1,"_newStates":{},"_isExecuted":false,"result":true,"wait":0}}] }
2013-11-16 00:54:35,083 DEBUG [cloud.api.ApiServlet] (catalina-exec-13:null) ===START=== 192.168.16.111 -- GET command=deployVirtualMachine&zoneId=42530a8e-6dd4-4be3-9530-7448a165cd29&templateId=d3d6597a-9d6a-4f07-8ae2-e5930b248471&hypervisor=XenServer&serviceOfferingId=27c6028d-a43e-4fc2-b55b-ad9fa92074f5&diskOfferingId=f30cc1ae-0009-4c95-8d27-8fdf8b500aa7&displayname=liang&name=liang&response=json&sessionkey=hyZ3jyP7HScd6egutBy8MrCZpoI%3D&_=1384592075183
2013-11-16 00:54:35,102 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-13:null) InfrastructureEntity name is:com.cloud.offering.ServiceOffering
2013-11-16 00:54:35,104 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-13:null) ControlledEntity name is:com.cloud.template.VirtualMachineTemplate
2013-11-16 00:54:35,601 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-4:null) SeqA 3-137: Processing Seq 3-137: { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags: 11, [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n \"connections\": []\n}","wait":0}}] }
2013-11-16 00:54:35,607 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-13:null) InfrastructureEntity name is:com.cloud.offering.DiskOffering
2013-11-16 00:54:35,612 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-4:null) SeqA 3-137: Sending Seq 3-137: { Ans: , MgmtId: 52235182734, via: 3, Ver: v1, Flags: 100010, [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }
2013-11-16 00:54:35,661 DEBUG [cloud.vm.UserVmManagerImpl] (catalina-exec-13:null) Allocating in the DB for vm
2013-11-16 00:54:35,695 DEBUG [cloud.vm.VirtualMachineManagerImpl] (catalina-exec-13:null) Allocating entries for VM: VM[User|liang]
2013-11-16 00:54:35,700 DEBUG [cloud.vm.VirtualMachineManagerImpl] (catalina-exec-13:null) Allocating nics for VM[User|liang]
2013-11-16 00:54:35,701 DEBUG [cloud.network.NetworkManagerImpl] (catalina-exec-13:null) Allocating nic for vm VM[User|liang] in network Ntwk[204|Guest|6] with requested profile NicProfile[0-0-null-null-null
2013-11-16 00:54:35,713 DEBUG [cloud.vm.VirtualMachineManagerImpl] (catalina-exec-13:null) Allocating disks for VM[User|liang]
2013-11-16 00:54:35,732 DEBUG [cloud.vm.VirtualMachineManagerImpl] (catalina-exec-13:null) Allocation completed for VM: VM[User|liang]
2013-11-16 00:54:35,732 DEBUG [cloud.vm.UserVmManagerImpl] (catalina-exec-13:null) Successfully allocated DB entry for VM[User|liang]
2013-11-16 00:54:35,816 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-13:null) submit async job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ], details: AsyncJobVO {id:18, userId: 2, accountId: 2, sessionKey: null, instanceType: VirtualMachine, instanceId: 5, cmd: org.apache.cloudstack.api.command.user.vm.DeployVMCmd, cmdOriginator: null, cmdInfo: {"sessionkey":"hyZ3jyP7HScd6egutBy8MrCZpoI\u003d","cmdEventType":"VM.CREATE","ctxUserId":"2","serviceOfferingId":"27c6028d-a43e-4fc2-b55b-ad9fa92074f5","httpmethod":"GET","zoneId":"42530a8e-6dd4-4be3-9530-7448a165cd29","templateId":"d3d6597a-9d6a-4f07-8ae2-e5930b248471","response":"json","id":"5","hypervisor":"XenServer","name":"liang","diskOfferingId":"f30cc1ae-0009-4c95-8d27-8fdf8b500aa7","_":"1384592075183","ctxAccountId":"2","ctxStartEventId":"67","displayname":"liang"}, cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultCode: 0, result: null, initMsid: 52235182734, completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
2013-11-16 00:54:35,821 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Executing org.apache.cloudstack.api.command.user.vm.DeployVMCmd for job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]
2013-11-16 00:54:35,822 DEBUG [cloud.api.ApiServlet] (catalina-exec-13:null) ===END=== 192.168.16.111 -- GET command=deployVirtualMachine&zoneId=42530a8e-6dd4-4be3-9530-7448a165cd29&templateId=d3d6597a-9d6a-4f07-8ae2-e5930b248471&hypervisor=XenServer&serviceOfferingId=27c6028d-a43e-4fc2-b55b-ad9fa92074f5&diskOfferingId=f30cc1ae-0009-4c95-8d27-8fdf8b500aa7&displayname=liang&name=liang&response=json&sessionkey=hyZ3jyP7HScd6egutBy8MrCZpoI%3D&_=1384592075183
2013-11-16 00:54:35,828 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) InfrastructureEntity name is:com.cloud.offering.ServiceOffering
2013-11-16 00:54:35,830 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) ControlledEntity name is:com.cloud.template.VirtualMachineTemplate
2013-11-16 00:54:35,832 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) InfrastructureEntity name is:com.cloud.offering.DiskOffering
2013-11-16 00:54:35,924 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Deploy avoids pods: [], clusters: [], hosts: []
2013-11-16 00:54:35,929 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner_EnhancerByCloudStack_8232bcd9@1553b17c
2013-11-16 00:54:35,929 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Trying to allocate a host and storage pools from dc:1, pod:null,cluster:null, requested cpu: 500, requested ram: 536870912
2013-11-16 00:54:35,929 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Is ROOT volume READY (pool already allocated)?: No
2013-11-16 00:54:35,930 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Searching all possible resources under this Zone: 1
2013-11-16 00:54:35,931 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Zone: 1
2013-11-16 00:54:35,943 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Removing from the clusterId list these clusters from avoid set: []
2013-11-16 00:54:35,962 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Checking resources in Cluster: 1 under Pod: 1
2013-11-16 00:54:35,979 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
2013-11-16 00:54:35,993 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) FirstFitAllocator has 1 hosts to check for allocation: [Host[-1-Routing]]
2013-11-16 00:54:35,998 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Not considering hosts: [Host[-1-Routing]] to deploy template: Tmpl[201-ISO-201-2-281cbc51-8e8c-350e-9c78-83cb5cab5ae4 as they are not HVM enabled
2013-11-16 00:54:35,998 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Found 0 hosts for allocation after prioritization: []
2013-11-16 00:54:35,999 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=512
2013-11-16 00:54:35,999 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Host Allocator returning 0 suitable hosts
2013-11-16 00:54:35,999 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) No suitable hosts found
2013-11-16 00:54:35,999 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) No suitable hosts found under this Cluster: 1
2013-11-16 00:54:36,009 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Could not find suitable Deployment Destination for this VM under any clusters, returning.
2013-11-16 00:54:36,011 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Searching all possible resources under this Zone: 1
2013-11-16 00:54:36,014 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Zone: 1
2013-11-16 00:54:36,024 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Removing from the clusterId list these clusters from avoid set: []
2013-11-16 00:54:36,040 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Checking resources in Cluster: 1 under Pod: 1
2013-11-16 00:54:36,040 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
2013-11-16 00:54:36,047 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) FirstFitAllocator has 1 hosts to check for allocation: [Host[-1-Routing]]
2013-11-16 00:54:36,050 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Not considering hosts: [Host[-1-Routing]] to deploy template: Tmpl[201-ISO-201-2-281cbc51-8e8c-350e-9c78-83cb5cab5ae4 as they are not HVM enabled
2013-11-16 00:54:36,050 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Found 0 hosts for allocation after prioritization: []
2013-11-16 00:54:36,050 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=512
2013-11-16 00:54:36,050 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Host Allocator returning 0 suitable hosts
2013-11-16 00:54:36,050 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) No suitable hosts found
2013-11-16 00:54:36,050 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) No suitable hosts found under this Cluster: 1
2013-11-16 00:54:36,061 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Could not find suitable Deployment Destination for this VM under any clusters, returning.
2013-11-16 00:54:36,061 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Searching all possible resources under this Zone: 1
2013-11-16 00:54:36,062 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Zone: 1
2013-11-16 00:54:36,072 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Removing from the clusterId list these clusters from avoid set: []
2013-11-16 00:54:36,107 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Checking resources in Cluster: 1 under Pod: 1
2013-11-16 00:54:36,108 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
2013-11-16 00:54:36,114 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) FirstFitAllocator has 1 hosts to check for allocation: [Host[-1-Routing]]
2013-11-16 00:54:36,117 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Not considering hosts: [Host[-1-Routing]] to deploy template: Tmpl[201-ISO-201-2-281cbc51-8e8c-350e-9c78-83cb5cab5ae4 as they are not HVM enabled
2013-11-16 00:54:36,117 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Found 0 hosts for allocation after prioritization: []
2013-11-16 00:54:36,117 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=512
2013-11-16 00:54:36,117 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Host Allocator returning 0 suitable hosts
2013-11-16 00:54:36,117 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) No suitable hosts found
2013-11-16 00:54:36,117 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) No suitable hosts found under this Cluster: 1
2013-11-16 00:54:36,128 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Could not find suitable Deployment Destination for this VM under any clusters, returning.
2013-11-16 00:54:36,129 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Searching all possible resources under this Zone: 1
2013-11-16 00:54:36,131 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Zone: 1
2013-11-16 00:54:36,139 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Removing from the clusterId list these clusters from avoid set: []
2013-11-16 00:54:36,150 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Checking resources in Cluster: 1 under Pod: 1
2013-11-16 00:54:36,150 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
2013-11-16 00:54:36,162 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) FirstFitAllocator has 1 hosts to check for allocation: [Host[-1-Routing]]
2013-11-16 00:54:36,165 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Not considering hosts: [Host[-1-Routing]] to deploy template: Tmpl[201-ISO-201-2-281cbc51-8e8c-350e-9c78-83cb5cab5ae4 as they are not HVM enabled
2013-11-16 00:54:36,165 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Found 0 hosts for allocation after prioritization: []
2013-11-16 00:54:36,165 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=512
2013-11-16 00:54:36,165 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ] FirstFitRoutingAllocator) Host Allocator returning 0 suitable hosts
2013-11-16 00:54:36,165 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) No suitable hosts found
2013-11-16 00:54:36,165 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) No suitable hosts found under this Cluster: 1
2013-11-16 00:54:36,174 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-18 = [ 6f006332-08c9-4a30-997b-eceaf1f27c15 ]) Could not find suitable Deployment Destination for this VM under any clusters, returning.
Re: 各位高手,出现以下情况是啥原因了。谢谢了
Posted by ma y <br...@gmail.com>.
权限验证失败
查查selinux有没关,用户名密码对不对
2013/11/15 toudsf <18...@163.com>
> INFO [vmware.resource.VmwareResource] (DirectAgent-33:192.168.0.202)
> Could not connect to 192.168.0.111 due to java.net.ConnectException:
> Connection refused
> INFO [cloud.api.ApiDispatcher] (339734114@qtp-663010459-17:) dc@dispatch->execute
> ...
> INFO [cloud.api.ApiDispatcher] (339734114@qtp-663010459-17:) dc@dispatch->execute
> ...
> INFO [vmware.resource.VmwareResource] (DirectAgent-33:192.168.0.202)
> Trying to connect to 192.168.0.111
> ERROR [utils.ssh.SshHelper] (DirectAgent-33:192.168.0.202) Failed to
> authentication SSH user root on host 192.168.0.111
> ERROR [vmware.resource.VmwareResource] (DirectAgent-33:192.168.0.202)
> Unable to execute NetworkUsage command on DomR (192.168.0.111), domR may
> not be ready yet. failure due to Exception: java.lang.Exception
> Message: Failed to authentication SSH user root on host 192.168.0.111
>
> java.lang.Exception: Failed to authentication SSH user root on host
> 192.168.0.111
> at com.cloud.utils.ssh.SshHelper.sshExecute(SshHelper.java:144)
> at com.cloud.utils.ssh.SshHelper.sshExecute(SshHelper.java:37)
> at
> com.cloud.hypervisor.vmware.resource.VmwareResource.networkUsage(VmwareResource.java:4648)
> at
> com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:1994)
> at
> com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:426)
> at
> com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:190)
> 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.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:701)
> ERROR [utils.ssh.SshHelper] (DirectAgent-33:192.168.0.202) Failed to
> authentication SSH user root on host 192.168.0.111
> ERROR [vmware.resource.VmwareResource] (DirectAgent-33:192.168.0.202)
> GetDomRVersionCmd failed due to Exception: java.lang.Exception
> Message: Failed to authentication SSH user root on host 192.168.0.111
>
> java.lang.Exception: Failed to authentication SSH user root on host
> 192.168.0.111
> at com.cloud.utils.ssh.SshHelper.sshExecute(SshHelper.java:144)
> at com.cloud.utils.ssh.SshHelper.sshExecute(SshHelper.java:37)
> at
> com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:1836)
> at
> com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:434)
> at
> com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:190)
> 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.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:701)
> WARN [network.router.VirtualNetworkApplianceManagerImpl]
> (Job-Executor-6:job-22) Unable to get the template/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.0.111
>
> INFO [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-6:job-22) The
> guru did not like the answers so stopping VM[DomainRouter|r-13-VM]
> INFO [vmware.resource.VmwareResource] (DirectAgent-69:192.168.0.202)
> Executing resource StopCommand:
> {"isProxy":false,"vmName":"r-13-VM","wait":0}
> INFO [cloud.api.ApiDispatcher] (339734114@qtp-663010459-17:) dc@dispatch->execute
> ...
> INFO [vmware.resource.VmwareResource] (DirectAgent-69:192.168.0.202)
> Remove all snapshot before stopping VM r-13-VM
> INFO [cloud.api.ApiDispatcher] (339734114@qtp-663010459-17:) dc@dispatch->execute
> ...
> INFO [cloud.api.ApiDispatcher] (339734114@qtp-663010459-17:) dc@dispatch->execute
> ...
> ERROR [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-6:job-22) 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
> at
> com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:817)
> at
> com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:472)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.start(VirtualNetworkApplianceManagerImpl.java:2615)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startVirtualRouter(VirtualNetworkApplianceManagerImpl.java:1824)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouters(VirtualNetworkApplianceManagerImpl.java:1924)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.deployVirtualRouterInGuestNetwork(VirtualNetworkApplianceManagerImpl.java:1902)
> at
> com.cloud.network.element.VirtualRouterElement.implement(VirtualRouterElement.java:175)
> at
> com.cloud.network.NetworkManagerImpl.implementNetworkElementsAndResources(NetworkManagerImpl.java:1518)
> at
> com.cloud.network.NetworkManagerImpl.implementNetwork(NetworkManagerImpl.java:1434)
> at
> com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> at
> com.cloud.network.NetworkManagerImpl.startNetwork(NetworkManagerImpl.java:2435)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouter(VirtualNetworkApplianceManagerImpl.java:2854)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouter(VirtualNetworkApplianceManagerImpl.java:2823)
> at
> com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> at
> org.apache.cloudstack.api.command.admin.router.StartRouterCmd.execute(StartRouterCmd.java:103)
> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:164)
> at
> com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:443)
> 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:1146)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:701)
> INFO [vmware.resource.VmwareResource] (DirectAgent-92:192.168.0.202)
> Executing resource StopCommand:
> {"isProxy":false,"vmName":"r-13-VM","wait":0}
> INFO [vmware.resource.VmwareResource] (DirectAgent-92:192.168.0.202) VM
> r-13-VM is already in stopped state
> WARN [cloud.network.NetworkModelImpl] (Job-Executor-6:job-22) Can't get
> the physical network
> ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-6:job-22) Unexpected
> exception while executing
> org.apache.cloudstack.api.command.admin.router.StartRouterCmd
> com.cloud.exception.AgentUnavailableException: Resource [Host:1] is
> unreachable: Host 1: Unable to start instance due to Unable to start
> VM[DomainRouter|r-13-VM] due to error in finalizeStart, not retrying
> at
> com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:850)
> at
> com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:472)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.start(VirtualNetworkApplianceManagerImpl.java:2615)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startVirtualRouter(VirtualNetworkApplianceManagerImpl.java:1824)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouters(VirtualNetworkApplianceManagerImpl.java:1924)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.deployVirtualRouterInGuestNetwork(VirtualNetworkApplianceManagerImpl.java:1902)
> at
> com.cloud.network.element.VirtualRouterElement.implement(VirtualRouterElement.java:175)
> at
> com.cloud.network.NetworkManagerImpl.implementNetworkElementsAndResources(NetworkManagerImpl.java:1518)
> at
> com.cloud.network.NetworkManagerImpl.implementNetwork(NetworkManagerImpl.java:1434)
> at
> com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> at
> com.cloud.network.NetworkManagerImpl.startNetwork(NetworkManagerImpl.java:2435)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouter(VirtualNetworkApplianceManagerImpl.java:2854)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouter(VirtualNetworkApplianceManagerImpl.java:2823)
> at
> com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> at
> org.apache.cloudstack.api.command.admin.router.StartRouterCmd.execute(StartRouterCmd.java:103)
> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:164)
> at
> com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:443)
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>
> 2013-11-15
>
>
>
> toudsf
Re: 各位高手,出现以下情况是啥原因了。谢谢了
Posted by Du Jun <dj...@gmail.com>.
交代下问题背景吧。
2013/11/15 toudsf <18...@163.com>
> INFO [vmware.resource.VmwareResource] (DirectAgent-33:192.168.0.202)
> Could not connect to 192.168.0.111 due to java.net.ConnectException:
> Connection refused
> INFO [cloud.api.ApiDispatcher] (339734114@qtp-663010459-17:) dc@dispatch->execute
> ...
> INFO [cloud.api.ApiDispatcher] (339734114@qtp-663010459-17:) dc@dispatch->execute
> ...
> INFO [vmware.resource.VmwareResource] (DirectAgent-33:192.168.0.202)
> Trying to connect to 192.168.0.111
> ERROR [utils.ssh.SshHelper] (DirectAgent-33:192.168.0.202) Failed to
> authentication SSH user root on host 192.168.0.111
> ERROR [vmware.resource.VmwareResource] (DirectAgent-33:192.168.0.202)
> Unable to execute NetworkUsage command on DomR (192.168.0.111), domR may
> not be ready yet. failure due to Exception: java.lang.Exception
> Message: Failed to authentication SSH user root on host 192.168.0.111
>
> java.lang.Exception: Failed to authentication SSH user root on host
> 192.168.0.111
> at com.cloud.utils.ssh.SshHelper.sshExecute(SshHelper.java:144)
> at com.cloud.utils.ssh.SshHelper.sshExecute(SshHelper.java:37)
> at
> com.cloud.hypervisor.vmware.resource.VmwareResource.networkUsage(VmwareResource.java:4648)
> at
> com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:1994)
> at
> com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:426)
> at
> com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:190)
> 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.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:701)
> ERROR [utils.ssh.SshHelper] (DirectAgent-33:192.168.0.202) Failed to
> authentication SSH user root on host 192.168.0.111
> ERROR [vmware.resource.VmwareResource] (DirectAgent-33:192.168.0.202)
> GetDomRVersionCmd failed due to Exception: java.lang.Exception
> Message: Failed to authentication SSH user root on host 192.168.0.111
>
> java.lang.Exception: Failed to authentication SSH user root on host
> 192.168.0.111
> at com.cloud.utils.ssh.SshHelper.sshExecute(SshHelper.java:144)
> at com.cloud.utils.ssh.SshHelper.sshExecute(SshHelper.java:37)
> at
> com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:1836)
> at
> com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:434)
> at
> com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:190)
> 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.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:701)
> WARN [network.router.VirtualNetworkApplianceManagerImpl]
> (Job-Executor-6:job-22) Unable to get the template/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.0.111
>
> INFO [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-6:job-22) The
> guru did not like the answers so stopping VM[DomainRouter|r-13-VM]
> INFO [vmware.resource.VmwareResource] (DirectAgent-69:192.168.0.202)
> Executing resource StopCommand:
> {"isProxy":false,"vmName":"r-13-VM","wait":0}
> INFO [cloud.api.ApiDispatcher] (339734114@qtp-663010459-17:) dc@dispatch->execute
> ...
> INFO [vmware.resource.VmwareResource] (DirectAgent-69:192.168.0.202)
> Remove all snapshot before stopping VM r-13-VM
> INFO [cloud.api.ApiDispatcher] (339734114@qtp-663010459-17:) dc@dispatch->execute
> ...
> INFO [cloud.api.ApiDispatcher] (339734114@qtp-663010459-17:) dc@dispatch->execute
> ...
> ERROR [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-6:job-22) 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
> at
> com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:817)
> at
> com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:472)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.start(VirtualNetworkApplianceManagerImpl.java:2615)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startVirtualRouter(VirtualNetworkApplianceManagerImpl.java:1824)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouters(VirtualNetworkApplianceManagerImpl.java:1924)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.deployVirtualRouterInGuestNetwork(VirtualNetworkApplianceManagerImpl.java:1902)
> at
> com.cloud.network.element.VirtualRouterElement.implement(VirtualRouterElement.java:175)
> at
> com.cloud.network.NetworkManagerImpl.implementNetworkElementsAndResources(NetworkManagerImpl.java:1518)
> at
> com.cloud.network.NetworkManagerImpl.implementNetwork(NetworkManagerImpl.java:1434)
> at
> com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> at
> com.cloud.network.NetworkManagerImpl.startNetwork(NetworkManagerImpl.java:2435)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouter(VirtualNetworkApplianceManagerImpl.java:2854)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouter(VirtualNetworkApplianceManagerImpl.java:2823)
> at
> com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> at
> org.apache.cloudstack.api.command.admin.router.StartRouterCmd.execute(StartRouterCmd.java:103)
> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:164)
> at
> com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:443)
> 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:1146)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:701)
> INFO [vmware.resource.VmwareResource] (DirectAgent-92:192.168.0.202)
> Executing resource StopCommand:
> {"isProxy":false,"vmName":"r-13-VM","wait":0}
> INFO [vmware.resource.VmwareResource] (DirectAgent-92:192.168.0.202) VM
> r-13-VM is already in stopped state
> WARN [cloud.network.NetworkModelImpl] (Job-Executor-6:job-22) Can't get
> the physical network
> ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-6:job-22) Unexpected
> exception while executing
> org.apache.cloudstack.api.command.admin.router.StartRouterCmd
> com.cloud.exception.AgentUnavailableException: Resource [Host:1] is
> unreachable: Host 1: Unable to start instance due to Unable to start
> VM[DomainRouter|r-13-VM] due to error in finalizeStart, not retrying
> at
> com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:850)
> at
> com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:472)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.start(VirtualNetworkApplianceManagerImpl.java:2615)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startVirtualRouter(VirtualNetworkApplianceManagerImpl.java:1824)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouters(VirtualNetworkApplianceManagerImpl.java:1924)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.deployVirtualRouterInGuestNetwork(VirtualNetworkApplianceManagerImpl.java:1902)
> at
> com.cloud.network.element.VirtualRouterElement.implement(VirtualRouterElement.java:175)
> at
> com.cloud.network.NetworkManagerImpl.implementNetworkElementsAndResources(NetworkManagerImpl.java:1518)
> at
> com.cloud.network.NetworkManagerImpl.implementNetwork(NetworkManagerImpl.java:1434)
> at
> com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> at
> com.cloud.network.NetworkManagerImpl.startNetwork(NetworkManagerImpl.java:2435)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouter(VirtualNetworkApplianceManagerImpl.java:2854)
> at
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouter(VirtualNetworkApplianceManagerImpl.java:2823)
> at
> com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> at
> org.apache.cloudstack.api.command.admin.router.StartRouterCmd.execute(StartRouterCmd.java:103)
> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:164)
> at
> com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:443)
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>
> 2013-11-15
>
>
>
> toudsf