cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 刘彬 <heidso...@gmail.com>
Subject Re: Fail to add host due to Ssh executed failed
Date Sat, 15 Mar 2014 13:58:24 GMT
重新生成ssh-key pub














云计算基础架构师
Github:https://github.com/heidsoft
Weibo: http://weibo.com/liuganbin
研究方向:云计算(云安全)、大数据(数据处理分析)
主要学习: Linux / C / C++ / JAVA
Email:heidsoftg@gmail.com
Tell:18601706743


2014-03-15 20:23 GMT+08:00 Du Jun <dj199008@gmail.com>:

> Hi all,
>
> I find I fail to add a host due to Ssh executed failed:
>
> 2014-03-15 20:18:07,892 DEBUG [utils.ssh.SSHCmdHelper]
> (catalina-exec-7:null) Ssh executed failed
> java.lang.NullPointerException
>         at
>
> com.cloud.utils.ssh.SSHCmdHelper.sshExecuteCmdOneShotWithExitCode(SSHCmdHelper.java:147)
>         at
>
> com.cloud.utils.ssh.SSHCmdHelper.sshExecuteCmdOneShot(SSHCmdHelper.java:158)
>         at
> com.cloud.utils.ssh.SSHCmdHelper.sshExecuteCmd(SSHCmdHelper.java:63)
>         at
>
> com.cloud.hypervisor.kvm.discoverer.LibvirtServerDiscoverer.find(LibvirtServerDiscoverer.java:225)
>         at
>
> com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:741)
>         at
>
> com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:590)
>         at
>
> org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
>         at com.cloud.api.ApiServer.queueCommand(ApiServer.java:514)
>         at com.cloud.api.ApiServer.handleRequest(ApiServer.java:372)
>         at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:305)
>         at com.cloud.api.ApiServlet.doPost(ApiServlet.java:71)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at
>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>         at
>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>         at
>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>         at
>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>         at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:615)
>         at
>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
>         at
>
> org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
>         at
>
> org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:744)
>         at
>
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2282)
>         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)
> PS: I am using CS4.2 and I confirm host's user and password are correct. I
> wonder why I get a SSH exception when I try to add a host to CS cluster?
>
> --
> Regards,
> Frank
>

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