VMware Cloud Community
ivanxness
Contributor
Contributor

Failed to add new cluster

I want to use big data in production to manage kubernetes cluster for my developers. But I lost 2 days to setup it.

I have working vCenter 6.

I have import OVA file into one of my DCdeploy.PNG

After that I have configured SSO by Documentation recommends.

And when I try to create new cluster I got error

null.PNG

At the same time on serengeti side:

[2016-03-09T19:33:29.877+0200] INFO  http-nio-8443-exec-1| com.vmware.bdd.rest.interceptor.RestLogInterceptor: 10.129.0.100, GET /serengeti/api/hello, 200, 2ms

[2016-03-09T19:33:29.942+0200] INFO  http-nio-8443-exec-5| com.vmware.bdd.rest.interceptor.RestLogInterceptor: 10.129.0.100, GET /serengeti/api/hello, 200, 2ms

[2016-03-09T19:33:30.178+0200] INFO  http-nio-8443-exec-4| com.vmware.bdd.rest.interceptor.RestLogInterceptor: 10.129.0.100, GET /serengeti/api/hello, 200, 2ms

[2016-03-09T19:33:30.244+0200] INFO  http-nio-8443-exec-7| com.vmware.bdd.rest.interceptor.RestLogInterceptor: 10.129.0.100, GET /serengeti/api/hello, 200, 2ms

[2016-03-09T19:33:30.403+0200] INFO  http-nio-8443-exec-5| com.vmware.bdd.rest.interceptor.RestLogInterceptor: 10.129.0.100, GET /serengeti/api/clusters, 200, 8ms

[2016-03-09T19:33:30.470+0200] INFO  http-nio-8443-exec-6| com.vmware.bdd.rest.interceptor.RestLogInterceptor: 10.129.0.100, GET /serengeti/api/clusters, 200, 6ms

[2016-03-09T19:33:30.796+0200] INFO  http-nio-8443-exec-8| com.vmware.bdd.rest.interceptor.RestLogInterceptor: 10.129.0.100, GET /serengeti/api/hello, 200, 2ms

[2016-03-09T19:33:31.091+0200] INFO  http-nio-8443-exec-4| com.vmware.bdd.rest.interceptor.RestLogInterceptor: 10.129.0.100, GET /serengeti/api/hello, 200, 2ms

[2016-03-09T19:33:31.097+0200] INFO  http-nio-8443-exec-5| com.vmware.bdd.rest.interceptor.RestLogInterceptor: 10.129.0.100, GET /serengeti/api/hello, 200, 2ms

[2016-03-09T19:33:31.166+0200] INFO  http-nio-8443-exec-7| com.vmware.bdd.rest.interceptor.RestLogInterceptor: 10.129.0.100, GET /serengeti/api/tasks, 200, 7ms

[2016-03-09T19:33:31.178+0200] INFO  http-nio-8443-exec-3| com.vmware.bdd.rest.interceptor.RestLogInterceptor: 10.129.0.100, GET /serengeti/api/clusters, 200, 11ms

[2016-03-09T19:33:31.572+0200] INFO  http-nio-8443-exec-6| com.vmware.bdd.rest.interceptor.RestLogInterceptor: 10.129.0.100, GET /serengeti/api/hello, 200, 3ms

[2016-03-09T19:33:31.876+0200] INFO  http-nio-8443-exec-4| com.vmware.bdd.rest.interceptor.RestLogInterceptor: 10.129.0.100, GET /serengeti/api/hello, 200, 2ms

[2016-03-09T19:33:31.949+0200] INFO  http-nio-8443-exec-5| com.vmware.bdd.rest.interceptor.RestLogInterceptor: 10.129.0.100, GET /serengeti/api/clusters, 200, 6ms

[2016-03-09T19:33:35.393+0200] INFO  http-nio-8443-exec-1| com.vmware.bdd.rest.interceptor.RestLogInterceptor: 10.129.0.100, GET /serengeti/api/hello, 200, 2ms

