Yeah, even after using the newer devcloud2 instance, I'm still not able to get it to work. Still seeing errors for the directory and others.
Amogh - what errors are you seeing? >From deploy marvin: cloudstackException.cloudstackAPIException: Execute cmd: addhost failed, due to: errorCode: 530, errorText:Cannot transit agent status with event AgentDisconnected for host 1, mangement server id is 8796757504512,Unable to transition to a new state from Creating via AgentDisconnected mgmt server log: ARN [c.c.a.m.DirectAgentAttache] (DirectAgent-1:ctx-bef0aa48) Seq 1-9152158867746979841: Exception Caught while executing command com.cloud.utils.exception.CloudRuntimeException: Cannot create directory /opt/cloud/bin on XenServer hosts at com.cloud.hypervisor.xen.resource.CitrixResourceBase.setupServer(CitrixResourceBase.java:4843) at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:4669) at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:490) at com.cloud.hypervisor.xen.resource.XcpOssResource.executeRequest(XcpOssResource.java:176) at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:216) 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.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) 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:724) WARN [c.c.h.x.d.XcpServerDiscoverer] (15756059@qtp-13139836-0:ctx-a51fbd54 ctx-e6b9836a ctx-f62ead06) Unable to setup agent 1 due to com.cloud.utils.exception.CloudRuntimeException: Cannot create directory /opt/cloud/bin on XenServer hosts INFO [c.c.u.e.CSExceptionErrorCode] (15756059@qtp-13139836-0:ctx-a51fbd54 ctx-e6b9836a ctx-f62ead06) Could not find exception: com.cloud.exception.ConnectionException in error code list for exceptions WARN [c.c.a.m.AgentManagerImpl] (15756059@qtp-13139836-0:ctx-a51fbd54 ctx-e6b9836a ctx-f62ead06) Monitor XcpServerDiscoverer says there is an error in the connect process for 1 due to Reinitialize agent after setup. INFO [c.c.a.m.AgentManagerImpl] (15756059@qtp-13139836-0:ctx-a51fbd54 ctx-e6b9836a ctx-f62ead06) Host 1 is disconnecting with event AgentDisconnected WARN [c.c.r.ResourceManagerImpl] (15756059@qtp-13139836-0:ctx-a51fbd54 ctx-e6b9836a ctx-f62ead06) Unable to connect due to com.cloud.exception.ConnectionException: Reinitialize agent after setup. at com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.processConnect(XcpServerDiscoverer.java:657) at com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:514) at com.cloud.agent.manager.AgentManagerImpl.handleDirectConnectAgent(AgentManagerImpl.java:1427) at com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1765) at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:773) at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:586) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) On Wed, Apr 16, 2014 at 1:40 PM, Amogh Vasekar <amogh.vase...@citrix.com>wrote: > Let me know if you get it working, hasn't been for me. > > Thanks, > Amogh > > On 4/16/14 5:20 AM, "David Grizzanti" <dgrizzanti.cloudst...@gmail.com> > wrote: > > >Didn't realize there was a new version of devcloud - thanks for the tip. > > Will try this out! > > > > > >On Wed, Apr 16, 2014 at 1:30 AM, Punith S <punit...@cloudbyte.com> wrote: > > > >> hi, > >> > >> check whether you are using the new updated devcloud2(1.3GB) for 4.3 > >> onwards! > >> ref - https://cwiki.apache.org/confluence/display/CLOUDSTACK/DevCloud > >> > >> and its recommended to use devcloud as host only mode. > >> thanks, > >> > >> > >> > >> On Wed, Apr 16, 2014 at 12:18 AM, David Grizzanti < > >> david.grizza...@sungard.com> wrote: > >> > >> > All, > >> > > >> > I am facing an issue when trying to get devcloud2 running with latest > >> code > >> > from 4.4 branch. There was a similar email to this a few weeks back on > >> > master, but I did not see any resolution. > >> > > >> > I'm running everything in side of devcloud2 (mgmt server, mysql, xen). > >> > > >> > Seeing the following errors when trying to deploy an initial zone. > >>Don't > >> > see any issues with creating the /opt/cloud/bin directory inside the > >>VM. > >> > > >> > WARN [c.c.a.m.DirectAgentAttache] (DirectAgent-37:ctx-0d57a0bf) Seq > >> > 3-8906994163031998465: Exception Caught while executing command > >> > com.cloud.utils.exception.CloudRuntimeException: Cannot create > >>directory > >> > /opt/cloud/bin on XenServer hosts > >> > at > >> > > >> > >>com.cloud.hypervisor.xen.resource.CitrixResourceBase.setupServer(CitrixRe > >>sourceBase.java:4842) > >> > at > >> > > >> > >>com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResour > >>ceBase.java:4668) > >> > at > >> > > >> > >>com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(Citri > >>xResourceBase.java:489) > >> > at > >> > > >> > >>com.cloud.hypervisor.xen.resource.XcpOssResource.executeRequest(XcpOssRes > >>ource.java:176) > >> > at > >> > > >> > >>com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentA > >>ttache.java:216) > >> > at > >> > > >> > >>org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(Manage > >>dContextRunnable.java:49) > >> > at > >> > > >> > >>org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(D > >>efaultManagedContext.java:56) > >> > at > >> > > >> > >>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWith > >>Context(DefaultManagedContext.java:103) > >> > at > >> > > >> > >>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithC > >>ontext(DefaultManagedContext.java:53) > >> > at > >> > > >> > >>org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedC > >>ontextRunnable.java:46) > >> > at > >> > > >>java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > >> > at > >> > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) > >> > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > >> > at > >> > > >> > >>java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.acce > >>ss$201(ScheduledThreadPoolExecutor.java:178) > >> > at > >> > > >> > >>java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run( > >>ScheduledThreadPoolExecutor.java:292) > >> > at > >> > > >> > >>java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java > >>:1145) > >> > at > >> > > >> > >>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.jav > >>a:615) > >> > at java.lang.Thread.run(Thread.java:724) > >> > WARN [c.c.h.x.d.XcpServerDiscoverer] (AgentTaskPool-13:ctx-5015bd03) > >> > Unable to setup agent 3 due to > >> > com.cloud.utils.exception.CloudRuntimeException: Cannot create > >>directory > >> > /opt/cloud/bin on XenServer hosts > >> > INFO [c.c.u.e.CSExceptionErrorCode] (AgentTaskPool-13:ctx-5015bd03) > >> Could > >> > not find exception: com.cloud.exception.ConnectionException in error > >>code > >> > list for exceptions > >> > WARN [c.c.a.m.AgentManagerImpl] (AgentTaskPool-13:ctx-5015bd03) > >>Monitor > >> > XcpServerDiscoverer says there is an error in the connect process for > >>3 > >> due > >> > to Reinitialize agent after setup. > >> > INFO [c.c.a.m.AgentManagerImpl] (AgentTaskPool-13:ctx-5015bd03) Host > >>3 > >> is > >> > disconnecting with event AgentDisconnected > >> > WARN [c.c.r.ResourceManagerImpl] (AgentTaskPool-13:ctx-5015bd03) > >>Unable > >> > to connect due to > >> > com.cloud.exception.ConnectionException: Reinitialize agent after > >>setup. > >> > at > >> > > >> > >>com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.processConnect(Xc > >>pServerDiscoverer.java:658) > >> > at > >> > > >> > >>com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(Agent > >>ManagerImpl.java:514) > >> > at > >> > > >> > >>com.cloud.agent.manager.AgentManagerImpl.handleDirectConnectAgent(AgentMa > >>nagerImpl.java:1428) > >> > at > >> > > >> > >>com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManager > >>Impl.java:1767) > >> > at > >> > > >> > >>com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManager > >>Impl.java:1893) > >> > at sun.reflect.GeneratedMethodAccessor226.invoke(Unknown > >>Source) > >> > at > >> > > >> > >>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI > >>mpl.java:43) > >> > at java.lang.reflect.Method.invoke(Method.java:606) > >> > at > >> > > >> > >>org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(A > >>opUtils.java:317) > >> > at > >> > > >> > >>org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpo > >>int(ReflectiveMethodInvocation.java:183) > >> > at > >> > > >> > >>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refl > >>ectiveMethodInvocation.java:150) > >> > at > >> > > >> > >>org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(Ex > >>poseInvocationInterceptor.java:91) > >> > at > >> > > >> > >>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refl > >>ectiveMethodInvocation.java:172) > >> > at > >> > > >> > >>org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAop > >>Proxy.java:204) > >> > at com.sun.proxy.$Proxy147.createHostAndAgent(Unknown Source) > >> > at > >> > > >> > >>com.cloud.agent.manager.AgentManagerImpl$SimulateStartTask.runInContext(A > >>gentManagerImpl.java:1070) > >> > at > >> > > >> > >>org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(Manage > >>dContextRunnable.java:49) > >> > at > >> > > >> > >>org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(D > >>efaultManagedContext.java:56) > >> > at > >> > > >> > >>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWith > >>Context(DefaultManagedContext.java:103) > >> > at > >> > > >> > >>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithC > >>ontext(DefaultManagedContext.java:53) > >> > at > >> > > >> > >>org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedC > >>ontextRunnable.java:46) > >> > at > >> > > >> > >>java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java > >>:1145) > >> > at > >> > > >> > >>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.jav > >>a:615) > >> > at java.lang.Thread.run(Thread.java:724) > >> > > >> > Any help would be appreciated. Thanks! > >> > > >> > -- > >> > David Grizzanti > >> > Software Engineer > >> > Sungard Availability Services > >> > e: david.grizza...@sungard.com > >> > w: 215-446-1431 > >> > c: 570-575-0315 > >> > >> > >> > >> > >> -- > >> regards, > >> > >> punith s > >> cloudbyte.com > >> > >