I've tried this with a couple different XenServer 6.1 hosts...same results.

One exception I noticed that was buried was at the top of the log (look
familiar to anyone?):

ERROR [c.c.a.ApiServer] (1182531138@qtp-1140222894-7:ctx-2111b24c
ctx-e6ecb4c0) unhandled exception executing api command: addHost
com.cloud.utils.exception.CloudRuntimeException: Cannot transit agent
status with event AgentDisconnected for host 1, mangement server id is
52231564957,Unable to transition to a new state from Creating via
AgentDisconnected
    at
com.cloud.agent.manager.AgentManagerImpl.agentStatusTransitTo(AgentManagerImpl.java:1343)
    at
com.cloud.resource.ResourceManagerImpl.markHostAsDisconnected(ResourceManagerImpl.java:1693)
    at
com.cloud.resource.ResourceManagerImpl.createHostAndAgentDeferred(ResourceManagerImpl.java:1854)
    at
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:756)
    at
com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:571)
    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.$Proxy143.discoverHosts(Unknown Source)
    at
org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:142)
    at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:168)
    at com.cloud.api.ApiServer.queueCommand(ApiServer.java:546)
    at com.cloud.api.ApiServer.handleRequest(ApiServer.java:384)
    at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:329)
    at com.cloud.api.ApiServlet.access$000(ApiServlet.java:53)
    at com.cloud.api.ApiServlet$1.run(ApiServlet.java:117)



On Thu, Feb 27, 2014 at 5:02 PM, Mike Tutkowski <
mike.tutkow...@solidfire.com> wrote:

> As it turns out, I didn't notice the second line of the exception.
> Apparently I am missing scripts:
>
> WARN  [c.c.h.x.r.CitrixResourceBase] (DirectAgent-12:ctx-9cd43d58) We
> cannot locate
> /home/mtutkowski/CloudStack/client/target/generated-webapp/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xenserver60/../../../../network/domr//call_firewall.sh
>
> I built the system how I normally do: mvn -P developer,systemvm clean
> install
>
>
> On Thu, Feb 27, 2014 at 4:57 PM, Mike Tutkowski <
> mike.tutkow...@solidfire.com> wrote:
>
>> Actually, ignore that last e-mail...I figured out what the log meant.
>>
>> However, I am still having trouble getting the CS MS to stay connected to
>> the XenServer host.
>>
>>
>> On Thu, Feb 27, 2014 at 4:55 PM, Mike Tutkowski <
>> mike.tutkow...@solidfire.com> wrote:
>>
>>> Not sure if this has anything to do with it, but part of what the log
>>> says near this exception is that it can't locate a certain folder. However,
>>> this screen shot shows that the folder in question does exist:
>>>
>>> http://i.imgur.com/ptZj9Is.png
>>>
>>>
>>> On Thu, Feb 27, 2014 at 4:30 PM, Mike Tutkowski <
>>> mike.tutkow...@solidfire.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> I've been away from the master branch for a while and am now trying to
>>>> set up an environment on it.
>>>>
>>>> I'm having trouble creating a cloud with a single XenServer 6.1 host.
>>>>
>>>> Any thoughts on this?
>>>>
>>>> Thanks!
>>>>
>>>> 2014-02-27 16:07:03,059 DEBUG [c.c.h.Status]
>>>> (AgentTaskPool-1:ctx-cb62d21c) Agent status update: [id = 1; name =
>>>> XenServer-6.1-Tut; old status = Connecting; event = AgentDisconnected; new
>>>> status = Alert; old update count = 3; new update count = 4]
>>>> 2014-02-27 16:07:03,060 DEBUG [c.c.a.m.ClusteredAgentManagerImpl]
>>>> (AgentTaskPool-1:ctx-cb62d21c) Notifying other nodes of to disconnect
>>>> 2014-02-27 16:07:03,067 WARN  [c.c.r.ResourceManagerImpl]
>>>> (AgentTaskPool-1:ctx-cb62d21c) Unable to connect due to
>>>> com.cloud.exception.ConnectionException: Reinitialize agent after setup.
>>>>     at
>>>> com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.processConnect(XcpServerDiscoverer.java:695)
>>>>     at
>>>> com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:498)
>>>>     at
>>>> com.cloud.agent.manager.AgentManagerImpl.handleDirectConnectAgent(AgentManagerImpl.java:1411)
>>>>     at
>>>> com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1738)
>>>>     at
>>>> com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1864)
>>>>     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.$Proxy143.createHostAndAgent(Unknown Source)
>>>>     at
>>>> com.cloud.agent.manager.AgentManagerImpl$SimulateStartTask.runInContext(AgentManagerImpl.java:1053)
>>>>     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:744)
>>>>
>>>>
>>>> --
>>>> *Mike Tutkowski*
>>>> *Senior CloudStack Developer, SolidFire Inc.*
>>>> e: mike.tutkow...@solidfire.com
>>>> o: 303.746.7302
>>>> Advancing the way the world uses the 
>>>> cloud<http://solidfire.com/solution/overview/?video=play>
>>>> *(tm)*
>>>>
>>>
>>>
>>>
>>> --
>>> *Mike Tutkowski*
>>> *Senior CloudStack Developer, SolidFire Inc.*
>>> e: mike.tutkow...@solidfire.com
>>> o: 303.746.7302
>>> Advancing the way the world uses the 
>>> cloud<http://solidfire.com/solution/overview/?video=play>
>>> *(tm)*
>>>
>>
>>
>>
>> --
>> *Mike Tutkowski*
>> *Senior CloudStack Developer, SolidFire Inc.*
>> e: mike.tutkow...@solidfire.com
>> o: 303.746.7302
>> Advancing the way the world uses the 
>> cloud<http://solidfire.com/solution/overview/?video=play>
>> *(tm)*
>>
>
>
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkow...@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the 
> cloud<http://solidfire.com/solution/overview/?video=play>
> *(tm)*
>



-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud<http://solidfire.com/solution/overview/?video=play>
*(tm)*

Reply via email to