[2016-03-09T19:33:38.701+0200] INFO  http-nio-8443-exec-7| com.vmware.bdd.rest.interceptor.RestLogInterceptor: 10.129.0.100, GET /serengeti/api/hello, 200, 3ms

[2016-03-09T19:33:38.915+0200] INFO  http-nio-8443-exec-5| com.vmware.bdd.rest.interceptor.RestLogInterceptor: 10.129.0.100, GET /serengeti/api/appmanagers, 200, 12ms

[2016-03-09T19:33:39.368+0200] INFO  http-nio-8443-exec-1| com.vmware.bdd.rest.interceptor.RestLogInterceptor: 10.129.0.100, GET /serengeti/api/hello, 200, 3ms

[2016-03-09T19:33:39.667+0200] INFO  http-nio-8443-exec-7| com.vmware.bdd.rest.interceptor.RestLogInterceptor: 10.129.0.100, GET /serengeti/api/hello, 200, 3ms

[2016-03-09T19:33:39.870+0200] INFO  http-nio-8443-exec-4| com.vmware.bdd.service.resmgmt.impl.NodeTemplateService: Refreshing node templates from vCenter

[2016-03-09T19:33:39.871+0200] INFO  http-nio-8443-exec-4| com.vmware.bdd.service.utils.VcResourceUtils: finding all node template VMs

[2016-03-09T19:33:40.545+0200] INFO  http-nio-8443-exec-4| com.vmware.bdd.aop.logging.ExceptionHandlerAspect: Aspect for exception handling

[2016-03-09T19:33:40.545+0200] ERROR http-nio-8443-exec-4| com.vmware.bdd.aop.logging.ExceptionHandlerAspect: Service error

com.vmware.aurora.exception.VcException: Failed to execute vCenter Server command: com.sun.proxy.$Proxy149 cannot be cast to com.vmware.vim.binding.vim.ClusterComputeResource

        at com.vmware.aurora.exception.AuroraException.stitchStackTraces(AuroraException.java:187)

        at com.vmware.aurora.vc.VcObjectRequest.getResult(VcObjectRequest.java:96)

        at com.vmware.aurora.vc.VcCache.requestObject(VcCache.java:243)

        at com.vmware.aurora.vc.VcCache.getObject(VcCache.java:137)

        at com.vmware.aurora.vc.VcCache.get(VcCache.java:292)

        at com.vmware.aurora.vc.VcVirtualMachineImpl.getParentVApp(VcVirtualMachineImpl.java:1916)

        at com.vmware.bdd.service.utils.VcResourceUtils.findAllNodeTemplates(VcResourceUtils.java:430)

        at com.vmware.bdd.service.resmgmt.impl.NodeTemplateService.refreshNodeTemplates(NodeTemplateService.java:149)

        at com.vmware.bdd.service.resmgmt.impl.NodeTemplateService.getAllNodeTemplates(NodeTemplateService.java:119)

        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.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:55)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)

        at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)

        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)

        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

        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.$Proxy52.getAllNodeTemplates(Unknown Source)

        at com.vmware.bdd.rest.NodeTemplateResource.getNodeTemplates(NodeTemplateResource.java:41)

        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.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215)

        at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)

        at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)

        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:743)

        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:672)

        at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:82)

        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:919)

        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:851)

        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953)

        at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:844)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)

        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at com.vmware.bdd.web.servlet.filter.MaintenanceModeAccessFilter.doFilter(MaintenanceModeAccessFilter.java:72)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:223)

        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:316)

        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126)

        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

        at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

        at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:122)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

        at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

        at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:169)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

        at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:48)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

        at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:205)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

        at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:158)

        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

        at org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter.doFilter(DefaultLoginPageGeneratingFilter.java:162)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

        at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:205)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

        at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:120)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

        at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:64)

        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

        at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:53)

        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

        at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:91)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

        at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:213)

        at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:176)

        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)

        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)

        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:217)

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)

        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614)

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)

        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)

        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)

        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673)

        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)

        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

        at java.lang.Thread.run(Thread.java:745)

