cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 赖炳华 <laibh2...@gmail.com>
Subject Re: 回复: Re:一台机器里安装管理节点和主机节点 添加主机不成功
Date Tue, 11 Dec 2012 09:23:41 GMT
您的错误信息是“Unable to find the server resources”,  是不是192.168.0.152没有启动agent服务,还是被iptable挡啦,检查检查

执行 1. # service cloud-agnet status   


于 2012年12月11日 16:51, Force 写道:
> 错误信息如下所示:
>
> 2012-12-11 16:45:40,573 WARN  [cloud.resource.ResourceManagerImpl] (catalina-exec-12:null)
Unable to find the server resources at http://192.168.0.152
> 2012-12-11 16:45:40,581 WARN  [api.commands.AddHostCmd] (catalina-exec-12:null) Exception:

> com.cloud.exception.DiscoveryException: Unable to add the host
> at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:737)
> at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:544)
> at com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:140)
> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)
> at com.cloud.api.ApiServer.queueCommand(ApiServer.java:543)
> at com.cloud.api.ApiServer.handleRequest(ApiServer.java:422)
> at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:304)
> at com.cloud.api.ApiServlet.doGet(ApiServlet.java:63)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> 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:555)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
> at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
> at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
> at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2268)
> 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)
> 2012-12-11 16:45:40,582 WARN  [cloud.api.ApiDispatcher] (catalina-exec-12:null) class
com.cloud.api.ServerApiException : Unable to add the host 
>
>
>
>
> Force
>
> 发件人: 赖炳华
> 发送时间: 2012-12-11 16:44
> 收件人: cloudstack-users-cn
> 主题: Re:一台机器里安装管理节点和主机节点 添加主机不成功
> 于 2012年12月11日 16:34, Force 写道:
>> 我在一台机器里安装管理节点和主机节点,但是当我添加主机的时候总是不能成功,请问你们是怎么解决的?
> 添加主机不成功有多种情况的,你最好把错误信息发出来,别人才可以给你建议。
> 这个日志文件比较全:/var/log/cloud/management/management-server.log


Mime
View raw message