You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Punith s <pu...@cloudbyte.com> on 2013/08/16 14:06:32 UTC

UNABLE TO ADD HOST

hi folks ,
i have installed the CS management server 4.1 on my centos machine , also
i'm running the Oracle virtual box on the same machine as the hypervisor.

the CS console is coming fine , but i'm having problem in adding the host

i checked the catalina log file in managment logs ,

 INFO  [cloud.resource.ResourceManagerImpl] (catalina-exec-20:) Trying to
add a new host at http://10.11.1.122 in data center 1
INFO  [utils.exception.CSExceptionErrorCode] (catalina-exec-20:) Could not
find exception: com.cloud.exception.DiscoveryException in error code list
for exceptions
WARN  [cloud.resource.ResourceManagerImpl] (catalina-exec-20:) Unable to
find the server resources at http://10.11.1.122
INFO  [utils.exception.CSExceptionErrorCode] (catalina-exec-20:) Could not
find exception: com.cloud.exception.DiscoveryException in error code list
for exceptions
WARN  [admin.host.AddHostCmd] (catalina-exec-20:) Exception:
com.cloud.exception.DiscoveryException: Unable to add the host
    at
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:867)
    at
com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:619)
    at
org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143)
    at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
    at com.cloud.api.ApiServer.queueCommand(ApiServer.java:505)
    at com.cloud.api.ApiServer.handleRequest(ApiServer.java:355)
    at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:302)
    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:1146)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:679)
INFO  [cloud.api.ApiServer] (catalina-exec-20:) Unable to add the host


HELP !!!!


thanks,


regards,
punith s
CB

Re: UNABLE TO ADD HOST

Posted by Wei ZHOU <us...@gmail.com>.
I think your virtual machines on virtualbox do not support nested
virtualization.
you can try devcloud2
https://cwiki.apache.org/confluence/display/CLOUDSTACK/DevCloud
http://rohityadav.in/logs/devcloud/


2013/8/16 Punith s <pu...@cloudbyte.com>

> hi folks ,
> i have installed the CS management server 4.1 on my centos machine , also
> i'm running the Oracle virtual box on the same machine as the hypervisor.
>
> the CS console is coming fine , but i'm having problem in adding the host
>
> i checked the catalina log file in managment logs ,
>
>  INFO  [cloud.resource.ResourceManagerImpl] (catalina-exec-20:) Trying to
> add a new host at http://10.11.1.122 in data center 1
> INFO  [utils.exception.CSExceptionErrorCode] (catalina-exec-20:) Could not
> find exception: com.cloud.exception.DiscoveryException in error code list
> for exceptions
> WARN  [cloud.resource.ResourceManagerImpl] (catalina-exec-20:) Unable to
> find the server resources at http://10.11.1.122
> INFO  [utils.exception.CSExceptionErrorCode] (catalina-exec-20:) Could not
> find exception: com.cloud.exception.DiscoveryException in error code list
> for exceptions
> WARN  [admin.host.AddHostCmd] (catalina-exec-20:) Exception:
> com.cloud.exception.DiscoveryException: Unable to add the host
>     at
>
> com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:867)
>     at
>
> com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:619)
>     at
>
> org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143)
>     at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
>     at com.cloud.api.ApiServer.queueCommand(ApiServer.java:505)
>     at com.cloud.api.ApiServer.handleRequest(ApiServer.java:355)
>     at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:302)
>     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:1146)
>     at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>     at java.lang.Thread.run(Thread.java:679)
> INFO  [cloud.api.ApiServer] (catalina-exec-20:) Unable to add the host
>
>
> HELP !!!!
>
>
> thanks,
>
>
> regards,
> punith s
> CB
>