Caused by: java.lang.ClassCastException: com.sun.proxy.$Proxy149 cannot be cast to com.vmware.vim.binding.vim.ClusterComputeResource

        at com.vmware.aurora.vc.VcResourcePoolImpl.calculatePathSlow(VcResourcePool.java:332)

        at com.vmware.aurora.vc.VcResourcePoolImpl.updatePath(VcResourcePool.java:360)

        at com.vmware.aurora.vc.VcResourcePoolImpl.update(VcResourcePool.java:294)

        at com.vmware.aurora.vc.VcResourcePoolImpl.<init>(VcResourcePool.java:307)

        at com.vmware.aurora.vc.VcObjectImpl.loadFromMoRef(VcObjectImpl.java:97)

        at com.vmware.aurora.vc.VcObjectRequest$1.body(VcObjectRequest.java:160)

        at com.vmware.aurora.vc.VcObjectRequest$1.body(VcObjectRequest.java:154)

        at com.vmware.aurora.vc.vcservice.VcContext.inVcSessionDo(VcContext.java:557)

        at com.vmware.aurora.vc.VcObjectRequest.execute(VcObjectRequest.java:154)

        at com.vmware.aurora.util.worker.Request.safeExecute(Request.java:67)

        at com.vmware.aurora.util.worker.Request.run(Request.java:82)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

        ... 1 more

cation.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:205)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

        at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:120)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

        at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:64)

        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

        at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:53)

        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

        at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:91)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

        at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:213)

        at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:176)

        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)

        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)

        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:217)

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)

        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614)

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)

        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)

        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)

        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673)

        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)

        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

        at java.lang.Thread.run(Thread.java:745)

Caused by: java.lang.ClassCastException: com.sun.proxy.$Proxy149 cannot be cast to com.vmware.vim.binding.vim.ClusterComputeResource

        at com.vmware.aurora.vc.VcResourcePoolImpl.calculatePathSlow(VcResourcePool.java:332)

        at com.vmware.aurora.vc.VcResourcePoolImpl.updatePath(VcResourcePool.java:360)

        at com.vmware.aurora.vc.VcResourcePoolImpl.update(VcResourcePool.java:294)

        at com.vmware.aurora.vc.VcResourcePoolImpl.<init>(VcResourcePool.java:307)

        at com.vmware.aurora.vc.VcObjectImpl.loadFromMoRef(VcObjectImpl.java:97)

        at com.vmware.aurora.vc.VcObjectRequest$1.body(VcObjectRequest.java:160)

        at com.vmware.aurora.vc.VcObjectRequest$1.body(VcObjectRequest.java:154)

        at com.vmware.aurora.vc.vcservice.VcContext.inVcSessionDo(VcContext.java:557)

        at com.vmware.aurora.vc.VcObjectRequest.execute(VcObjectRequest.java:154)

        at com.vmware.aurora.util.worker.Request.safeExecute(Request.java:67)

        at com.vmware.aurora.util.worker.Request.run(Request.java:82)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

        ... 1 more

[2016-03-09T19:33:40.550+0200] ERROR http-nio-8443-exec-4| com.vmware.bdd.rest.RestValidationErrorHandler: Internal Server Error

