You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Carlos Teixeira (JIRA)" <ji...@apache.org> on 2017/10/20 15:19:00 UTC

[jira] [Created] (CLOUDSTACK-10114) Unable To Add Host

Carlos Teixeira created CLOUDSTACK-10114:
--------------------------------------------

             Summary: Unable To Add Host
                 Key: CLOUDSTACK-10114
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10114
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Install and Setup, KVM
    Affects Versions: 4.9.0
         Environment: Ubuntu Server 14.04
            Reporter: Carlos Teixeira


I am trying to add host, but i get "Unable to add the host".
My managment server is the host...

management-server.log

2017-10-20 16:04:04,011 WARN  [c.c.r.ResourceManagerImpl] (catalina-exec-14:ctx-fefa8517 ctx-7d372da6) (logid:5d4167b8) Unable to find the server resources at http://172.20.11.200
2017-10-20 16:04:04,013 INFO  [c.c.u.e.CSExceptionErrorCode] (catalina-exec-14:ctx-fefa8517 ctx-7d372da6) (logid:5d4167b8) Could not find exception: com.cloud.exception.DiscoveryException in error code list for exceptions
2017-10-20 16:04:04,014 WARN  [o.a.c.a.c.a.h.AddHostCmd] (catalina-exec-14:ctx-fefa8517 ctx-7d372da6) (logid:5d4167b8) Exception:
com.cloud.exception.DiscoveryException: Unable to add the host
        at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:806)
        at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:598)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at com.sun.proxy.$Proxy161.discoverHosts(Unknown Source)
        at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:142)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:150)
        at com.cloud.api.ApiServer.queueCommand(ApiServer.java:731)
        at com.cloud.api.ApiServer.handleRequest(ApiServer.java:555)
        at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:299)
        at com.cloud.api.ApiServlet$1.run(ApiServlet.java:129)
        at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
        at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
        at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
        at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:126)
        at com.cloud.api.ApiServlet.doPost(ApiServlet.java:93)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
        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:103)
        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:891)
        at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:750)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2283)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:622)
        at java.lang.Thread.run(Thread.java:748)
2017-10-20 16:04:04,018 INFO  [c.c.a.ApiServer] (catalina-exec-14:ctx-fefa8517 ctx-7d372da6) (logid:5d4167b8) Unable to add the host
2017-10-20 16:04:04,019 DEBUG [c.c.a.ApiServlet] (catalina-exec-14:ctx-fefa8517 ctx-7d372da6) (logid:5d4167b8) ===END===  172.20.100.129 -- POST  command=addHost&response=json





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)