[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rafael Possamai updated CLOUDSTACK-6132:
----------------------------------------

          Description: 
I receive the following error messages on the management-server.log upon 
attempting to add a host.

2014-02-18 02:55:14,765 WARN  [cloud.resource.ResourceManagerImpl] 
(catalina-exec-11:null) Unable to find the server resources at 
http://192.168.0.204
2014-02-18 02:55:14,765 INFO  [utils.exception.CSExceptionErrorCode] 
(catalina-exec-11:null) Could not find exception: 
com.cloud.exception.DiscoveryException in error code list for exceptions
2014-02-18 02:55:14,765 WARN  [admin.host.AddHostCmd] (catalina-exec-11:null) 
Exception:
com.cloud.exception.DiscoveryException: Unable to add the host
        at 
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:798)
        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: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:2274)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:744)
2014-02-18 02:55:14,766 INFO  [cloud.api.ApiServer] (catalina-exec-11:null) 
Unable to add the host
2014-02-18 02:55:14,767 DEBUG [cloud.api.ApiServlet] (catalina-exec-11:null) 
===END===  192.168.0.2 -- POST  
command=addHost&response=json&sessionkey=ws24MDLeItrvSpCoDOCs8c2IxYk%3D

This is happening in the following setup:

1 zone, 1 pod, 2 clusters
first cluster has two hosts - good to go
second cluster has only one host, trying to add second - get the error above

All hosts are in the same network, IPs ranging from 201-204. Have added 
201-203, but 204 won't go.

All hosts are running 6.2.0 and are up to date.



  was:
I receive the following error messages on the management-server.log upon 
attempting to add a host.

2014-02-18 02:55:14,765 WARN  [cloud.resource.ResourceManagerImpl] 
(catalina-exec-11:null) Unable to find the server resources at 
http://192.168.0.204
2014-02-18 02:55:14,765 INFO  [utils.exception.CSExceptionErrorCode] 
(catalina-exec-11:null) Could not find exception: 
com.cloud.exception.DiscoveryException in error code list for exceptions
2014-02-18 02:55:14,765 WARN  [admin.host.AddHostCmd] (catalina-exec-11:null) 
Exception:
com.cloud.exception.DiscoveryException: Unable to add the host
        at 
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:798)
        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: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:2274)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:744)
2014-02-18 02:55:14,766 INFO  [cloud.api.ApiServer] (catalina-exec-11:null) 
Unable to add the host
2014-02-18 02:55:14,767 DEBUG [cloud.api.ApiServlet] (catalina-exec-11:null) 
===END===  192.168.0.2 -- POST  
command=addHost&response=json&sessionkey=ws24MDLeItrvSpCoDOCs8c2IxYk%3D

1 zone, 1 pod, 2 clusters
first cluster has two hosts
second cluster has only one host, trying to add second

All hosts are running 6.2.0 and are up to date.



          Environment: CloudStack 4.2.1 running on CentOs 6.5 (64bit), hosts 
running XenServer 6.2.0 with latest updates installed  (was: CloudStack 4.3 
running on CentOs 6.5, hosts running XenServer 6.2.0)
    Affects Version/s: 4.2.1

> Unable to add host via UI (XenServer 6.2.0)
> -------------------------------------------
>
>                 Key: CLOUDSTACK-6132
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6132
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Management Server, UI
>    Affects Versions: 4.2.1
>         Environment: CloudStack 4.2.1 running on CentOs 6.5 (64bit), hosts 
> running XenServer 6.2.0 with latest updates installed
>            Reporter: Rafael Possamai
>              Labels: newbie
>
> I receive the following error messages on the management-server.log upon 
> attempting to add a host.
> 2014-02-18 02:55:14,765 WARN  [cloud.resource.ResourceManagerImpl] 
> (catalina-exec-11:null) Unable to find the server resources at 
> http://192.168.0.204
> 2014-02-18 02:55:14,765 INFO  [utils.exception.CSExceptionErrorCode] 
> (catalina-exec-11:null) Could not find exception: 
> com.cloud.exception.DiscoveryException in error code list for exceptions
> 2014-02-18 02:55:14,765 WARN  [admin.host.AddHostCmd] (catalina-exec-11:null) 
> Exception:
> com.cloud.exception.DiscoveryException: Unable to add the host
>         at 
> com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:798)
>         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: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:2274)
>         at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:744)
> 2014-02-18 02:55:14,766 INFO  [cloud.api.ApiServer] (catalina-exec-11:null) 
> Unable to add the host
> 2014-02-18 02:55:14,767 DEBUG [cloud.api.ApiServlet] (catalina-exec-11:null) 
> ===END===  192.168.0.2 -- POST  
> command=addHost&response=json&sessionkey=ws24MDLeItrvSpCoDOCs8c2IxYk%3D
> This is happening in the following setup:
> 1 zone, 1 pod, 2 clusters
> first cluster has two hosts - good to go
> second cluster has only one host, trying to add second - get the error above
> All hosts are in the same network, IPs ranging from 201-204. Have added 
> 201-203, but 204 won't go.
> All hosts are running 6.2.0 and are up to date.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to