com.vmware.bdd.exception.BddException: Internal server error: Unknown error.

        at com.vmware.bdd.exception.BddException.INTERNAL(BddException.java:90)

        at com.vmware.bdd.exception.BddException.wrapIfNeeded(BddException.java:85)

        at com.vmware.bdd.rest.RestValidationErrorHandler.handleException(RestValidationErrorHandler.java:117)

        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.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215)

        at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)

        at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)

        at org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver.doResolveHandlerMethodException(ExceptionHandlerExceptionResolver.java:320)

        at org.springframework.web.servlet.handler.AbstractHandlerMethodExceptionResolver.doResolveException(AbstractHandlerMethodExceptionResolver.java:60)

        at org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver.resolveException(AbstractHandlerExceptionResolver.java:136)

        at org.springframework.web.servlet.DispatcherServlet.processHandlerException(DispatcherServlet.java:1141)

        at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:979)

        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:933)

        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:851)

        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953)

        at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:844)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)

        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at com.vmware.bdd.web.servlet.filter.MaintenanceModeAccessFilter.doFilter(MaintenanceModeAccessFilter.java:72)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:223)

        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:316)

        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126)

        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

        at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

        at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:122)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

        at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

        at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:169)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

        at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:48)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

        at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:205)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

        at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:158)

        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

        at org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter.doFilter(DefaultLoginPageGeneratingFilter.java:162)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

        at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:205)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

        at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:120)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

        at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:64)

        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

        at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:53)

        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

        at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:91)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

        at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:213)

        at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:176)

        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)

        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)

        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:217)

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)

        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614)

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)

        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)

        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)

        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673)

        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)

        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

        at java.lang.Thread.run(Thread.java:745)

Caused by: com.vmware.aurora.exception.VcException: Failed to execute vCenter Server command: com.sun.proxy.$Proxy149 cannot be cast to com.vmware.vim.binding.vim.ClusterComputeResource

        at com.vmware.aurora.exception.AuroraException.stitchStackTraces(AuroraException.java:187)

        at com.vmware.aurora.vc.VcObjectRequest.getResult(VcObjectRequest.java:96)

        at com.vmware.aurora.vc.VcCache.requestObject(VcCache.java:243)

        at com.vmware.aurora.vc.VcCache.getObject(VcCache.java:137)

        at com.vmware.aurora.vc.VcCache.get(VcCache.java:292)

        at com.vmware.aurora.vc.VcVirtualMachineImpl.getParentVApp(VcVirtualMachineImpl.java:1916)

        at com.vmware.bdd.service.utils.VcResourceUtils.findAllNodeTemplates(VcResourceUtils.java:430)

        at com.vmware.bdd.service.resmgmt.impl.NodeTemplateService.refreshNodeTemplates(NodeTemplateService.java:149)

        at com.vmware.bdd.service.resmgmt.impl.NodeTemplateService.getAllNodeTemplates(NodeTemplateService.java:119)

        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.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:55)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)

        at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)

        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)

        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

        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.$Proxy52.getAllNodeTemplates(Unknown Source)

        at com.vmware.bdd.rest.NodeTemplateResource.getNodeTemplates(NodeTemplateResource.java:41)

        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.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215)

        at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)

        at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)

        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:743)

        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:672)

        at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:82)

        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:919)

        ... 77 more

Caused by: java.lang.ClassCastException: com.sun.proxy.$Proxy149 cannot be cast to com.vmware.vim.binding.vim.ClusterComputeResource

        at com.vmware.aurora.vc.VcResourcePoolImpl.calculatePathSlow(VcResourcePool.java:332)

        at com.vmware.aurora.vc.VcResourcePoolImpl.updatePath(VcResourcePool.java:360)

        at com.vmware.aurora.vc.VcResourcePoolImpl.update(VcResourcePool.java:294)

        at com.vmware.aurora.vc.VcResourcePoolImpl.<init>(VcResourcePool.java:307)

        at com.vmware.aurora.vc.VcObjectImpl.loadFromMoRef(VcObjectImpl.java:97)

        at com.vmware.aurora.vc.VcObjectRequest$1.body(VcObjectRequest.java:160)

        at com.vmware.aurora.vc.VcObjectRequest$1.body(VcObjectRequest.java:154)

        at com.vmware.aurora.vc.vcservice.VcContext.inVcSessionDo(VcContext.java:557)

        at com.vmware.aurora.vc.VcObjectRequest.execute(VcObjectRequest.java:154)

        at com.vmware.aurora.util.worker.Request.safeExecute(Request.java:67)

        at com.vmware.aurora.util.worker.Request.run(Request.java:82)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

        ... 1 more

a:106)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:217)

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)

        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614)

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)

        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)

        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)

        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673)

        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)

        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

        at java.lang.Thread.run(Thread.java:745)

