Venkata Siva Vijayendra Bhamidipati created CLOUDSTACK-1171:
---------------------------------------------------------------

             Summary: vmware: "Uanble to find management port group null"
                 Key: CLOUDSTACK-1171
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1171
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Management Server
    Affects Versions: 4.1.0
         Environment: vmware cluster with 4.1.0 cloudstack
            Reporter: Venkata Siva Vijayendra Bhamidipati
            Assignee: Venkata Siva Vijayendra Bhamidipati
             Fix For: 4.2.0
         Attachments: vmops.log

When creating a vmware cluster in cloudstack 4.1.0, the following exception is 
being encountered:


INFO  [hypervisor.vmware.VmwareServerDiscoverer] (64513499@qtp-2013180650-15:) 
Discover host. dc: 1, pod: 1, cluster: 1, uri host: 10.223.52.61
Started
INFO  [vmware.manager.VmwareManagerImpl] (64513499@qtp-2013180650-15:) 
Preparing network on host 
com.cloud.hypervisor.vmware.util.VmwareContext@7fe15a1 for vSwitch0
INFO  [vmware.mo.HypervisorHostHelper] (64513499@qtp-2013180650-15:) Waiting 
for network cloud.private.untagged.0.1-vSwitch0 to be ready
INFO  [vmware.mo.HypervisorHostHelper] (64513499@qtp-2013180650-15:) Waiting 
for network cloud.private.untagged.0.1-vSwitch0 to be ready
INFO  [vmware.mo.HypervisorHostHelper] (64513499@qtp-2013180650-15:) Waiting 
for network cloud.private.untagged.0.1-vSwitch0 to be ready
INFO  [vmware.mo.HypervisorHostHelper] (64513499@qtp-2013180650-15:) Waiting 
for network cloud.private.untagged.0.1-vSwitch0 to be ready
INFO  [vmware.mo.HypervisorHostHelper] (64513499@qtp-2013180650-15:) Waiting 
for network cloud.private.untagged.0.1-vSwitch0 to be ready
INFO  [vmware.mo.HypervisorHostHelper] (64513499@qtp-2013180650-15:) Waiting 
for network cloud.private.untagged.0.1-vSwitch0 to be ready
INFO  [vmware.mo.HypervisorHostHelper] (64513499@qtp-2013180650-15:) Waiting 
for network cloud.private.untagged.0.1-vSwitch0 to be ready
INFO  [vmware.mo.HypervisorHostHelper] (64513499@qtp-2013180650-15:) Network 
cloud.private.untagged.0.1-vSwitch0 is ready on vSwitch vSwitch0
INFO  [vmware.manager.VmwareManagerImpl] (64513499@qtp-2013180650-15:) 
Preparing network on host 
com.cloud.hypervisor.vmware.util.VmwareContext@7fe15a1 for vSwitch0
INFO  [vmware.mo.HypervisorHostHelper] (64513499@qtp-2013180650-15:) Waiting 
for network cloud.private.untagged.0.1-vSwitch0 to be ready
INFO  [vmware.mo.HypervisorHostHelper] (64513499@qtp-2013180650-15:) Waiting 
for network cloud.private.untagged.0.1-vSwitch0 to be ready
INFO  [vmware.mo.HypervisorHostHelper] (64513499@qtp-2013180650-15:) Waiting 
for network cloud.private.untagged.0.1-vSwitch0 to be ready
INFO  [vmware.mo.HypervisorHostHelper] (64513499@qtp-2013180650-15:) Waiting 
for network cloud.private.untagged.0.1-vSwitch0 to be ready
INFO  [vmware.mo.HypervisorHostHelper] (64513499@qtp-2013180650-15:) Waiting 
for network cloud.private.untagged.0.1-vSwitch0 to be ready
INFO  [vmware.mo.HypervisorHostHelper] (64513499@qtp-2013180650-15:) Waiting 
for network cloud.private.untagged.0.1-vSwitch0 to be ready
INFO  [vmware.mo.HypervisorHostHelper] (64513499@qtp-2013180650-15:) Waiting 
for network cloud.private.untagged.0.1-vSwitch0 to be ready
INFO  [vmware.mo.HypervisorHostHelper] (64513499@qtp-2013180650-15:) Network 
cloud.private.untagged.0.1-vSwitch0 is ready on vSwitch vSwitch0
Started
INFO  [vmware.resource.VmwareResource] (64513499@qtp-2013180650-15:) 
VmwareResource network configuration info. private vSwitch: null, public 
vSwitch: null, guest network: null
Started
INFO  [vmware.resource.VmwareResource] (64513499@qtp-2013180650-15:) 
VmwareResource network configuration info. private vSwitch: null, public 
vSwitch: null, guest network: null
INFO  [vmware.resource.VmwareResource] (64513499@qtp-2013180650-15:) Startup 
report on host hardware info. 
{"memoryBytes":17169166336,"cpuCount":2,"cpuSpeed":2200}
ERROR [vmware.resource.VmwareResource] (64513499@qtp-2013180650-15:) querying 
host network info failed due to Exception: java.lang.Exception
Message: Uanble to find management port group null

java.lang.Exception: Uanble to find management port group null
        at 
com.cloud.hypervisor.vmware.mo.HostMO.getHyperHostNetworkSummary(HostMO.java:903)
        at 
com.cloud.hypervisor.vmware.resource.VmwareResource.fillHostNetworkInfo(VmwareResource.java:4133)
        at 
com.cloud.hypervisor.vmware.resource.VmwareResource.fillHostInfo(VmwareResource.java:4085)
        at 
com.cloud.hypervisor.vmware.resource.VmwareResource.initialize(VmwareResource.java:4005)
        at 
com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1897)
        at 
com.cloud.resource.ResourceManagerImpl.discoverCluster(ResourceManagerImpl.java:535)
        at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
        at 
org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at 
org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
        at 
com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:37)
        at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at 
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
        at 
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
        at 
org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at 
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)
        at 
org.apache.cloudstack.api.command.admin.cluster.AddClusterCmd.execute(AddClusterCmd.java:153)
        at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
        at 
org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at 
com.cloud.utils.db.TransactionContextBuilder.invoke(TransactionContextBuilder.java:60)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at 
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:159)
        at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
        at 
org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at 
org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
        at 
com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:43)
        at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at 
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
        at 
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
        at 
org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at 
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)
        at com.cloud.api.ApiServer.queueCommand(ApiServer.java:502)
        at com.cloud.api.ApiServer.handleRequest(ApiServer.java:351)
        at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
        at 
org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at 
org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
        at 
com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:43)
        at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at 
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
        at 
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
        at 
org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at 
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)
        at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:302)
        at com.cloud.api.ApiServlet.doGet(ApiServlet.java:66)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
        at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
        at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
        at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
        at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
        at 
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
        at 
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.Server.handle(Server.java:326)
        at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
        at 
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
        at 
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
        at 
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
ERROR [vmware.resource.VmwareResource] (64513499@qtp-2013180650-15:) Exception 
while retrieving host info: com.cloud.utils.exception.CloudRuntimeException: 
querying host network info failed due to Exception: java.lang.Exception
Message: Uanble to find management port group null



No values were explicitly entered for the network traffic types. There are two 
freshly installed ESX 5.0 hosts in the vmware cluster in vCenter, and both of 
them have the Management Network configured correctly.

Full vmops.log will be attached.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to