cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Finko <denis.fi...@ecommerce.com>
Subject Re: Can't create cluster in CS 4.2
Date Wed, 23 Oct 2013 10:51:08 GMT
Links to attached files:
http://imageshack.us/photo/my-images/594/7oi1.png/
http://imageshack.us/photo/my-images/841/w1i7.png/
http://imageshack.us/photo/my-images/856/e31y.png/
http://imageshack.us/photo/my-images/201/x45.png/
http://imageshack.us/photo/my-images/17/avd4.png/

On 10/23/2013 01:40 PM, Denis Finko wrote:
> Hello CloudStack community,
>
> Could you please help found source of following issue and how to fix it.
> I am tring to configure CloudStack 4.2 (installed from cloudstack repo
> baseurl=http://cloudstack.apt-get.eu/rhel/4.2/) with VMware 5.1. During
> adding new zone into UI I have got following error:
>
> "Unable to add the external cluster"
>
> We have following networking configuration in vSphere Client:
> Standard Switch: vSwitch0
> -Virtual Machine Port Group (VM Network)  --vmnic0
> -VMkernel Port (Management Network)
>
> Standard Switch: vSwitch1
> -VMkernel Port (Storage1)          --vmnic2
>
>
> management-server.log:
> 2013-10-23 05:36:03,534 DEBUG [cloud.api.ApiServlet]
> (catalina-exec-22:null) ===START===  193.142.124.9 -- GET 
> command=addCluster&zoneId=4f28654f-e767-4be2-b32f-39f634a01746&hypervisor=VMware&clustertype=ExternalManaged&podId=94e55d0c-3ea9-4dbc-800b-854262fd2674&username=Administrator&url=http%3A%2F%2F10.199.0.40%2Fcs4%2Fcs4it&clustername=10.199.0.40%2Fcs4%2Fcs4it&response=json&sessionkey=uAl68djojOPwUBfhwxw8OwodZuE%3D&_=1382520964075
> 2013-10-23 05:36:03,643 INFO  [hypervisor.vmware.VmwareServerDiscoverer]
> (catalina-exec-22:null) Discover host. dc: 1, pod: 1, cluster: 1, uri
> host: 10.199.0.40
> 2013-10-23 05:36:03,689 INFO  [hypervisor.vmware.VmwareServerDiscoverer]
> (catalina-exec-22:null) Detected private network label : vSwitch0,
> 2013-10-23 05:36:03,689 DEBUG [vmware.resource.VmwareContextFactory]
> (catalina-exec-22:null) initialize VmwareContext. url:
> https://10.199.0.40/sdk/vimService, username: Administrator, password:
> r*******
> 2013-10-23 05:36:03,817 INFO  [vmware.util.VmwareContext]
> (catalina-exec-22:null) New VmwareContext object, current outstanding
> count: 1
> 2013-10-23 05:36:03,952 INFO  [vmware.manager.VmwareManagerImpl]
> (catalina-exec-22:null) Preparing network on host
> com.cloud.hypervisor.vmware.util.VmwareContext@60e2e3d4 for vSwitch0,
> 2013-10-23 05:36:03,999 ERROR [vmware.mo.HypervisorHostHelper]
> (catalina-exec-22:null) Unable to find vSwitchvSwitch0,
> 2013-10-23 05:36:03,999 WARN  [hypervisor.vmware.VmwareServerDiscoverer]
> (catalina-exec-22:null) Unable to connect to Vmware vSphere server.
> service address: 10.199.0.40
> 2013-10-23 05:36:04,012 WARN  [cloud.resource.ResourceManagerImpl]
> (catalina-exec-22:null) Unable to find the server resources at
> http://10.199.0.40/cs4/cs4it
> 2013-10-23 05:36:04,014 INFO  [utils.exception.CSExceptionErrorCode]
> (catalina-exec-22:null) Could not find exception:
> com.cloud.exception.DiscoveryException in error code list for exceptions
> 2013-10-23 05:36:04,095 WARN  [admin.cluster.AddClusterCmd]
> (catalina-exec-22:null) Exception:
> com.cloud.exception.DiscoveryException: Unable to add the external cluster
>         at
> com.cloud.resource.ResourceManagerImpl.discoverCluster(ResourceManagerImpl.java:533)
>         at
> com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>         at
> org.apache.cloudstack.api.command.admin.cluster.AddClusterCmd.execute(AddClusterCmd.java:181)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
>         at com.cloud.api.ApiServer.queueCommand(ApiServer.java:514)
>         at com.cloud.api.ApiServer.handleRequest(ApiServer.java:372)
>         at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:305)
>         at com.cloud.api.ApiServlet.doGet(ApiServlet.java:66)
>         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:2274)
>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:679)
> 2013-10-23 05:36:04,096 INFO  [cloud.api.ApiServer]
> (catalina-exec-22:null) Unable to add the external cluster
>
> Also please take a look to attached screenshots which I have done during
> CloudStack networking configuration.
>
> Thank you!
>

-- 
Best regards,

Denis Finko
System Administrator, SA
Ecommerce corporation
www.ecommerce.com


Mime
View raw message