Caused by: com.vmware.aurora.exception.VcException: Failed to execute vCenter Server command: com.sun.proxy.$Proxy149 cannot be cast to com.vmware.vim.binding.vim.ClusterComputeResource

        at com.vmware.aurora.exception.AuroraException.stitchStackTraces(AuroraException.java:187)

        at com.vmware.aurora.vc.VcObjectRequest.getResult(VcObjectRequest.java:96)

        at com.vmware.aurora.vc.VcCache.requestObject(VcCache.java:243)

        at com.vmware.aurora.vc.VcCache.getObject(VcCache.java:137)

        at com.vmware.aurora.vc.VcCache.get(VcCache.java:292)

        at com.vmware.aurora.vc.VcVirtualMachineImpl.getParentVApp(VcVirtualMachineImpl.java:1916)

        at com.vmware.bdd.service.utils.VcResourceUtils.findAllNodeTemplates(VcResourceUtils.java:430)

        at com.vmware.bdd.service.resmgmt.impl.NodeTemplateService.refreshNodeTemplates(NodeTemplateService.java:149)

        at com.vmware.bdd.service.resmgmt.impl.NodeTemplateService.getAllNodeTemplates(NodeTemplateService.java:119)

        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.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:55)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)

        at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)

        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)

        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

        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.$Proxy52.getAllNodeTemplates(Unknown Source)

        at com.vmware.bdd.rest.NodeTemplateResource.getNodeTemplates(NodeTemplateResource.java:41)

        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.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215)

        at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)

        at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)

        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:743)

        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:672)

        at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:82)

        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:919)

        ... 77 more

Caused by: java.lang.ClassCastException: com.sun.proxy.$Proxy149 cannot be cast to com.vmware.vim.binding.vim.ClusterComputeResource

        at com.vmware.aurora.vc.VcResourcePoolImpl.calculatePathSlow(VcResourcePool.java:332)

        at com.vmware.aurora.vc.VcResourcePoolImpl.updatePath(VcResourcePool.java:360)

        at com.vmware.aurora.vc.VcResourcePoolImpl.update(VcResourcePool.java:294)

        at com.vmware.aurora.vc.VcResourcePoolImpl.<init>(VcResourcePool.java:307)

        at com.vmware.aurora.vc.VcObjectImpl.loadFromMoRef(VcObjectImpl.java:97)

        at com.vmware.aurora.vc.VcObjectRequest$1.body(VcObjectRequest.java:160)

        at com.vmware.aurora.vc.VcObjectRequest$1.body(VcObjectRequest.java:154)

        at com.vmware.aurora.vc.vcservice.VcContext.inVcSessionDo(VcContext.java:557)

        at com.vmware.aurora.vc.VcObjectRequest.execute(VcObjectRequest.java:154)

        at com.vmware.aurora.util.worker.Request.safeExecute(Request.java:67)

        at com.vmware.aurora.util.worker.Request.run(Request.java:82)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

        ... 1 more

[2016-03-09T19:33:40.555+0200] INFO  http-nio-8443-exec-4| com.vmware.bdd.rest.interceptor.RestLogInterceptor: 10.129.0.100, GET /serengeti/api/templates, 500, 685ms

[2016-03-09T19:33:40.555+0200] INFO  http-nio-8443-exec-4| com.vmware.bdd.rest.interceptor.RestLogInterceptor: 10.129.0.100, GET /serengeti/api/templates, 500, 685ms

[2016-03-09T19:33:45.514+0200] INFO  Event_Handler| com.vmware.bdd.service.event.EventScheduler: processed 3 new events

[2016-03-09T19:33:45.514+0200] INFO  Event_Handler| com.vmware.bdd.service.event.EventScheduler: Events processed: [{moid=null:VirtualMachine:vm-3857, event=VmReconfigured}, {moid=null:VirtualMachine:vm-3857, event=VmDrsPoweredOn}, {moid=null:VirtualMachine:vm-3857, event=VmPoweredOn}]

Also in logs are events:

