You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Chris Smith <ch...@infotechfl.com> on 2013/03/21 17:38:05 UTC

Problem installing VMware Cluster in CloudStack 4.0.1

Hello list,

I am trying to add a vSphere 5.1.0 cluster. I am presented with the error:

"Unable to add the external cluster"

I don't know where to go from here.

Thank you!

-- 
Chris
Server Administrator I
InfoTech, Inc.
5700 SW 34th Street, Suite 1235
Gainesville, FL
352-381-4766


RE: Problem installing VMware Cluster in CloudStack 4.0.1

Posted by "Musayev, Ilya" <im...@webmd.net>.
Please look at the errors in management-server.log file and post it here.

I have a decent number of VmWare 5.0 clusters under CS4.0 and 4.1, I've yet to try the VSphere 5.1, but I'm under impression VMware SDK API 4.1 we are using on 4.0.1 - should be compatible with Vsphere 5.1.

Newer CS 4.2 is going to use 5.1 API.

Regards
ilya



> -----Original Message-----
> From: Chris Smith [mailto:christopher.smith@infotechfl.com]
> Sent: Thursday, March 21, 2013 12:38 PM
> To: users@cloudstack.apache.org
> Subject: Problem installing VMware Cluster in CloudStack 4.0.1
> 
> Hello list,
> 
> I am trying to add a vSphere 5.1.0 cluster. I am presented with the error:
> 
> "Unable to add the external cluster"
> 
> I don't know where to go from here.
> 
> Thank you!
> 
> --
> Chris
> Server Administrator I
> InfoTech, Inc.
> 5700 SW 34th Street, Suite 1235
> Gainesville, FL
> 352-381-4766
> 



Re: Problem installing VMware Cluster in CloudStack 4.0.1

Posted by Francois Gaudreault <fg...@cloudops.com>.
Ilya,

Yes we can do that for sure.

On 2013-03-21 4:56 PM, Musayev, Ilya wrote:
> Francois,
>
> Can you do a basic compile if I share my git repo? Alternatively, I would need to set some sort of automated build, which is probably a cron job, so no big deal.
>
> I do have 1 tiny issue, I cant support debian - as I have no debian instances.
>
> Regards
> O;ua
>
>> -----Original Message-----
>> From: Francois Gaudreault [mailto:fgaudreault@cloudops.com]
>> Sent: Thursday, March 21, 2013 4:41 PM
>> To: users@cloudstack.apache.org
>> Subject: Re: Problem installing VMware Cluster in CloudStack 4.0.1
>>
>> On 2013-03-21 2:55 PM, Musayev, Ilya wrote:
>>> Since my employer needed a support for DVS rather urgently, I went ahead
>> and backported the DVS support in to 4.1 branch - which is supposed to be
>> out soon. I'm running it now in my environment and can confirm it works as
>> expected.
>> We would also be quite interested about this hybrid version too if you want
>> to share :) I lack a bit of knowledge (and time) to cherry-pick the proper
>> master commits.
>>
>> Thanks!
>>
>> --
>> Francois Gaudreault
>> Architecte de Solution Cloud | Cloud Solutions Architect
>> fgaudreault@cloudops.com
>> 514-629-6775
>> - - -
>> CloudOps
>> 420 rue Guy
>> Montréal QC  H3J 1S6
>> www.cloudops.com
>> @CloudOps_
>>
>
>
>


-- 
Francois Gaudreault
Architecte de Solution Cloud | Cloud Solutions Architect
fgaudreault@cloudops.com
514-629-6775
- - -
CloudOps
420 rue Guy
Montréal QC  H3J 1S6
www.cloudops.com
@CloudOps_


RE: Problem installing VMware Cluster in CloudStack 4.0.1

Posted by "Musayev, Ilya" <im...@webmd.net>.
Francois,

Can you do a basic compile if I share my git repo? Alternatively, I would need to set some sort of automated build, which is probably a cron job, so no big deal. 

I do have 1 tiny issue, I cant support debian - as I have no debian instances.

Regards
O;ua

