cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "toudsf"<18600601...@163.com>
Subject 回复: Re: 各位高手,出现以下情况是啥原因了。谢谢了
Date Fri, 15 Nov 2013 09:23:04 GMT
背景: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 <breeze7086@gmail.com>
发送时间:2013-11-15 17:17
主题:Re: 各位高手,出现以下情况是啥原因了。谢谢了
收件人:"users-cn"<users-cn@cloudstack.apache.org>
抄送:

权限验证失败 
查查selinux有没关,用户名密码对不对 


2013/11/15 toudsf <18600601034@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 
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message