[2016-03-09T19:32:09.862+0200] INFO  pool-4-thread-1| com.vmware.bdd.service.utils.VcResourceUtils: Folder SERENGETI-vApp-xxx-uuid is not found.

[2016-03-09T19:32:09.862+0200] INFO  pool-4-thread-1| com.vmware.bdd.service.event.VmEventManager: VM root folderSERENGETI-vApp-xxx-uuid is not created yet. Ignore external VM event.

[2016-03-09T19:32:10.306+0200] INFO  pool-4-thread-4| com.vmware.bdd.service.utils.VcResourceUtils: Folder SERENGETI-vApp-xxx-uuid is not found.

[2016-03-09T19:32:10.306+0200] INFO  pool-4-thread-4| com.vmware.bdd.service.event.VmEventManager: VM root folderSERENGETI-vApp-xxx-uuid is not created yet. Ignore external VM event.

[2016-03-09T19:32:10.667+0200] INFO  pool-4-thread-8| com.vmware.bdd.service.utils.VcResourceUtils: Folder SERENGETI-vApp-xxx-uuid is not found.

[2016-03-09T19:32:10.669+0200] INFO  pool-4-thread-8| com.vmware.bdd.service.event.VmEventManager: VM root folderSERENGETI-vApp-xxx-uuid is not created yet. Ignore external VM event.

[2016-03-09T19:32:10.733+0200] INFO  Event_Expander| com.vmware.bdd.service.event.EventScheduler: expanding 2 new events

0 Kudos
8 Replies
jessehuvmw
Enthusiast
Enthusiast

Could you please follow the steps below to debug this SSO issue ?

1) The node-template should be moved out of the 'vSphere Big Data Extensions Server' vApp, and leave 'debian7-template' and 'management-server' in it.

2) ssh to BDE Management Server as user serengeti and execute :

  sudo /opt/serengeti/sbin/EnableSSOAuth https://vCenter_FQDN:443/lookupservice/sdk

  sudo service tomcat restart

3) Which BDE server are you using ?  BDE 2.2 and below do not support Kubernetes.  BDE 2.3 and the BDE fling support it.

If using BDE 2.3 GA, you need to run the command below on BDE Server to add Kubernetes distro into BDE:

  config-distro.rb --name kubernetes --vendor KUBERNETES --version 1.0.1 --tarball https://github.com/kubernetes/kubernetes/releases/download/v1.0.1/kubernetes.tar.gz

Then you can use BDE CLI or vSphere Web Client to create a Kubernetes cluster :

  cluster create --name <unique_cluster_name> --distro kubernetes --specFile /opt/serengeti/samples/kubernetes_cluster.json --yes

If it doesn't work, could you send us the following logs on BDE Server for debug ?

/opt/serengeti/logs/serengeti-boot.log

/opt/serengeti/logs/serengeti.log

/opt/serengeti/logs/ironfan.log

Cheers, Jesse Hu
0 Kudos
ivanxness
Contributor
Contributor

[serengeti@192 ~]$ sudo /opt/serengeti/sbin/EnableSSOAuth https://vcenter.exness.local:443/lookupservice/sdk

Intializing registration provider...

Getting SSL certificates for https://vcenter.exness.local:443/lookupservice/sdk

Anonymous execution

The file /opt/serengeti/ssotool/ssoData/groupcheck.crt already exists. Overwriting...

The file /opt/serengeti/ssotool/ssoData/admin.crt already exists. Overwriting...

The file /opt/serengeti/ssotool/ssoData/sts.crt already exists. Overwriting...

Successfully saved SSO locations and certificates

Return code is: Success

Prepare the authentication component

SSO Authentication is enabled now. Please restart the Serengeti Web Service to complete the procedure by executing the command 'sudo service tomcat restart'.

[serengeti@192 ~]$ sudo service tomcat restart

Thu Mar 10 07:24:49 UTC 2016 tomcat: Stopping Tomcat

Using CATALINA_BASE:   /opt/serengeti/tomcat

Using CATALINA_HOME:   /opt/serengeti/tomcat