> -----Original Message-----
> From: Francois Gaudreault [mailto:fgaudreault@cloudops.com]
> Sent: Thursday, March 21, 2013 4:41 PM
> To: users@cloudstack.apache.org
> Subject: Re: Problem installing VMware Cluster in CloudStack 4.0.1
> 
> On 2013-03-21 2:55 PM, Musayev, Ilya wrote:
> > Since my employer needed a support for DVS rather urgently, I went ahead
> and backported the DVS support in to 4.1 branch - which is supposed to be
> out soon. I'm running it now in my environment and can confirm it works as
> expected.
> We would also be quite interested about this hybrid version too if you want
> to share :) I lack a bit of knowledge (and time) to cherry-pick the proper
> master commits.
> 
> Thanks!
> 
> --
> Francois Gaudreault
> Architecte de Solution Cloud | Cloud Solutions Architect
> fgaudreault@cloudops.com
> 514-629-6775
> - - -
> CloudOps
> 420 rue Guy
> Montréal QC  H3J 1S6
> www.cloudops.com
> @CloudOps_
> 



Re: Problem installing VMware Cluster in CloudStack 4.0.1

Posted by Francois Gaudreault <fg...@cloudops.com>.
On 2013-03-21 2:55 PM, Musayev, Ilya wrote:
> Since my employer needed a support for DVS rather urgently, I went ahead and backported the DVS support in to 4.1 branch - which is supposed to be out soon. I'm running it now in my environment and can confirm it works as expected.
We would also be quite interested about this hybrid version too if you 
want to share :) I lack a bit of knowledge (and time) to cherry-pick the 
proper master commits.

Thanks!

-- 
Francois Gaudreault
Architecte de Solution Cloud | Cloud Solutions Architect
fgaudreault@cloudops.com
514-629-6775
- - -
CloudOps
420 rue Guy
Montréal QC  H3J 1S6
www.cloudops.com
@CloudOps_


RE: Problem installing VMware Cluster in CloudStack 4.0.1

Posted by "Musayev, Ilya" <im...@webmd.net>.
Chris,

As it stands, CS 4.0 and 4.1 - do not yet support VmWare DVS. The 4.2 which is master branch has a support for it, but since 4.2 is a development branch - its not considered stable. The version 4.1 is to be released early next months - pending all major issues have been resolved.

Since my employer needed a support for DVS rather urgently, I went ahead and backported the DVS support in to 4.1 branch - which is supposed to be out soon. I'm running it now in my environment and can confirm it works as expected.


Limitation:
The current DVS code does not support "Management Network" and Storage on DVS those have to remain on Standard Virtual Switch at the moment - this feature will come a bit later with 4.2 release. In my opinion, it is not the big deal since VSphere is deployed with vSwtich0 for management by default. However other guest VMs that are on DVS will functional as expected.
At the moment, we only support 1 DVswitch for Guest Traffic and 1 DVswitch for Public Traffic Type.

As of now you have 3 options:

1) Don't use DVswitch, and use regular non distributed vSwitch'es - probably good enough for small POC
2) Wait for 4.2 release - which will be out in about 6 months give or take
3) I have 4.1 functional with DVS. I'm going to release a hybrid version of CS 4.1 and 4.2 - which has vmware dvs support along with some other features - I deemed as urgently useful. This hybrid is my separate spin project to be posted on www.cloudsand.com 
This version should be upgradable to 4.2. If interested, let me know and will try to release it sooner than later. 

Also, it appears you need to use Advanced Network Setup - as you have quite a few switches. I've posted a guide on CloudStack WIKI that shows you how to make use of it. 

https://cwiki.apache.org/CLOUDSTACK/cloudstack-advanced-network-tutorial-step-by-step.html


Let me know which route you'd like to take,

Regards
ilya

> -----Original Message-----
> From: Chris Smith [mailto:christopher.smith@infotechfl.com]
> Sent: Thursday, March 21, 2013 2:02 PM
> To: users@cloudstack.apache.org
> Subject: Re: Problem installing VMware Cluster in CloudStack 4.0.1
> 
> We are using distributed switches.
> 
> They are named "10GB", "Management", and "vmNetworks".
> 
> Our portgroup names are:
> 
> 10GB -
>      -dvSwitch1 (Uplink Port Group)
>      -Storage (Distributed port group)
>      -vMotion (Distributed port group)
> 
> Management -
>      -dvSwitch3
>      -management
> 
> vmNetworks -
>      -dvSwitch4
>      -dvPortGroup2
>      -dvPortGroup3
>      -dvPortGroup4
> 
> Also, the page at "https://<vSphere_IP>/Datacenter_Name/Cluster" is
> blank. Any ideas? What sort of data is it looking for there?
> 
> Thanks!
> 
> On 3/21/2013 1:13 PM, Musayev, Ilya wrote:
> > Unable to find vSwitchvSwitch0
> >
> > What is your vswitch naming like and what portgroup names do you use for
> management?
> >
> > You can override the vswitch settings in physical network tab when you
> define Guest, Public, Management and Storage Traffic Types.
> >
> > If you also use a different portgroup name for management network - that
> is - its not equal to "Management Network", you can alter this name in Global
> Settings, just define vmware on top filter and you should see it.
> >
> > Regards
> > ilya
> >
> >> -----Original Message-----
> >> From: Chris Smith [mailto:christopher.smith@infotechfl.com]
> >> Sent: Thursday, March 21, 2013 12:57 PM
> >> To: users@cloudstack.apache.org
> >> Subject: Re: Problem installing VMware Cluster in CloudStack 4.0.1
> >>
> >> A follow up, here is the debug message:
> >>
> >> --BEGIN--
> >>
> >> 2013-03-21 12:43:09,112 DEBUG [cloud.api.ApiServlet]
> >> (catalina-exec-18:null) ===START===  DesktopIP -- GET
> >> command=addCluster&zoneId=0aa9a9d5-d2f0-4e51-9d43-
> >>
> 12924b85b1f6&hypervisor=VMware&clustertype=ExternalManaged&podId=
> >> 0df5135c-2bb8-4ad8-9c70-
> >>
> 1d03f287633e&username=<username>&url=http%3A%2F%2F<vSphere_IP>
> >>
> %2FDatacenterName%2FDatacenterName&DatacenterName=<vSphere_IP>
> >>
> %2FDatacenterName%2FDatacenterName&response=json&sessionkey=oM
> >> f%2FP%2BPT%2B6sjaNrezrVfONyGwlI%3D&_=1363884123876
> >> 2013-03-21 12:43:09,135 INFO
> >> [hypervisor.vmware.VmwareServerDiscoverer]
> >> (catalina-exec-18:null) Discover host. dc: 1, pod: 2, cluster: 8, uri
> >> host: <vSphere_IP>
> >> 2013-03-21 12:43:09,139 DEBUG
> [vmware.resource.VmwareContextFactory]
> >> (catalina-exec-18:null) initialize VmwareContext. url:
> >> https://<vSphere_IP>/sdk/vimService, username: <username>,
> password:
> >> <password>
> >> 2013-03-21 12:43:10,942 INFO  [vmware.manager.VmwareManagerImpl]
> >> (catalina-exec-18:null) Calling prepareNetwork :
> >> com.cloud.hypervisor.vmware.util.VmwareContext@f520b9e
> >> 2013-03-21 12:43:11,069 DEBUG
> >> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
> >> Zone
> >> 1 is not ready to launch secondary storage VM yet
> >> 2013-03-21 12:43:11,172 ERROR [vmware.mo.HypervisorHostHelper]
> >> (catalina-exec-18:null) Unable to find vSwitchvSwitch0
> >> 2013-03-21 12:43:11,172 WARN
> >> [hypervisor.vmware.VmwareServerDiscoverer]
> >> (catalina-exec-18:null) Unable to connect to Vmware vSphere server.
> >> service address: <vSphere_IP>
> >> 2013-03-21 12:43:11,202 DEBUG
> >> [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null)
> >> Skip capacity scan due to there is no Primary Storage UPintenance
> >> mode
> >> 2013-03-21 12:43:11,400 WARN  [cloud.resource.ResourceManagerImpl]
> >> (catalina-exec-18:null) Unable to find the server resources at
> >> http://<vSphere_IP>/DatacenterName/DatacenterName
> >> 2013-03-21 12:43:11,419 WARN  [api.commands.AddClusterCmd]
> >> (catalina-exec-18:null) Exception:
> >> com.cloud.exception.DiscoveryException: Unable to add the external
> cluster
> >>           at
> >>
> com.cloud.resource.ResourceManagerImpl.discoverCluster(ResourceManag
> >> erImpl.java:487)
> >>           at
> >> com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34)
> >>           at
> >>
> com.cloud.api.commands.AddClusterCmd.execute(AddClusterCmd.java:153)
> >>           at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)
> >>           at com.cloud.api.ApiServer.queueCommand(ApiServer.java:544)
> >>           at com.cloud.api.ApiServer.handleRequest(ApiServer.java:423)
> >>           at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:312)
> >>           at com.cloud.api.ApiServlet.doGet(ApiServlet.java:64)
> >>           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(Appl
> >> icationFi
> >> lterChain.java:290)
> >>           at
> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
> >> ilterChai
> >> n.java:206)
> >>           at
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
> >> alve.java:233)
> >>           at
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
> >> al
> >> ve.java:191)
> >>           at
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
> >> 127)
> >>           at
> >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
> >> ava:1
> >> 02)
> >>           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.jav
> >> a:2
> >> 98)
> >>           at
> >>
> org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcesso
> >> r.j
> >> ava:889)
> >>           at
> >>
> org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.pr
> >> o
> >> cess(Http11NioProtocol.java:721)
> >>           at
> >>
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoin
> >> t.j
> >> ava:2274)
> >>           at
> >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
> >> jav
> >> a:1146)
> >>           at
> >>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
> >> .ja
> >> va:615)
> >>           at java.lang.Thread.run(Thread.java:679)
> >> 2013-03-21 12:43:11,420 WARN  [cloud.api.ApiDispatcher]
> >> (catalina-exec-18:null) class com.cloud.api.ServerApiException :
> >> Unable to add the external cluster
> >>
> >> --END--
> >>
> >>
> >> On 3/21/2013 12:38 PM, Chris Smith wrote:
> >>> Hello list,
> >>>
> >>> I am trying to add a vSphere 5.1.0 cluster. I am presented with the
> >>> error:
> >>>
> >>> "Unable to add the external cluster"
> >>>
> >>> I don't know where to go from here.
> >>>
> >>> Thank you!
> >>>
> >> --
> >> Chris
> >> Server Administrator I
> >> InfoTech, Inc.
> >> 5700 SW 34th Street, Suite 1235
> >> Gainesville, FL
> >> 352-381-4766
> >>
> >
> 
> --
> Chris
> Server Administrator I
> InfoTech, Inc.
> 5700 SW 34th Street, Suite 1235
> Gainesville, FL
> 352-381-4766
> 



Re: Problem installing VMware Cluster in CloudStack 4.0.1

Posted by Chris Smith <ch...@infotechfl.com>.
We are using distributed switches.

They are named "10GB", "Management", and "vmNetworks".

Our portgroup names are:

10GB -
     -dvSwitch1 (Uplink Port Group)
     -Storage (Distributed port group)
     -vMotion (Distributed port group)

Management -
     -dvSwitch3
     -management

vmNetworks -
     -dvSwitch4
     -dvPortGroup2
     -dvPortGroup3
     -dvPortGroup4

Also, the page at "https://<vSphere_IP>/Datacenter_Name/Cluster" is 
blank. Any ideas? What sort of data is it looking for there?

Thanks!

On 3/21/2013 1:13 PM, Musayev, Ilya wrote:
> Unable to find vSwitchvSwitch0
>
> What is your vswitch naming like and what portgroup names do you use for management?
>
> You can override the vswitch settings in physical network tab when you define Guest, Public, Management and Storage Traffic Types.
>
> If you also use a different portgroup name for management network - that is - its not equal to "Management Network", you can alter this name in Global Settings, just define vmware on top filter and you should see it.
>
> Regards
> ilya
>
>> -----Original Message-----
>> From: Chris Smith [mailto:christopher.smith@infotechfl.com]
>> Sent: Thursday, March 21, 2013 12:57 PM
>> To: users@cloudstack.apache.org
>> Subject: Re: Problem installing VMware Cluster in CloudStack 4.0.1
>>
>> A follow up, here is the debug message:
>>
>> --BEGIN--
>>
>> 2013-03-21 12:43:09,112 DEBUG [cloud.api.ApiServlet]
>> (catalina-exec-18:null) ===START===  DesktopIP -- GET
>> command=addCluster&zoneId=0aa9a9d5-d2f0-4e51-9d43-
>> 12924b85b1f6&hypervisor=VMware&clustertype=ExternalManaged&podId=
>> 0df5135c-2bb8-4ad8-9c70-
>> 1d03f287633e&username=<username>&url=http%3A%2F%2F<vSphere_IP>
>> %2FDatacenterName%2FDatacenterName&DatacenterName=<vSphere_IP>
>> %2FDatacenterName%2FDatacenterName&response=json&sessionkey=oM
>> f%2FP%2BPT%2B6sjaNrezrVfONyGwlI%3D&_=1363884123876
>> 2013-03-21 12:43:09,135 INFO
>> [hypervisor.vmware.VmwareServerDiscoverer]
>> (catalina-exec-18:null) Discover host. dc: 1, pod: 2, cluster: 8, uri
>> host: <vSphere_IP>
>> 2013-03-21 12:43:09,139 DEBUG [vmware.resource.VmwareContextFactory]
>> (catalina-exec-18:null) initialize VmwareContext. url:
>> https://<vSphere_IP>/sdk/vimService, username: <username>, password:
>> <password>
>> 2013-03-21 12:43:10,942 INFO  [vmware.manager.VmwareManagerImpl]
>> (catalina-exec-18:null) Calling prepareNetwork :
>> com.cloud.hypervisor.vmware.util.VmwareContext@f520b9e
>> 2013-03-21 12:43:11,069 DEBUG
>> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
>> Zone
>> 1 is not ready to launch secondary storage VM yet
>> 2013-03-21 12:43:11,172 ERROR [vmware.mo.HypervisorHostHelper]
>> (catalina-exec-18:null) Unable to find vSwitchvSwitch0
>> 2013-03-21 12:43:11,172 WARN
>> [hypervisor.vmware.VmwareServerDiscoverer]
>> (catalina-exec-18:null) Unable to connect to Vmware vSphere server.
>> service address: <vSphere_IP>
>> 2013-03-21 12:43:11,202 DEBUG
>> [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Skip
>> capacity scan due to there is no Primary Storage UPintenance mode
>> 2013-03-21 12:43:11,400 WARN  [cloud.resource.ResourceManagerImpl]
>> (catalina-exec-18:null) Unable to find the server resources at
>> http://<vSphere_IP>/DatacenterName/DatacenterName
>> 2013-03-21 12:43:11,419 WARN  [api.commands.AddClusterCmd]
>> (catalina-exec-18:null) Exception:
>> com.cloud.exception.DiscoveryException: Unable to add the external cluster
>>           at
>> com.cloud.resource.ResourceManagerImpl.discoverCluster(ResourceManag
>> erImpl.java:487)
>>           at
>> com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34)
>>           at
>> com.cloud.api.commands.AddClusterCmd.execute(AddClusterCmd.java:153)
>>           at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)
>>           at com.cloud.api.ApiServer.queueCommand(ApiServer.java:544)
>>           at com.cloud.api.ApiServer.handleRequest(ApiServer.java:423)
>>           at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:312)
>>           at com.cloud.api.ApiServlet.doGet(ApiServlet.java:64)
>>           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(ApplicationFi
>> lterChain.java:290)
>>           at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChai
>> n.java:206)
>>           at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
>> alve.java:233)
>>           at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
>> ve.java:191)
>>           at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
>> 127)
>>           at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1
>> 02)
>>           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:2
>> 98)
>>           at
>> org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.j
>> ava:889)
>>           at
>> org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.pro
>> cess(Http11NioProtocol.java:721)
>>           at
>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.j
>> ava:2274)
>>           at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.jav
>> a:1146)
>>           at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
>> va:615)
>>           at java.lang.Thread.run(Thread.java:679)
>> 2013-03-21 12:43:11,420 WARN  [cloud.api.ApiDispatcher]
>> (catalina-exec-18:null) class com.cloud.api.ServerApiException : Unable to
>> add the external cluster
>>
>> --END--
>>
>>
>> On 3/21/2013 12:38 PM, Chris Smith wrote:
>>> Hello list,
>>>
>>> I am trying to add a vSphere 5.1.0 cluster. I am presented with the
>>> error:
>>>
>>> "Unable to add the external cluster"
>>>
>>> I don't know where to go from here.
>>>
>>> Thank you!
>>>
>> --
>> Chris
>> Server Administrator I
>> InfoTech, Inc.
>> 5700 SW 34th Street, Suite 1235
>> Gainesville, FL
>> 352-381-4766
>>
>

-- 
Chris
Server Administrator I
InfoTech, Inc.
5700 SW 34th Street, Suite 1235
Gainesville, FL
352-381-4766


RE: Problem installing VMware Cluster in CloudStack 4.0.1

Posted by "Musayev, Ilya" <im...@webmd.net>.
Unable to find vSwitchvSwitch0

What is your vswitch naming like and what portgroup names do you use for management?

You can override the vswitch settings in physical network tab when you define Guest, Public, Management and Storage Traffic Types.

If you also use a different portgroup name for management network - that is - its not equal to "Management Network", you can alter this name in Global Settings, just define vmware on top filter and you should see it.

Regards
ilya

> -----Original Message-----
> From: Chris Smith [mailto:christopher.smith@infotechfl.com]
> Sent: Thursday, March 21, 2013 12:57 PM
> To: users@cloudstack.apache.org
> Subject: Re: Problem installing VMware Cluster in CloudStack 4.0.1
> 
> A follow up, here is the debug message:
> 
> --BEGIN--
> 
> 2013-03-21 12:43:09,112 DEBUG [cloud.api.ApiServlet]
> (catalina-exec-18:null) ===START===  DesktopIP -- GET
> command=addCluster&zoneId=0aa9a9d5-d2f0-4e51-9d43-
> 12924b85b1f6&hypervisor=VMware&clustertype=ExternalManaged&podId=
> 0df5135c-2bb8-4ad8-9c70-
> 1d03f287633e&username=<username>&url=http%3A%2F%2F<vSphere_IP>
> %2FDatacenterName%2FDatacenterName&DatacenterName=<vSphere_IP>
> %2FDatacenterName%2FDatacenterName&response=json&sessionkey=oM
> f%2FP%2BPT%2B6sjaNrezrVfONyGwlI%3D&_=1363884123876
> 2013-03-21 12:43:09,135 INFO
> [hypervisor.vmware.VmwareServerDiscoverer]
> (catalina-exec-18:null) Discover host. dc: 1, pod: 2, cluster: 8, uri
> host: <vSphere_IP>
> 2013-03-21 12:43:09,139 DEBUG [vmware.resource.VmwareContextFactory]
> (catalina-exec-18:null) initialize VmwareContext. url:
> https://<vSphere_IP>/sdk/vimService, username: <username>, password:
> <password>
> 2013-03-21 12:43:10,942 INFO  [vmware.manager.VmwareManagerImpl]
> (catalina-exec-18:null) Calling prepareNetwork :
> com.cloud.hypervisor.vmware.util.VmwareContext@f520b9e
> 2013-03-21 12:43:11,069 DEBUG
> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
> Zone
> 1 is not ready to launch secondary storage VM yet
> 2013-03-21 12:43:11,172 ERROR [vmware.mo.HypervisorHostHelper]
> (catalina-exec-18:null) Unable to find vSwitchvSwitch0
> 2013-03-21 12:43:11,172 WARN
> [hypervisor.vmware.VmwareServerDiscoverer]
> (catalina-exec-18:null) Unable to connect to Vmware vSphere server.
> service address: <vSphere_IP>
> 2013-03-21 12:43:11,202 DEBUG
> [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Skip
> capacity scan due to there is no Primary Storage UPintenance mode
> 2013-03-21 12:43:11,400 WARN  [cloud.resource.ResourceManagerImpl]
> (catalina-exec-18:null) Unable to find the server resources at
> http://<vSphere_IP>/DatacenterName/DatacenterName
> 2013-03-21 12:43:11,419 WARN  [api.commands.AddClusterCmd]
> (catalina-exec-18:null) Exception:
> com.cloud.exception.DiscoveryException: Unable to add the external cluster
>          at
> com.cloud.resource.ResourceManagerImpl.discoverCluster(ResourceManag
> erImpl.java:487)
>          at
> com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34)
>          at
> com.cloud.api.commands.AddClusterCmd.execute(AddClusterCmd.java:153)
>          at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)
>          at com.cloud.api.ApiServer.queueCommand(ApiServer.java:544)
>          at com.cloud.api.ApiServer.handleRequest(ApiServer.java:423)
>          at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:312)
>          at com.cloud.api.ApiServlet.doGet(ApiServlet.java:64)
>          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(ApplicationFi
> lterChain.java:290)
>          at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChai
> n.java:206)
>          at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
> alve.java:233)
>          at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
> ve.java:191)
>          at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
> 127)
>          at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1
> 02)
>          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:2
> 98)
>          at
> org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.j
> ava:889)
>          at
> org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.pro
> cess(Http11NioProtocol.java:721)
>          at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.j
> ava:2274)
>          at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.jav
> a:1146)
>          at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
> va:615)
>          at java.lang.Thread.run(Thread.java:679)
> 2013-03-21 12:43:11,420 WARN  [cloud.api.ApiDispatcher]
> (catalina-exec-18:null) class com.cloud.api.ServerApiException : Unable to
> add the external cluster
> 
> --END--
> 
> 
> On 3/21/2013 12:38 PM, Chris Smith wrote:
> > Hello list,
> >
> > I am trying to add a vSphere 5.1.0 cluster. I am presented with the
> > error:
> >
> > "Unable to add the external cluster"
> >
> > I don't know where to go from here.
> >
> > Thank you!
> >
> 
> --
> Chris
> Server Administrator I
> InfoTech, Inc.
> 5700 SW 34th Street, Suite 1235
> Gainesville, FL
> 352-381-4766
> 



Re: Problem installing VMware Cluster in CloudStack 4.0.1

Posted by Chris Smith <ch...@infotechfl.com>.
A follow up, here is the debug message:

--BEGIN--

2013-03-21 12:43:09,112 DEBUG [cloud.api.ApiServlet] 
(catalina-exec-18:null) ===START===  DesktopIP -- GET 
command=addCluster&zoneId=0aa9a9d5-d2f0-4e51-9d43-12924b85b1f6&hypervisor=VMware&clustertype=ExternalManaged&podId=0df5135c-2bb8-4ad8-9c70-1d03f287633e&username=<username>&url=http%3A%2F%2F<vSphere_IP>%2FDatacenterName%2FDatacenterName&DatacenterName=<vSphere_IP>%2FDatacenterName%2FDatacenterName&response=json&sessionkey=oMf%2FP%2BPT%2B6sjaNrezrVfONyGwlI%3D&_=1363884123876
2013-03-21 12:43:09,135 INFO [hypervisor.vmware.VmwareServerDiscoverer] 
(catalina-exec-18:null) Discover host. dc: 1, pod: 2, cluster: 8, uri 
host: <vSphere_IP>
2013-03-21 12:43:09,139 DEBUG [vmware.resource.VmwareContextFactory] 
(catalina-exec-18:null) initialize VmwareContext. url: 
https://<vSphere_IP>/sdk/vimService, username: <username>, password: 
<password>
2013-03-21 12:43:10,942 INFO  [vmware.manager.VmwareManagerImpl] 
(catalina-exec-18:null) Calling prepareNetwork : 
com.cloud.hypervisor.vmware.util.VmwareContext@f520b9e
2013-03-21 12:43:11,069 DEBUG 
[storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 
1 is not ready to launch secondary storage VM yet
2013-03-21 12:43:11,172 ERROR [vmware.mo.HypervisorHostHelper] 
(catalina-exec-18:null) Unable to find vSwitchvSwitch0
2013-03-21 12:43:11,172 WARN [hypervisor.vmware.VmwareServerDiscoverer] 
(catalina-exec-18:null) Unable to connect to Vmware vSphere server. 
service address: <vSphere_IP>
2013-03-21 12:43:11,202 DEBUG 
[cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Skip 
capacity scan due to there is no Primary Storage UPintenance mode
2013-03-21 12:43:11,400 WARN  [cloud.resource.ResourceManagerImpl] 
(catalina-exec-18:null) Unable to find the server resources at 
http://<vSphere_IP>/DatacenterName/DatacenterName
2013-03-21 12:43:11,419 WARN  [api.commands.AddClusterCmd] 
(catalina-exec-18:null) Exception:
com.cloud.exception.DiscoveryException: Unable to add the external cluster
         at 
com.cloud.resource.ResourceManagerImpl.discoverCluster(ResourceManagerImpl.java:487)
         at 
com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34)
         at 
com.cloud.api.commands.AddClusterCmd.execute(AddClusterCmd.java:153)
         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)
         at com.cloud.api.ApiServer.queueCommand(ApiServer.java:544)
         at com.cloud.api.ApiServer.handleRequest(ApiServer.java:423)
         at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:312)
         at com.cloud.api.ApiServlet.doGet(ApiServlet.java:64)
         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-03-21 12:43:11,420 WARN  [cloud.api.ApiDispatcher] 
(catalina-exec-18:null) class com.cloud.api.ServerApiException : Unable 
to add the external cluster

--END--


On 3/21/2013 12:38 PM, Chris Smith wrote:
> Hello list,
>
> I am trying to add a vSphere 5.1.0 cluster. I am presented with the 
> error:
>
> "Unable to add the external cluster"
>
> I don't know where to go from here.
>
> Thank you!
>

-- 
Chris
Server Administrator I
InfoTech, Inc.
5700 SW 34th Street, Suite 1235
Gainesville, FL
352-381-4766