HI, thanks all.

I permit all UDP ports in firewall, and it works.

By the way, is there a way to import some old VMs to cloudstack? they are under my vCenter but can not be see in Cloudstack.

-----------
Cao Tong

On 10/14/2015 04:16 PM, Glenn Wagner wrote:
Exactly what Tim just said , can the management server connect to the vmware

Example: curl https://10.0.2.126/sdk/vimService.wsdl from the management server

Glenn Wagner
Senior Consultant, South Africa



Phone: +27 21 527 0091 | Mobile: +27 73 917 4111

[email protected] | www.shapeblue.com | Twitter:@shapeBlue
ShapeBlue SA (Pty) Ltd, 2nd Floor, Oudehuis Centre, 122 Main Rd, Somerset West, 
Cape Town 7130

-----Original Message-----
From: Timothy Lothering [mailto:[email protected]]
Sent: Wednesday, 14 October 2015 10:07 AM
To: [email protected]
Subject: RE: ERROR when Adding vCenter 5.5 cluster to Cloudstack 4.4

Hi,

Just looking at the snippet:

1. vCenter Server IP = 10.0.2.126?
2. Management Server IP = 10.0.16.102?

Are these networks routable?

 From the error below, ACS cannot reach vCenter (Assuming vCenter is working 
100% and everything else is configured correctly)

I also see that it is trying to use HTTP, should it not be HTTPS?

Regards,
Timothy Lothering
Solutions Architect
Managed Services

T: +27877415535
F: +27877415100
C: +27824904099
E: [email protected]


DISCLAIMER NOTICE:

Everything in this e-mail and any attachments relating to the official business 
of Datacentrix Holdings Ltd. and its subsidiaries
('Datacentrix') is proprietary to Datacentrix. It is confidential, legally 
privileged and protected by law. Datacentrix does not own and endorse any other 
content. Views and opinions are those of the sender unless clearly stated as 
being that of Datacentrix.
The person addressed in the e-mail is the sole authorised recipient. Please 
notify the sender immediately if it has unintentionally reached you and do not 
read, disclose or use the content in any way. Datacentrix cannot assure that 
the integrity of this communication has been maintained nor that it is free of 
errors, virus, interception or interference.
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Wednesday, 14 October 2015 9:28 AM
To: [email protected]
Subject: Re: ERROR when Adding vCenter 5.5 cluster to Cloudstack 4.4


HI, Glenn,

      Yes I install a new clear vCenter Server 5.5 under Windows server 2008.  
and there is a new clear vsphere 5.5 .

-----------
Cao Tong

On 10/14/2015 03:14 PM, Glenn Wagner wrote:
Hi,

Are you using a new installation on Vmware (Clean Install)?


Glenn Wagner
Senior Consultant, South Africa



Phone: +27 21 527 0091 | Mobile: +27 73 917 4111

[email protected] | www.shapeblue.com | Twitter:@shapeBlue
ShapeBlue SA (Pty) Ltd, 2nd Floor, Oudehuis Centre, 122 Main Rd,
Somerset West, Cape Town 7130

-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Wednesday, 14 October 2015 8:44 AM
To: [email protected]
Subject: ERROR when Adding vCenter 5.5 cluster to Cloudstack 4.4


Could Anyone help to identified which setting should I change to fix
this error ?  Thanks


