You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by tawfiq zidi <ta...@gmail.com> on 2013/04/03 11:27:11 UTC

XenServer mangement IP with VLAN

Hi,


I am trying to install advanced networking , for this purpose i am using
XenServer 5.6 SP2 that have one NIC and two IPs ( one public IP attached to
XenBr0 , one private IP create as virtual PIF attached to xapi1 ).

I've chosed the private IP as the managemant IP in XenServer, so it can be
consistent with Pod private IP range,
But when I am trying to add host via Cloudstack UI interface , I got an
error: *Unsupported configuration.  Management network is on a VLAN.*
*
*
*
*

Here is the Full Log trace:


INFO  [cloud.resource.ResourceManagerImpl] (catalina-exec-14:) Trying to
add a new host at http://172.20.10.25 in data center 1
INFO  [xen.discoverer.XcpServerDiscoverer] (catalina-exec-14:) Found host
ks220336.kimsufi.com ip=172.20.10.25 product version=5.6.100
WARN  [xen.resource.CitrixResourceBase] (catalina-exec-14:) Unsupported
configuration.  Management network is on a VLAN.
 host=42cc6311-4423-400c-a5bb-3abd127571c8;
pif=82c2558d-45c4-491a-868f-a4b4517290d4; vlan=2847
WARN  [xen.resource.CitrixResourceBase] (catalina-exec-14:) Unable to get
host information for 172.20.10.25
com.cloud.utils.exception.CloudRuntimeException: Unsupported configuration.
 Management network is on a VLAN.
 host=42cc6311-4423-400c-a5bb-3abd127571c8;
pif=82c2558d-45c4-491a-868f-a4b4517290d4; vlan=2847
 at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.getManagementNetwork(CitrixResourceBase.java:3390)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.getHostInfo(CitrixResourceBase.java:3861)
 at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.initialize(CitrixResourceBase.java:4038)
at
com.cloud.hypervisor.xen.resource.XenServer56Resource.initialize(XenServer56Resource.java:276)
 at
com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1550)
at
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:677)
 at
com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:514)
at com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:136)
 at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:132)
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:509)
 at com.cloud.api.ApiServer.handleRequest(ApiServer.java:416)
at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:300)
 at com.cloud.api.ApiServlet.doGet(ApiServlet.java:59)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
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:102)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
 at
org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
at
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
 at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2268)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
 at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
WARN  [xen.resource.CitrixResourceBase] (catalina-exec-14:) Unable to get
host information for 172.20.10.25
INFO  [cloud.resource.ResourceManagerImpl] (catalina-exec-14:) Unable to
fully initialize the agent because no StartupCommands are returned
INFO  [cloud.resource.ResourceManagerImpl] (catalina-exec-14:) server
resources successfully discovered by XCP Agent
WARN  [cloud.api.ApiDispatcher] (catalina-exec-14:) class
com.cloud.api.ServerApiException : Failed to add host


So how this problem can be solved ?


Best Regards.

Re: XenServer mangement IP with VLAN

Posted by Ahmad Emneina <ae...@gmail.com>.
what you want to do is configure the switchport your xen host is connected
to and have it in a mode that supports both native vlan and trunk. that way
you can assign an ip on the native vlan without tagging the interface...
and have other tagged traffic pass through the same link.


On Wed, Apr 3, 2013 at 2:27 AM, tawfiq zidi <ta...@gmail.com> wrote:

> Hi,
>
>
> I am trying to install advanced networking , for this purpose i am using
> XenServer 5.6 SP2 that have one NIC and two IPs ( one public IP attached to
> XenBr0 , one private IP create as virtual PIF attached to xapi1 ).
>
> I've chosed the private IP as the managemant IP in XenServer, so it can be
> consistent with Pod private IP range,
> But when I am trying to add host via Cloudstack UI interface , I got an
> error: *Unsupported configuration.  Management network is on a VLAN.*
> *
> *
> *
> *
>
> Here is the Full Log trace:
>
>
> INFO  [cloud.resource.ResourceManagerImpl] (catalina-exec-14:) Trying to
> add a new host at http://172.20.10.25 in data center 1
> INFO  [xen.discoverer.XcpServerDiscoverer] (catalina-exec-14:) Found host
> ks220336.kimsufi.com ip=172.20.10.25 product version=5.6.100
> WARN  [xen.resource.CitrixResourceBase] (catalina-exec-14:) Unsupported
> configuration.  Management network is on a VLAN.
>  host=42cc6311-4423-400c-a5bb-3abd127571c8;
> pif=82c2558d-45c4-491a-868f-a4b4517290d4; vlan=2847
> WARN  [xen.resource.CitrixResourceBase] (catalina-exec-14:) Unable to get
> host information for 172.20.10.25
> com.cloud.utils.exception.CloudRuntimeException: Unsupported configuration.
>  Management network is on a VLAN.
>  host=42cc6311-4423-400c-a5bb-3abd127571c8;
> pif=82c2558d-45c4-491a-868f-a4b4517290d4; vlan=2847
>  at
>
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.getManagementNetwork(CitrixResourceBase.java:3390)
> at
>
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.getHostInfo(CitrixResourceBase.java:3861)
>  at
>
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.initialize(CitrixResourceBase.java:4038)
> at
>
> com.cloud.hypervisor.xen.resource.XenServer56Resource.initialize(XenServer56Resource.java:276)
>  at
>
> com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1550)
> at
>
> com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:677)
>  at
>
> com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:514)
> at com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:136)
>  at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:132)
> at com.cloud.api.ApiServer.queueCommand(ApiServer.java:509)
>  at com.cloud.api.ApiServer.handleRequest(ApiServer.java:416)
> at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:300)
>  at com.cloud.api.ApiServlet.doGet(ApiServlet.java:59)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> 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:102)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
>  at
>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>  at
>
> org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
> at
>
> org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
>  at
>
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2268)
> at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>  at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> at java.lang.Thread.run(Thread.java:679)
> WARN  [xen.resource.CitrixResourceBase] (catalina-exec-14:) Unable to get
> host information for 172.20.10.25
> INFO  [cloud.resource.ResourceManagerImpl] (catalina-exec-14:) Unable to
> fully initialize the agent because no StartupCommands are returned
> INFO  [cloud.resource.ResourceManagerImpl] (catalina-exec-14:) server
> resources successfully discovered by XCP Agent
> WARN  [cloud.api.ApiDispatcher] (catalina-exec-14:) class
> com.cloud.api.ServerApiException : Failed to add host
>
>
> So how this problem can be solved ?
>
>
> Best Regards.
>