Community
 
 
 

CloudPlatform 3.x

343フォロワー
 
Avatar
Pankaj Paliwal

Unable to add the external cluster vmware 4.1

Avatar

Unable to add the external cluster vmware 4.1

Hi all,

I'm try to configure Cloudstack 3.0.2 for managing vmware cluster, but when I launched wizard to add a cluster, appears the following message "Unable to add the external cluster". The Zone and Pod infrastructure were created successfully.

This is the output of "/var/log/cloud/management/management-server.log":

2012-05-19 13:46:36,464 INFO [hypervisor.vmware.VmwareServerDiscoverer] (catalina-exec-1:null) Discover host. dc: 1, pod: 1, cluster: 10, uri host: 192.168.10.31
2012-05-19 13:46:36,474 DEBUG vmware.resource.VmwareContextFactory] (catalina-exec-1:null) initialize VmwareContext. url: [192.168.10.31/sdk/vimService, username: administrator, password: K******
2012-05-19 13:46:38,567 WARN [hypervisor.vmware.VmwareServerDiscoverer] (catalina-exec-1:null) Unable to connect to Vmware vSphere server. service address: 192.168.10.31
2012-05-19 13:46:38,793 WARN cloud.resource.ResourceManagerImpl] (catalina-exec-1:null) Unable to find the server resources at [192.168.10.31/Datacenter/cluster
2012-05-19 13:46:38,827 WARN [api.commands.AddClusterCmd] (catalina-exec-1:null) Exception:
com.cloud.exception.DiscoveryException: Unable to add the external cluster
at com.cloud.resource.ResourceManagerImpl.discoverCluster(ResourceManagerImpl.java:461)
............................
2012-05-19 13:46:38,829 WARN [cloud.api.ApiDispatcher] (catalina-exec-1:null) class com.cloud.api.ServerApiException : Unable to add the external cluster

I checked the IP/TCP connectivity between CloudStack server and vcenter server with "nmap" and these are the open ports (from CloudStack server to vcenter server):

PORT STATE SERVICE
80/tcp open http
135/tcp open msrpc
139/tcp open netbios-ssn
389/tcp open ldap
443/tcp open https
445/tcp open microsoft-ds
3389/tcp open ms-term-serv
8009/tcp open ajp13
8080/tcp open http-proxy
8443/tcp open https-alt

I use CloudStack 3.0.2 version and CentOS 6.2, Vcenter is installed on Windows Server 2008 Ent. Ed. SP1 with disabled firewall (Domain, Private and Public is disabled). And both server are in the same subnet (192.168.10.0/24).

The vsphere cluster has two ESXi hosts (4.1 U2 version). The ESXi hosts have not any deployed VM.

In vcenter:
- the tomcat service is up & running (I checked with VMWARE VirtualCenter Management WebServices).
- the name of datacenter is "Datacenter".
- The name of cluster is "cluster".

These are the values I use to try adding a vmware cluster in CloudStack:

Hypervisor: VMware
Pod: Pod-1 (is Ok, and the zone is enabled previusly)
Cluster Name: cluster
vCenter Host: 192.168.10.31
vCenter Name: administrator
vCenter Password: K******
vCenter Datacenter: Datacenter

Other test, with RESTClient anwser to "192.168.10.31/sdk/vimService?wsdl" and the response was "Status Code= 200 OK" and then I suppose tomcat is responding, the URI is OK, the credentials are ok, and the message "Unable to connect to Vmware vSphere server" isn't totally true ...

I'm dummy using CloudStack: I apologize if any information has been discussed in others topics. But reading cloudstack.org forum I don't meet the solution to my issue.

Please, could you tell me how to fix this situation?? I don't know what else I can do ...

If you need any additional info don't hesitate request it.

Many thanks in advance for your support.


Enrique Ladron de Guevara MEMBERS
4件のコメント
0

サインインしてコメントを残してください。

 
 

Previous 4件のコメント

Avatar
Pankaj Paliwal
Avatar

Unable to add the external cluster vmware 4.1

If this isn't already resolved, attach the snippet of the log to the thread at a text file (or zipped), including the full exception.

___
{color:#555555}Kirk Kosinski{color} !http://www.linkedin.com/favicon.ico!
{color:#999999}MCITP: EA / VA / EDA7, VCP 4 / 5, CCA{color}


Kirk Kosinski CITRIX EMPLOYEES
コメントアクション パーマリンク
Avatar
Pankaj Paliwal
Avatar

This is the fragment:

2012-05-19 13:46:29,837 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 routers.
2012-05-19 13:46:36,464 INFO [hypervisor.vmware.VmwareServerDiscoverer] (catalina-exec-1:null) Discover host. dc: 1, pod: 1, cluster: 10, uri host: 192.168.10.31
2012-05-19 13:46:36,474 DEBUG [vmware.resource.VmwareContextFactory] (catalina-exec-1:null) initialize VmwareContext. url: https://192.168.10.31/sdk/vimService, username: administrator, password: K******
2012-05-19 13:46:38,567 WARN [hypervisor.vmware.VmwareServerDiscoverer] (catalina-exec-1:null) Unable to connect to Vmware vSphere server. service address: 192.168.10.31
2012-05-19 13:46:38,793 WARN [cloud.resource.ResourceManagerImpl] (catalina-exec-1:null) Unable to find the server resources at http://192.168.10.31/Datacenter/cluster
2012-05-19 13:46:38,827 WARN [api.commands.AddClusterCmd] (catalina-exec-1:null) Exception:
com.cloud.exception.DiscoveryException: Unable to add the external cluster
at com.cloud.resource.ResourceManagerImpl.discoverCluster(ResourceManagerImpl.java:461)
at com.cloud.api.commands.AddClusterCmd.execute(AddClusterCmd.java:124)
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)
2012-05-19 13:46:38,829 WARN [cloud.api.ApiDispatcher] (catalina-exec-1:null) class com.cloud.api.ServerApiException : Unable to add the external cluster

And attached the log file.

Thanks,
Regards.

Attached Files


Enrique Ladron de Guevara MEMBERS
コメントアクション パーマリンク
Avatar
Pankaj Paliwal
Avatar

Check vmware.management.portgroup in Global Settings and make sure it matches the port group name used for the management network in your vSphere. Also you can try CloudStack 3.0.3 now that it has been released as there have been some improvements in this area.

___
{color:#555555}Kirk Kosinski{color} !http://www.linkedin.com/favicon.ico!
{color:#999999}MCITP: EA / VA / EDA7, VCP 4 / 5, CCA{color}


Kirk Kosinski CITRIX EMPLOYEES
コメントアクション パーマリンク
Avatar
Pankaj Paliwal
Avatar

I am having trouble adding VSphere cluster to cloudstack POD . Please HELP

WARN [hypervisor.vmware.VmwareServerDiscoverer] (catalina-exec-15:) Unable to connect to Vmware vSphere server. service address: ap-vcenter01
WARN [cloud.resource.ResourceManagerImpl] (catalina-exec-15:) Unable to find the server resources at http://ap-vcenter01/New York/Development
WARN [api.commands.AddClusterCmd] (catalina-exec-15:) Exception:
com.cloud.exception.DiscoveryException: Unable to add the external cluster
at com.cloud.resource.ResourceManagerImpl.discoverCluster(ResourceManagerImpl.java:461)
at com.cloud.api.commands.AddClusterCmd.execute(AddClusterCmd.java:124)
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 [cloud.api.ApiDispatcher] (catalina-exec-15:) class com.cloud.api.ServerApiException : Unable to add the external cluster


Tito Panicker MEMBERS
コメントアクション パーマリンク

Top Contributors