2015-10-14 14:11:31,615 DEBUG [c.c.a.ApiServlet]
(catalina-exec-16:ctx-4164dc8b) ===START===  10.0.16.102 -- POST
command=addCluster&zoneId=a8ac4174-634f-4d3f-b5b8-279069bec599&hypervi
sor=VMware&clustertype=ExternalManaged&podId=c36e0aac-8eec-4fa6-bd06-2
04a64926488&username=Administrator&publicvswitchtype=vmwaredvs&guestvs
witchtype=vmwaredvs&url=http%3A%2F%2F10.0.2.126%2FvCenter%2FvCluster&c
lustername=10.0.2.126%2FvCenter%2FvCluster&response=json&sessionkey=eA
irHdVJSpKxHJUYaBBLlRdLMw0%3D
2015-10-14 14:11:31,649 INFO  [c.c.h.v.VmwareServerDiscoverer]
(catalina-exec-16:ctx-4164dc8b ctx-33a6e360) Discover host. dc: 4, pod:
4, cluster: 12, uri host: 10.0.2.126
2015-10-14 14:11:31,682 DEBUG [c.c.h.v.r.VmwareContextFactory]
(catalina-exec-16:ctx-4164dc8b ctx-33a6e360) initialize VmwareContext.
url: https://10.0.2.126/sdk/vimService, username: Administrator,
password: P*******
2015-10-14 14:11:32,263 WARN  [c.c.h.v.VmwareServerDiscoverer]
(catalina-exec-16:ctx-4164dc8b ctx-33a6e360) Unable to connect to
Vmware vSphere server. service address: 10.0.2.126
2015-10-14 14:11:32,263 WARN  [c.c.r.ResourceManagerImpl]
(catalina-exec-16:ctx-4164dc8b ctx-33a6e360) Unable to find the server
resources at http://10.0.2.126/vCenter/vCluster
2015-10-14 14:11:32,263 INFO  [c.c.u.e.CSExceptionErrorCode]
(catalina-exec-16:ctx-4164dc8b ctx-33a6e360) Could not find exception:
com.cloud.exception.DiscoveryException in error code list for
exceptions
2015-10-14 14:11:32,330 WARN  [o.a.c.a.c.a.c.AddClusterCmd]
(catalina-exec-16:ctx-4164dc8b ctx-33a6e360) Exception:
com.cloud.exception.DiscoveryException: Unable to add the external cluster
           at
com.cloud.resource.ResourceManagerImpl.discoverCluster(ResourceManagerImpl.java:530)
           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.$Proxy148.discoverCluster(Unknown Source)
           at
org.apache.cloudstack.api.command.admin.cluster.AddClusterCmd.execute(AddClusterCmd.java:196)
           at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
           at com.cloud.api.ApiServer.queueCommand(ApiServer.java:680)
           at com.cloud.api.ApiServer.handleRequest(ApiServer.java:509)
           at
com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:330)
           at com.cloud.api.ApiServlet.access$000(ApiServlet.java:54)
           at com.cloud.api.ApiServlet$1.run(ApiServlet.java:118)
           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 com.cloud.api.ApiServlet.processRequest(ApiServlet.java:115)
           at com.cloud.api.ApiServlet.doPost(ApiServlet.java:82)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
           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:1145)
           at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
           at java.lang.Thread.run(Thread.java:745)


--
-----------
Cao Tong


Find out more about ShapeBlue and our range of CloudStack related
services

IaaS Cloud Design &
Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment
framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Software
Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure
Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training
Courses<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended solely 
for the use of the individual to whom it is addressed. Any views or opinions 
expressed are solely those of the author and do not necessarily represent those of 
Shape Blue Ltd or related companies. If you are not the intended recipient of this 
email, you must neither take any action based upon its contents, nor copy or show 
it to anyone. Please contact the sender if you believe you have received this email 
in error. Shape Blue Ltd is a company incorporated in England & Wales. 
ShapeBlue Services India LLP is a company incorporated in India and is operated 
under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company 
incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue 
SA Pty Ltd is a company registered by The Republic of South Africa and is traded 
under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Software 
Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended solely 
for the use of the individual to whom it is addressed. Any views or opinions 
expressed are solely those of the author and do not necessarily represent those of 
Shape Blue Ltd or related companies. If you are not the intended recipient of this 
email, you must neither take any action based upon its contents, nor copy or show 
it to anyone. Please contact the sender if you believe you have received this email 
in error. Shape Blue Ltd is a company incorporated in England & Wales. 
ShapeBlue Services India LLP is a company incorporated in India and is operated 
under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company 
incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue 
SA Pty Ltd is a company registered by The Republic of South Africa and is traded 
under license from Shape Blue Ltd. ShapeBlue is a registered trademark.



Reply via email to