Using CATALINA_TMPDIR: /opt/serengeti/tomcat/temp

Using JRE_HOME:        /usr

Using CLASSPATH:       /opt/serengeti/tomcat/bin/bootstrap.jar:/opt/serengeti/tomcat/bin/tomcat-juli.jar

Using CATALINA_PID:    /var/tmp/catalina.pid

Mar 10, 2016 7:24:50 AM org.apache.catalina.startup.Catalina stopServer

SEVERE: Could not contact localhost:8005. Tomcat may not be running.

Mar 10, 2016 7:24:50 AM org.apache.catalina.startup.Catalina stopServer

SEVERE: Catalina.stop:

java.net.ConnectException: Connection refused

        at java.net.PlainSocketImpl.socketConnect(Native Method)

        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:344)

        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)

        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)

        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)

        at java.net.Socket.connect(Socket.java:579)

        at java.net.Socket.connect(Socket.java:528)

        at java.net.Socket.<init>(Socket.java:425)

        at java.net.Socket.<init>(Socket.java:208)

        at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:450)

        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.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:400)

        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:487)

The stop command failed. Attempting to signal the process to stop through OS signal.

Tomcat stopped.

Thu Mar 10 07:24:51 UTC 2016 tomcat: no need to remove stale /var/tmp/catalina.pid

Thu Mar 10 07:24:51 UTC 2016 tomcat: Stop ok

Thu Mar 10 07:24:51 UTC 2016 tomcat: Starting Tomcat

Thu Mar 10 07:24:51 UTC 2016 tomcat: no need to remove stale /var/tmp/catalina.pid

Using CATALINA_BASE:   /opt/serengeti/tomcat

Using CATALINA_HOME:   /opt/serengeti/tomcat

Using CATALINA_TMPDIR: /opt/serengeti/tomcat/temp

Using JRE_HOME:        /usr

Using CLASSPATH:       /opt/serengeti/tomcat/bin/bootstrap.jar:/opt/serengeti/tomcat/bin/tomcat-juli.jar

Using CATALINA_PID:    /var/tmp/catalina.pid

Tomcat started.

serengeti>cluster create --name kube_cluster --distro kubernetes --specFile /opt/serengeti/samples/kubernetes_cluster.json --yes

cluster create failed: Cannot find the specified network.

When I tried to add Network I've got error

Can not add network. Serengeti initialization error: Failed to execute vCenter Server command: com.sun.proxy.$Proxy149 cannot be cast to com.vmware.vim.binding.vim.ClusterComputeResource Server initialization canceled.

0 Kudos
jessehuvmw
Enthusiast
Enthusiast

How did you add network and could you show the result of 'network list' in BDE CLI?

Cheers, Jesse Hu
0 Kudos
ivanxness
Contributor
Contributor

I'have tried to add it from vCenter wEb Client.

somenet.PNG

err.PNG

serengeti>network list

serengeti>

0 Kudos
ivanxness
Contributor
Contributor

Just now, I have also created fresh new Distributed Switch and Port Group

After that I tried from CLI

serengeti>network add --name SomeNet --portGroup Cyprus-DPortGroup-01 --dhcp

network add failed: Serengeti initialization error: Failed to execute vCenter Server command: com.sun.proxy.$Proxy149 cannot be cast to com.vmware.vim.binding.vim.ClusterComputeResource Server initialization canceled.

serengeti>

0 Kudos
jessehuvmw
Enthusiast
Enthusiast

I noticed that your BDE vApp is not deployed in the top level resource pool under the vCenter cluster '192.168.137.7'.  You need to create a Resource Pool under the cluster '192.168.137.7', then deploy a new BDE 2.3 vApp under it.

Cheers, Jesse Hu
0 Kudos
ivanxness
Contributor
Contributor

Thanks, need I fresh deploy or I can move my vApp into Resource Pool ?

0 Kudos
jessehuvmw
Enthusiast
Enthusiast

You're welcome. Better to deploy a new one. I'm not sure whether move works.

Cheers, Jesse Hu
0 Kudos