[ https://issues.apache.org/jira/browse/CLOUDSTACK-3014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jayapal Reddy resolved CLOUDSTACK-3014. --------------------------------------- Resolution: Invalid > unable to start instance because ssh to router is failing > --------------------------------------------------------- > > Key: CLOUDSTACK-3014 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3014 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server > Affects Versions: 4.2.0 > Environment: esx 5.1 , master build > Reporter: Srikanteswararao Talluri > Assignee: Jayapal Reddy > Priority: Blocker > Fix For: 4.2.0 > > Attachments: management-server.log.zip > > > 1. deploy an advanced zone with vmware esx 5.1 > 2. try to deploy a VM > Following exception is encountered: > Failed to authentication SSH user root on host 10.147.40.164 > 2013-06-15 01:36:13,977 ERROR [vmware.resource.VmwareResource] > (DirectAgent-18:10.147.40.30) Unable to execute NetworkUsage command on DomR > (10.147.40.164), domR may not be ready yet. failure due to Exception: > java.lang.Exception > Message: Failed to authentication SSH user root on host 10.147.40.164 > java.lang.Exception: Failed to authentication SSH user root on host > 10.147.40.164 > 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:5451) > at > com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:2301) > at > com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:480) > at > com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186) > 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:1110) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > at java.lang.Thread.run(Thread.java:679) > 2013-06-15 01:36:13,980 DEBUG [vmware.resource.VmwareResource] > (DirectAgent-18:10.147.40.30) Executing resource GetDomRVersionCmd: > {"accessDetails":{"router.ip":"10.147.40.164","router.name":"r-8-VM"},"wait":0} > 2013-06-15 01:36:13,980 DEBUG [vmware.resource.VmwareResource] > (DirectAgent-18:10.147.40.30) Run command on domR 10.147.40.164, > /opt/cloud/bin/get_template_version.sh > 2013-06-15 01:36:13,981 DEBUG [vmware.resource.VmwareResource] > (DirectAgent-18:10.147.40.30) Use router's private IP for SSH control. IP : > 10.147.40.164 > 2013-06-15 01:36:14,081 DEBUG [cloud.api.ApiServlet] (catalina-exec-12:null) > ===START=== 10.101.255.119 -- GET > command=queryAsyncJobResult&jobId=43dde7f6-fb5d-4ead-8691-5071feb44dfd&response=json&sessionkey=tN07%2BJ4GVSCHGNV%2FPjdO3V%2Bs3Tg%3D&_=1371220848020 > 2013-06-15 01:36:14,163 DEBUG [cloud.api.ApiServlet] (catalina-exec-12:null) > ===END=== 10.101.255.119 -- GET > command=queryAsyncJobResult&jobId=43dde7f6-fb5d-4ead-8691-5071feb44dfd&response=json&sessionkey=tN07%2BJ4GVSCHGNV%2FPjdO3V%2Bs3Tg%3D&_=1371220848020 > 2013-06-15 01:36:14,231 ERROR [utils.ssh.SshHelper] > (DirectAgent-18:10.147.40.30) Failed to authentication SSH user root on host > 10.147.40.164 > 2013-06-15 01:36:14,235 ERROR [vmware.resource.VmwareResource] > (DirectAgent-18:10.147.40.30) GetDomRVersionCmd failed due to Exception: > java.lang.Exception > Message: Failed to authentication SSH user root on host 10.147.40.164 > java.lang.Exception: Failed to authentication SSH user root on host > 10.147.40.164 > 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:2143) > at > com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:488) > at > com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186) > 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:1110) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > at java.lang.Thread.run(Thread.java:679) > 2013-06-15 01:36:14,237 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-18:null) Seq 1-965476380: Cancelling because one of the answers > is false and it is stop on error. > 2013-06-15 01:36:14,238 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-18:null) Seq 1-965476380: Response Received: -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira