cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Asanka Gunasekara <asa...@nimbus.lk>
Subject Re: Below error pups up while creating a Zone
Date Tue, 31 Oct 2017 10:49:59 GMT
Hi,

I am not sure if this sort-out the above issue but changing DSwitch to
dvSwitch from vCenter bypassed above error and I am stuck at below.

And from the UI it is saying "Something went wrong and correct the
folowing. "Failed to create storage pool as it is not accessible to hosts.
Storage is on a seprate network and there is no VLANs o any thing and this
is accessible to all host.

2017-10-31 15:47:21,216 DEBUG [c.c.h.v.m.HypervisorHostHelper]
(catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) Found
distributed vSwitch dvS               witch0
2017-10-31 15:47:21,232 INFO  [c.c.h.v.m.HypervisorHostHelper]
(catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) Distributed
Virtual Port grou               p cloud.private.untagged.0.1-dvSwitch0 not
found.
2017-10-31 15:47:22,767 INFO  [c.c.h.v.m.VmwareManagerImpl]
(catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) Preparing
network on host com.cl
oud.hypervisor.vmware.util.VmwareContext@1b16fb90 for dvSwitch0,,vmwaredvs
2017-10-31 15:47:22,816 DEBUG [c.c.h.v.m.HypervisorHostHelper]
(catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) Found
distributed vSwitch dvS               witch0
2017-10-31 15:47:22,828 INFO  [c.c.h.v.m.HypervisorHostHelper]
(catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) Found
Distributed Virtual Por               t group
cloud.private.untagged.0.1-dvSwitch0
2017-10-31 15:47:22,855 DEBUG [c.c.h.v.m.HypervisorHostHelper]
(catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) Checking if
configuration of                dvPortGroup
[cloud.private.untagged.0.1-dvSwitch0] has changed.
2017-10-31 15:47:23,064 DEBUG [c.c.h.v.r.VmwareContextFactory]
(catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) initialize
VmwareContext. url               : https://172.17.101.246/sdk/vimService,
username: administrator@vsphere.local, password: W*********
2017-10-31 15:47:23,165 INFO  [c.c.h.v.u.VmwareContext]
(catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) New
VmwareContext object, current ou               tstanding count: 2
2017-10-31 15:47:23,603 INFO  [c.c.h.v.r.VmwareResource]
(catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) VmwareResource
network configuratio               n info. private traffic over vSwitch:
dvSwitch0,,vmwaredvs, public traffic over vmwaresvs : dvSwitch0, guest
traffic over vmwaredvs : dvSwitch0
2017-10-31 15:47:23,809 INFO  [c.c.h.v.r.VmwareResource]
(catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) VmwareResource
network configuratio               n info. private traffic over vSwitch:
dvSwitch0,,vmwaredvs, public traffic over vmwaresvs : dvSwitch0, guest
traffic over vmwaredvs : dvSwitch0
2017-10-31 15:47:23,825 INFO  [c.c.h.v.u.VmwareContext]
(catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) Disconnecting
VMware session
2017-10-31 15:47:24,886 INFO  [c.c.h.v.r.VmwareResource]
(catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) Startup report
on host hardware inf               o.
{"memoryBytes":21472546816,"cpuCount":4,"cpuSpeed":2667,"cpuSockets":2}
2017-10-31 15:47:25,024 INFO  [c.c.h.v.u.VmwareHelper]
(catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103)
[ignored]failed toi get message for e               xception: Uanble to
find management port group Management Network
2017-10-31 15:47:25,025 ERROR [c.c.h.v.r.VmwareResource]
(catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) querying host
network info failed d               ue to Exception: java.lang.Exception
Message: Uanble to find management port group Management Network

java.lang.Exception: Uanble to find management port group Management Network
        at
com.cloud.hypervisor.vmware.mo.HostMO.getHyperHostNetworkSummary(HostMO.java:995)
        at
com.cloud.hypervisor.vmware.resource.VmwareResource.fillHostNetworkInfo(VmwareResource.java:4958)
        at
com.cloud.hypervisor.vmware.resource.VmwareResource.fillHostInfo(VmwareResource.java:4886)
        at
com.cloud.hypervisor.vmware.resource.VmwareResource.initialize(VmwareResource.java:4810)
        at
com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1877)
        at
com.cloud.resource.ResourceManagerImpl.discoverCluster(ResourceManagerImpl.java:530)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
        at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
        at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
        at com.sun.proxy.$Proxy169.discoverCluster(Unknown Source)
        at
org.apache.cloudstack.api.command.admin.cluster.AddClusterCmd.execute(AddClusterCmd.java:212)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:150)
        at com.cloud.api.ApiServer.queueCommand(ApiServer.java:729)
        at com.cloud.api.ApiServer.handleRequest(ApiServer.java:553)
        at
com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:297)
        at com.cloud.api.ApiServlet$1.run(ApiServlet.java:129)
        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:126)
        at com.cloud.api.ApiServlet.doGet(ApiServlet.java:88)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
        at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
        at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1087)
        at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
        at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1770)
        at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1729)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:748)
2017-10-31 15:47:25,028 ERROR [c.c.h.v.r.VmwareResource]
(catalina-exec-3:ctx-80cb7953 ctx-e052e8f7) (logid:27870103) Exception
while retrieving host inf               o:
com.cloud.utils.exception.CloudRuntimeException: querying host network info
failed due to Exception: java.lang.Exception
Message: Uanble to find management port group Management Network

com.cloud.utils.exception.CloudRuntimeException: querying host network info
failed due to Exception: java.lang.Exception
Message: Uanble to find management port group Management Network

        at
com.cloud.hypervisor.vmware.resource.VmwareResource.fillHostNetworkInfo(VmwareResource.java:4978)
        at
com.cloud.hypervisor.vmware.resource.VmwareResource.fillHostInfo(VmwareResource.java:4886)
        at
com.cloud.hypervisor.vmware.resource.VmwareResource.initialize(VmwareResource.java:4810)
        at
com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1877)
        at
com.cloud.resource.ResourceManagerImpl.discoverCluster(ResourceManagerImpl.java:530)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)



On 31 October 2017 at 12:19, Asanka Gunasekara <asanka@nimbus.lk> wrote:

> Please ignor the above error, this was taken when I though it would have
> been some thing to do with user/password. correntct one as below
>
> 2017-10-31 12:17:37,116 DEBUG [c.c.a.ApiServlet] (catalina-exec-22:ctx-f2dc50b2)
> (logid:799ac7c1) ===START===  172.17.101.246 -- POST
> command=addVmwareDc&response=json
> 2017-10-31 12:17:37,132 INFO  [c.c.h.v.m.VmwareManagerImpl]
> (catalina-exec-22:ctx-f2dc50b2 ctx-a324e697) (logid:799ac7c1) Ignoring API
> call addVmwareDc, because VMware DC 172.17.101.246/WeDatacenter is
> already associated with specified zone with id 1
> 2017-10-31 12:17:37,133 DEBUG [c.c.a.ApiServlet]
> (catalina-exec-22:ctx-f2dc50b2 ctx-a324e697) (logid:799ac7c1) ===END===
> 172.17.101.246 -- POST  command=addVmwareDc&response=json
> 2017-10-31 12:17:37,155 DEBUG [c.c.a.ApiServlet] (catalina-exec-20:ctx-a26bd8ef)
> (logid:272077ae) ===START===  172.17.101.246 -- GET
> command=addCluster&zoneId=f538e730-7431-4c65-bf7d-eccc154e8b48&hypervisor=
> VMware&clustertype=ExternalManaged&podId=6262dca1-59df-4a32-b80a-
> 52435f2ec4f7&username=administrator%40vsphere.local&
> url=http%3A%2F%2F172.17.101.246%2FWeDatacenter%
> 2FWeCluster&clustername=172.17.101.246%2FWeDatacenter%
> 2FWeCluster&response=json&_=1509432458636
> 2017-10-31 12:17:37,225 INFO  [c.c.h.v.VmwareServerDiscoverer]
> (catalina-exec-20:ctx-a26bd8ef ctx-06a2c997) (logid:272077ae) Discover
> host. dc: 1, pod: 1, cluster: 7, uri host: 172.17.101.246
> 2017-10-31 12:17:37,313 INFO  [c.c.h.v.VmwareServerDiscoverer]
> (catalina-exec-20:ctx-a26bd8ef ctx-06a2c997) (logid:272077ae) Detected
> private network label : DSwitch,,vmwaresvs
> 2017-10-31 12:17:37,313 DEBUG [c.c.h.v.r.VmwareContextFactory]
> (catalina-exec-20:ctx-a26bd8ef ctx-06a2c997) (logid:272077ae) initialize
> VmwareContext. url: https://172.17.101.246/sdk/vimService, username:
> administrator@vsphere.local, password: W*********
> 2017-10-31 12:17:37,535 INFO  [c.c.h.v.u.VmwareContext]
> (catalina-exec-20:ctx-a26bd8ef ctx-06a2c997) (logid:272077ae) New
> VmwareContext object, current outstanding count: 1
> 2017-10-31 12:17:37,662 INFO  [c.c.h.v.m.VmwareManagerImpl]
> (catalina-exec-20:ctx-a26bd8ef ctx-06a2c997) (logid:272077ae) Preparing
> network on host com.cloud.hypervisor.vmware.util.VmwareContext@53bf4bc2
> for DSwitch,,vmwaresvs
> 2017-10-31 12:17:37,695 ERROR [c.c.h.v.m.HypervisorHostHelper]
> (catalina-exec-20:ctx-a26bd8ef ctx-06a2c997) (logid:272077ae) Unable to
> find vSwitchDSwitch
> 2017-10-31 12:17:37,696 WARN  [c.c.h.v.VmwareServerDiscoverer]
> (catalina-exec-20:ctx-a26bd8ef ctx-06a2c997) (logid:272077ae) Unable to
> connect to Vmware vSphere server. service address: 172.17.101.246.
> java.lang.Exception: Unable to find vSwitchDSwitch
> 2017-10-31 12:17:37,696 INFO  [c.c.h.v.u.VmwareContext]
> (catalina-exec-20:ctx-a26bd8ef ctx-06a2c997) (logid:272077ae) Disconnecting
> VMware session
> 2017-10-31 12:17:37,715 WARN  [c.c.r.ResourceManagerImpl]
> (catalina-exec-20:ctx-a26bd8ef ctx-06a2c997) (logid:272077ae) Unable to
> find the server resources at http://172.17.101.246/WeDatacenter/WeCluster
> 2017-10-31 12:17:37,716 INFO  [c.c.u.e.CSExceptionErrorCode]
> (catalina-exec-20:ctx-a26bd8ef ctx-06a2c997) (logid:272077ae) Could not
> find exception: com.cloud.exception.DiscoveryException in error code list
> for exceptions
> 2017-10-31 12:17:37,980 WARN  [o.a.c.a.c.a.c.AddClusterCmd]
> (catalina-exec-20:ctx-a26bd8ef ctx-06a2c997) (logid:272077ae) Exception:
>
> com.cloud.exception.DiscoveryException: Unable to add the external cluster
>         at com.cloud.resource.ResourceManagerImpl.discoverCluster(
> ResourceManagerImpl.java:542)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:62)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>         at org.springframework.aop.support.AopUtils.
> invokeJoinpointUsingReflection(AopUtils.java:333)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.
> invokeJoinpoint(ReflectiveMethodInvocation.java:190)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.
> proceed(ReflectiveMethodInvocation.java:157)
>         at org.springframework.aop.interceptor.
> ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.
> proceed(ReflectiveMethodInvocation.java:179)
>         at org.springframework.aop.framework.JdkDynamicAopProxy.
> invoke(JdkDynamicAopProxy.java:213)
>         at com.sun.proxy.$Proxy169.discoverCluster(Unknown Source)
>         at org.apache.cloudstack.api.command.admin.cluster.
> AddClusterCmd.execute(AddClusterCmd.java:212)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:150)
>         at com.cloud.api.ApiServer.queueCommand(ApiServer.java:729)
>         at com.cloud.api.ApiServer.handleRequest(ApiServer.java:553)
>         at com.cloud.api.ApiServlet.processRequestInContext(
> ApiServlet.java:297)
>         at com.cloud.api.ApiServlet$1.run(ApiServlet.java:129)
>         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:126)
>         at com.cloud.api.ApiServlet.doGet(ApiServlet.java:88)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
>         at org.apache.catalina.core.ApplicationFilterChain.
> internalDoFilter(ApplicationFilterChain.java:303)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:208)
>         at org.apache.tomcat.websocket.server.WsFilter.doFilter(
> WsFilter.java:52)
>         at org.apache.catalina.core.ApplicationFilterChain.
> internalDoFilter(ApplicationFilterChain.java:241)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:208)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(
> StandardWrapperValve.java:218)
>         at org.apache.catalina.core.StandardContextValve.invoke(
> StandardContextValve.java:110)
>         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
> AuthenticatorBase.java:506)
>         at org.apache.catalina.core.StandardHostValve.invoke(
> StandardHostValve.java:169)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(
> ErrorReportValve.java:103)
>         at org.apache.catalina.valves.AccessLogValve.invoke(
> AccessLogValve.java:962)
>         at org.apache.catalina.core.StandardEngineValve.invoke(
> StandardEngineValve.java:116)
>         at org.apache.catalina.connector.CoyoteAdapter.service(
> CoyoteAdapter.java:445)
>         at org.apache.coyote.http11.AbstractHttp11Processor.process(
> AbstractHttp11Processor.java:1087)
>         at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.
> process(AbstractProtocol.java:637)
>         at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.
> doRun(NioEndpoint.java:1770)
>         at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.
> run(NioEndpoint.java:1729)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1149)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:624)
>         at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(
> TaskThread.java:61)
>         at java.lang.Thread.run(Thread.java:748)
> 2017-10-31 12:17:37,982 INFO  [c.c.a.ApiServer]
> (catalina-exec-20:ctx-a26bd8ef ctx-06a2c997) (logid:272077ae) Unable to add
> the external cluster
> 2017-10-31 12:17:37,983 DEBUG [c.c.a.ApiServlet]
> (catalina-exec-20:ctx-a26bd8ef ctx-06a2c997) (logid:272077ae) ===END===
> 172.17.101.246 -- GET  command=addCluster&zoneId=f538e730-7431-4c65-bf7d-
> eccc154e8b48&hypervisor=VMware&clustertype=ExternalManaged&podId=
> 6262dca1-59df-4a32-b80a-52435f2ec4f7&username=
> administrator%40vsphere.local&url=http%3A%2F%2F172.17.101.
> 246%2FWeDatacenter%2FWeCluster&clustername=172.17.101.246%2FWeDatacenter%
> 2FWeCluster&response=json&_=1509432458636
> 2017-10-31 12:17:38,337 INFO  [o.a.c.f.j.i.AsyncJobManagerImpl]
> (AsyncJobMgr-Heartbeat-1:ctx-6c5d6625) (logid:39b9a519) Begin cleanup
> expired async-jobs
> 2017-10-31 12:17:38,344 INFO  [o.a.c.f.j.i.AsyncJobManagerImpl]
> (AsyncJobMgr-Heartbeat-1:ctx-6c5d6625) (logid:39b9a519) End cleanup
> expired async-jobs
> 2017-10-31 12:17:38,441 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
> (RouterMonitor-1:ctx-beca6efe) (logid:dd07c085) Found 0 running routers.
> 2017-10-31 12:17:38,443 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
> (RouterStatusMonitor-1:ctx-6d550b43) (logid:26fab18a) Found 0 routers to
> update status.
> 2017-10-31 12:17:38,445 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
> (RouterStatusMonitor-1:ctx-6d550b43) (logid:26fab18a) Found 0 VPC
> networks to update Redundant State.
> 2017-10-31 12:17:38,446 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
> (RouterStatusMonitor-1:ctx-6d550b43) (logid:26fab18a) Found 0 networks to
> update RvR status.
> 2017-10-31 12:17:38,502 DEBUG [c.c.n.ExternalDeviceUsageManagerImpl]
> (ExternalNetworkMonitor-1:ctx-a5cb3962) (logid:4bfe8c9f) External devices
> are not used. Skipping external device usage collection
> 2017-10-31 12:17:38,532 DEBUG [c.c.s.s.SnapshotSchedulerImpl]
> (SnapshotPollTask:ctx-15fdc754) (logid:549e4ada) Snapshot scheduler.poll
> is being called at 2017-10-31 06:47:38 GMT
> 2017-10-31 12:17:38,534 DEBUG [c.c.s.s.SnapshotSchedulerImpl]
> (SnapshotPollTask:ctx-15fdc754) (logid:549e4ada) Got 0 snapshots to be
> executed at 2017-10-31 06:47:38 GMT
> 2017-10-31 12:17:38,542 INFO  [o.a.c.e.o.NetworkOrchestrator]
> (Network-Scavenger-1:ctx-6cc2bd5a) (logid:8d1ea888)
> NetworkGarbageCollector uses '600' seconds for GC interval.
>
>
>
> On 31 October 2017 at 12:12, Asanka Gunasekara <asanka@nimbus.lk> wrote:
>
>> Hi All, I am trying to setup a CloudStack with VMware, while creating the
>> Zone I am getting below error. Please let me know what any additional
>> information you would require
>>
>> My environment is
>> CloudStack 4.10
>> VCenter - 6.5
>> ESXi - 5.5
>>
>> I have created below on vCenter before trying Zone creation
>>
>> Data center - WeDatacenter
>> Cluster - Wecluster
>> DVS - DSwitch
>>
>>
>> Number of nodes - 2
>>
>> I can ping one another with out any issue, and I am trying our Advance
>> networking :(
>>
>> 2017-10-31 12:02:52,840 DEBUG [c.c.a.ApiServlet]
>> (catalina-exec-9:ctx-2475938c) (logid:8cdc7888) ===START===  172.17.101.246
>> -- GET  command=listHypervisors&response=json&_=1509431574317
>> 2017-10-31 12:02:52,852 DEBUG [c.c.a.ApiServlet]
>> (catalina-exec-9:ctx-2475938c ctx-575daa35) (logid:8cdc7888) ===END===
>> 172.17.101.246 -- GET  command=listHypervisors&respon
>> se=json&_=1509431574317
>> 2017-10-31 12:02:52,888 DEBUG [c.c.a.ApiServlet]
>> (catalina-exec-12:ctx-3113ae51) (logid:9c29cc4d) ===START===
>> 172.17.101.246 -- GET  command=listConfigurations&res
>> ponse=json&name=vmware.use.nexus.vswitch&_=1509431574363
>> 2017-10-31 12:02:52,911 DEBUG [c.c.a.ApiServlet]
>> (catalina-exec-12:ctx-3113ae51 ctx-3a4c5f78) (logid:9c29cc4d) ===END===
>> 172.17.101.246 -- GET  command=listConfigurations&res
>> ponse=json&name=vmware.use.nexus.vswitch&_=1509431574363
>> 2017-10-31 12:02:52,932 DEBUG [c.c.a.ApiServlet]
>> (catalina-exec-17:ctx-12feb65a) (logid:c701763c) ===START===
>> 172.17.101.246 -- GET  command=listConfigurations&res
>> ponse=json&name=vmware.use.dvswitch&_=1509431574397
>> 2017-10-31 12:02:52,953 DEBUG [c.c.a.ApiServlet]
>> (catalina-exec-17:ctx-12feb65a ctx-aa9170be) (logid:c701763c) ===END===
>> 172.17.101.246 -- GET  command=listConfigurations&res
>> ponse=json&name=vmware.use.dvswitch&_=1509431574397
>> 2017-10-31 12:02:53,723 DEBUG [c.c.s.StatsCollector]
>> (StatsCollector-5:ctx-255e604b) (logid:590926bf)
>> HostOutOfBandManagementStatsCollector is running...
>> 2017-10-31 12:02:53,806 DEBUG [c.c.s.StatsCollector]
>> (StatsCollector-2:ctx-0646fc49) (logid:d6d56098) AutoScaling Monitor is
>> running...
>> 2017-10-31 12:02:53,832 DEBUG [c.c.s.StatsCollector]
>> (StatsCollector-4:ctx-b358f8b2) (logid:f5b38c2f) VmStatsCollector is
>> running...
>> 2017-10-31 12:02:53,843 DEBUG [c.c.s.StatsCollector]
>> (StatsCollector-6:ctx-1d586223) (logid:c85d21b3) StorageCollector is
>> running...
>> 2017-10-31 12:02:53,845 DEBUG [c.c.s.StatsCollector]
>> (StatsCollector-3:ctx-cad416b9) (logid:7cb76d06) HostStatsCollector is
>> running...
>> 2017-10-31 12:02:55,669 DEBUG [c.c.a.ApiServlet]
>> (catalina-exec-15:ctx-4de5d9db) (logid:dd0d4871) ===START===
>> 172.17.101.246 -- POST  command=addVmwareDc&response=json
>> 2017-10-31 12:02:55,685 INFO  [c.c.h.v.m.VmwareManagerImpl]
>> (catalina-exec-15:ctx-4de5d9db ctx-57acc52b) (logid:dd0d4871) Ignoring API
>> call addVmwareDc, because VMware DC 172.17.101.246/WeDatacenter is
>> already associated with specified zone with id 1
>> 2017-10-31 12:02:55,685 DEBUG [c.c.a.ApiServlet]
>> (catalina-exec-15:ctx-4de5d9db ctx-57acc52b) (logid:dd0d4871) ===END===
>> 172.17.101.246 -- POST  command=addVmwareDc&response=json
>> 2017-10-31 12:02:55,695 DEBUG [c.c.a.ApiServlet]
>> (catalina-exec-16:ctx-f52cc28e) (logid:027e266d) ===START===
>> 172.17.101.246 -- GET  command=addCluster&zoneId=f538
>> e730-7431-4c65-bf7d-eccc154e8b48&hypervisor=VMware&
>> clustertype=ExternalManaged&podId=6262dca1-59df-4a32-b80a-
>> 52435f2ec4f7&username=administrator&url=http%3A%2F%2F172.17.
>> 101.246%2FWeDatacenter%2FWeCluster&clustername=172.
>> 17.101.246%2FWeDatacenter%2FWeCluster&response=json&_=1509431577174
>> 2017-10-31 12:02:55,766 INFO  [c.c.h.v.VmwareServerDiscoverer]
>> (catalina-exec-16:ctx-f52cc28e ctx-fdc1bb18) (logid:027e266d) Discover
>> host. dc: 1, pod: 1, cluster: 6, uri host: 172.17.101.246
>> 2017-10-31 12:02:55,872 INFO  [c.c.h.v.VmwareServerDiscoverer]
>> (catalina-exec-16:ctx-f52cc28e ctx-fdc1bb18) (logid:027e266d) Detected
>> private network label : DSwitch,,vmwaresvs
>> 2017-10-31 12:02:55,872 DEBUG [c.c.h.v.r.VmwareContextFactory]
>> (catalina-exec-16:ctx-f52cc28e ctx-fdc1bb18) (logid:027e266d) initialize
>> VmwareContext. url: https://172.17.101.246/sdk/vimService, username:
>> administrator, password: W*********
>> 2017-10-31 12:02:58,338 INFO  [o.a.c.f.j.i.AsyncJobManagerImpl]
>> (AsyncJobMgr-Heartbeat-1:ctx-d6249ab4) (logid:30c4e7ea) Begin cleanup
>> expired async-jobs
>> 2017-10-31 12:02:58,345 INFO  [o.a.c.f.j.i.AsyncJobManagerImpl]
>> (AsyncJobMgr-Heartbeat-1:ctx-d6249ab4) (logid:30c4e7ea) End cleanup
>> expired async-jobs
>> 2017-10-31 12:03:00,019 WARN  [c.c.h.v.VmwareServerDiscoverer]
>> (catalina-exec-16:ctx-f52cc28e ctx-fdc1bb18) (logid:027e266d) Unable to
>> connect to Vmware vSphere server. service address: 172.17.101.246.
>> com.vmware.vim25.InvalidLoginFaultMsg: Cannot complete login due to an
>> incorrect user name or password.
>> 2017-10-31 12:03:00,019 WARN  [c.c.r.ResourceManagerImpl]
>> (catalina-exec-16:ctx-f52cc28e ctx-fdc1bb18) (logid:027e266d) Unable to
>> find the server resources at http://172.17.101.246/WeDatacenter/WeCluster
>> 2017-10-31 12:03:00,019 INFO  [c.c.u.e.CSExceptionErrorCode]
>> (catalina-exec-16:ctx-f52cc28e ctx-fdc1bb18) (logid:027e266d) Could not
>> find exception: com.cloud.exception.DiscoveryException in error code
>> list for exceptions
>> 2017-10-31 12:03:00,274 WARN  [o.a.c.a.c.a.c.AddClusterCmd]
>> (catalina-exec-16:ctx-f52cc28e ctx-fdc1bb18) (logid:027e266d) Exception:
>> com.cloud.exception.DiscoveryException: Unable to add the external
>> cluster
>>         at com.cloud.resource.ResourceManagerImpl.discoverCluster(Resou
>> rceManagerImpl.java:542)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
>> ssorImpl.java:62)
>>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
>> thodAccessorImpl.java:43)
>>         at java.lang.reflect.Method.invoke(Method.java:498)
>>         at org.springframework.aop.support.AopUtils.invokeJoinpointUsin
>> gReflection(AopUtils.java:333)
>>         at org.springframework.aop.framework.ReflectiveMethodInvocation
>> .invokeJoinpoint(ReflectiveMethodInvocation.java:190)
>>         at org.springframework.aop.framework.ReflectiveMethodInvocation
>> .proceed(ReflectiveMethodInvocation.java:157)
>>         at org.springframework.aop.interceptor.ExposeInvocationIntercep
>> tor.invoke(ExposeInvocationInterceptor.java:92)
>>         at org.springframework.aop.framework.ReflectiveMethodInvocation
>> .proceed(ReflectiveMethodInvocation.java:179)
>>         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(
>> JdkDynamicAopProxy.java:213)
>>         at com.sun.proxy.$Proxy169.discoverCluster(Unknown Source)
>>         at org.apache.cloudstack.api.command.admin.cluster.AddClusterCm
>> d.execute(AddClusterCmd.java:212)
>>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:150)
>>         at com.cloud.api.ApiServer.queueCommand(ApiServer.java:729)
>>         at com.cloud.api.ApiServer.handleRequest(ApiServer.java:553)
>>         at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.
>> java:297)
>>         at com.cloud.api.ApiServlet$1.run(ApiServlet.java:129)
>>         at org.apache.cloudstack.managed.context.impl.DefaultManagedCon
>> text$1.call(DefaultManagedContext.java:56)
>>         at org.apache.cloudstack.managed.context.impl.DefaultManagedCon
>> text.callWithContext(DefaultManagedContext.java:103)
>>         at org.apache.cloudstack.managed.context.impl.DefaultManagedCon
>> text.runWithContext(DefaultManagedContext.java:53)
>>         at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:126)
>>         at com.cloud.api.ApiServlet.doGet(ApiServlet.java:88)
>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
>>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>> lter(ApplicationFilterChain.java:303)
>>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>> licationFilterChain.java:208)
>>         at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilte
>> r.java:52)
>>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>> lter(ApplicationFilterChain.java:241)
>>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>> licationFilterChain.java:208)
>>         at org.apache.catalina.core.StandardWrapperValve.invoke(Standar
>> dWrapperValve.java:218)
>>         at org.apache.catalina.core.StandardContextValve.invoke(Standar
>> dContextValve.java:110)
>>         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(A
>> uthenticatorBase.java:506)
>>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHo
>> stValve.java:169)
>>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
>> rtValve.java:103)
>>         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogVa
>> lve.java:962)
>>         at org.apache.catalina.core.StandardEngineValve.invoke(Standard
>> EngineValve.java:116)
>>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
>> apter.java:445)
>>         at org.apache.coyote.http11.AbstractHttp11Processor.process(Abs
>> tractHttp11Processor.java:1087)
>>         at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler
>> .process(AbstractProtocol.java:637)
>>         at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun
>> (NioEndpoint.java:1770)
>>         at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(
>> NioEndpoint.java:1729)
>>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool
>> Executor.java:1149)
>>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
>> lExecutor.java:624)
>>         at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.
>> run(TaskThread.java:61)
>>         at java.lang.Thread.run(Thread.java:748)
>> 2017-10-31 12:03:00,276 INFO  [c.c.a.ApiServer]
>> (catalina-exec-16:ctx-f52cc28e ctx-fdc1bb18) (logid:027e266d) Unable to add
>> the external cluster
>> 2017-10-31 12:03:00,277 DEBUG [c.c.a.ApiServlet]
>> (catalina-exec-16:ctx-f52cc28e ctx-fdc1bb18) (logid:027e266d) ===END===
>> 172.17.101.246 -- GET  command=addCluster&zoneId=f538
>> e730-7431-4c65-bf7d-eccc154e8b48&hypervisor=VMware&
>> clustertype=ExternalManaged&podId=6262dca1-59df-4a32-b80a-
>> 52435f2ec4f7&username=administrator&url=http%3A%2F%2F172.17.
>> 101.246%2FWeDatacenter%2FWeCluster&clustername=172.
>> 17.101.246%2FWeDatacenter%2FWeCluster&response=json&_=1509431577174
>>
>>
>> Thank you and best regards
>>
>> Asanka
>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message