You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Mike Tutkowski (JIRA)" <ji...@apache.org> on 2014/03/04 07:52:20 UTC

[jira] [Commented] (CLOUDSTACK-6193) Can't create cloud with XenServer host

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-6193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13919061#comment-13919061 ] 

Mike Tutkowski commented on CLOUDSTACK-6193:
--------------------------------------------

It turns out the behavior has been changed in 4.4, so the way I had been configuring XenServer hosts in my development environment over the past year would no longer work.

Anthony provided me with the solution:

Hi Mike,

If you are using Security group enabled zone or basic zone, you need to switch XS network mode from OVS to bridge since security group doesn't work on OVS.

xe-switch-network-backend bridge.


Anthony

> Can't create cloud with XenServer host
> --------------------------------------
>
>                 Key: CLOUDSTACK-6193
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6193
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Xen
>    Affects Versions: 4.4.0
>         Environment: Ubuntu 12.04 for management server
> XenServer 6.1
>            Reporter: Mike Tutkowski
>            Priority: Blocker
>             Fix For: 4.4.0
>
>
> When I walk through the CS wizard to create a Basic Zone in 4.4, I encounter an error when CS tries to add my XenServer 6.1 host (Kelven has also noticed this error).
> Here is a stack trace:
> 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)



--
This message was sent by Atlassian JIRA
(v6.2#6252)