Github user swill commented on the pull request:

    https://github.com/apache/cloudstack/pull/1331#issuecomment-218591057
  
    @syed can you have a look at this one.
    
    I am not sure why, but I am having a lot of trouble with this PR.  I have 
not been able to get a test run to actually works.  I have tried to run CI on 
this 3 times and I always get the following:
    
    ```
    INFO  [c.c.r.ResourceManagerImpl] (ApiServer-1:ctx-7bf8070e ctx-cdcb3f39) 
(logid:2044d020) Trying to add a new host at http://kvm1 in data center 1
    INFO  [o.a.c.f.j.i.AsyncJobManagerImpl] 
(AsyncJobMgr-Heartbeat-1:ctx-412302f9) (logid:5b139200) Begin cleanup expired 
async-jobs
    INFO  [o.a.c.f.j.i.AsyncJobManagerImpl] 
(AsyncJobMgr-Heartbeat-1:ctx-412302f9) (logid:5b139200) End cleanup expired 
async-jobs
    INFO  [o.a.c.e.o.NetworkOrchestrator] (Network-Scavenger-1:ctx-a52a3147) 
(logid:86cda124) NetworkGarbageCollector uses '10' seconds for GC interval.
    INFO  [c.c.h.k.d.LibvirtServerDiscoverer] (ApiServer-1:ctx-7bf8070e 
ctx-cdcb3f39) (logid:2044d020) cloudstack agent setup command failed: 
cloudstack-setup-agent  -m 192.168.22.61 -z 1 -p 1 -c 1 -g 
57acd541-cd37-34ea-af6a-dc6ecd007325 -a --pubNic=cloudbr0 --prvNic=cloudbr1 
--guestNic=cloudbr0 --hypervisor=kvm
    WARN  [c.c.r.ResourceManagerImpl] (ApiServer-1:ctx-7bf8070e ctx-cdcb3f39) 
(logid:2044d020) Unable to find the server resources at http://kvm1
    INFO  [c.c.u.e.CSExceptionErrorCode] (ApiServer-1:ctx-7bf8070e 
ctx-cdcb3f39) (logid:2044d020) Could not find exception: 
com.cloud.exception.DiscoveryException in error code list for exceptions
    WARN  [o.a.c.a.c.a.h.AddHostCmd] (ApiServer-1:ctx-7bf8070e ctx-cdcb3f39) 
(logid:2044d020) Exception: 
    com.cloud.exception.DiscoveryException: Unable to add the host
            at 
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:802)
            at 
com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:597)
            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.$Proxy159.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:698)
            at com.cloud.api.ApiServer.handleRequest(ApiServer.java:529)
            at com.cloud.api.ApiServer.handle(ApiServer.java:434)
            at 
org.apache.http.protocol.HttpService.doService(HttpService.java:423)
            at 
org.apache.http.protocol.HttpService.handleRequest(HttpService.java:341)
            at 
com.cloud.api.ApiServer$WorkerTask.runInContext(ApiServer.java:1236)
            at 
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
            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 
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
            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:745)
    INFO  [c.c.a.ApiServer] (ApiServer-1:ctx-7bf8070e ctx-cdcb3f39) 
(logid:2044d020) Unable to add the host
    ```
    
    The fact that both Jenkins and Travis are failing may also be relevant.  


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to