I'm trying to add the vCenter to the Skyline and I get the following error
vCenter Server with an embedded Platform Services Controller.
root@skyline [ ~ ]# tail -f /var/log/skyline/collector.log
at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invokeOperation(MethodInvocationHandlerImpl.java:322)
at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invoke(MethodInvocationHandlerImpl.java:195)
at com.sun.proxy.$Proxy104.retrieveServiceContent(Unknown Source)
at com.vmware.vim.sso.admin.client.vmomi.impl.AdminClientImpl$1.actionCommand(AdminClientImpl.java:242)
at com.vmware.vim.sso.admin.client.vmomi.impl.AdminClientImpl$1.actionCommand(AdminClientImpl.java:237)
at com.vmware.vim.sso.admin.client.vmomi.impl.VmomiClientCommand.execute(VmomiClientCommand.java:71)
... 89 common frames omitted
2019-07-02 13:50:19,547 INFO [qtp570794077-196] c.v.s.c.s.SkylineSentry [SubstituteLogger.java:169] [] Sentry is not enabled, exception ignored.
2019-07-02 13:50:19,548 WARN [qtp570794077-196] c.v.f.c.c.SkylineCollector [SkylineCollector.java:590] [] Adding the very first endpoint failed, will abort with product adding.
2019-07-02 13:58:42,504 INFO [pool-4-thread-1] InternalCollectionTask [InternalCollectionTask.java:105] [task=heartbeat] Getting collector state with [InternalCollectionTask] running in [pool-4-thread-1]
2019-07-02 14:00:40,324 INFO [qtp570794077-18] c.v.f.c.c.SkylineCollector [SkylineCollector.java:632] [] Since there's no port specified for the endpoint, it will be tested for connectivity on 443
2019-07-02 14:00:40,352 ERROR [qtp570794077-18] c.v.f.c.c.SkylineCollector [SkylineCollector.java:536] [] Can't add endpoint because the endpoint test was not successful.
java.lang.Exception: Couldn't create collection task to test endpoint.
at com.vmware.fieldtools.collector.c3.SkylineCollector.testEndpoint(SkylineCollector.java:651)
at com.vmware.fieldtools.collector.c3.SkylineCollector.addEndpoint(SkylineCollector.java:530)
at com.vmware.fieldtools.collector.c3.SkylineCollector.addProductCollection(SkylineCollector.java:587)
at com.vmware.skyline.collector.api.services.CollectorApiServices.addProductCollection(CollectorApiServices.java:262)
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.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:867)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:542)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1588)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1557)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.Server.handle(Server.java:502)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.google.common.util.concurrent.UncheckedExecutionException: java.lang.RuntimeException: Couldn't login the client.
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2050)
at com.google.common.cache.LocalCache.get(LocalCache.java:3952)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3974)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4958)
at com.vmware.fieldtools.collector.provider.vsphere.vim.VsphereCachedClientProviderImpl.getClient(VsphereCachedClientProviderImpl.java:135)
at com.vmware.fieldtools.collector.c3.VcCollectionTask.getVcClient(VcCollectionTask.java:115)
at com.vmware.fieldtools.collector.c3.VcCollectionTask.createPropertyCollectorFacade(VcCollectionTask.java:74)
at com.vmware.fieldtools.collector.c3.VcCollectionTask.<init>(VcCollectionTask.java:61)
at com.vmware.fieldtools.collector.c3.VcEventCollectionTask.<init>(VcEventCollectionTask.java:37)
at com.vmware.fieldtools.collector.c3.SkylineCollector.getCollectionTask(SkylineCollector.java:313)
at com.vmware.fieldtools.collector.c3.SkylineCollector.testEndpoint(SkylineCollector.java:648)
... 56 common frames omitted
Caused by: java.lang.RuntimeException: Couldn't login the client.
at com.vmware.fieldtools.collector.provider.vsphere.vim.VsphereConnectionFactory.connectToVsphere(VsphereConnectionFactory.java:178)
at com.vmware.fieldtools.collector.provider.vsphere.vim.VsphereCachedClientProviderImpl.createVcClient(VsphereCachedClientProviderImpl.java:126)
at com.vmware.fieldtools.collector.provider.vsphere.vim.VsphereCachedClientProviderImpl.access$000(VsphereCachedClientProviderImpl.java:28)
at com.vmware.fieldtools.collector.provider.vsphere.vim.VsphereCachedClientProviderImpl$1.load(VsphereCachedClientProviderImpl.java:118)
at com.vmware.fieldtools.collector.provider.vsphere.vim.VsphereCachedClientProviderImpl$1.load(VsphereCachedClientProviderImpl.java:115)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3528)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2277)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2154)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2044)
... 66 common frames omitted
Caused by: com.vmware.vim.sso.admin.exception.InternalError: General failure.
at com.vmware.vim.sso.admin.client.vmomi.impl.VmomiClientCommand.execute(VmomiClientCommand.java:135)
at com.vmware.vim.sso.admin.client.vmomi.impl.VmomiClientCommand.executeEnsuringNoDomainError(VmomiClientCommand.java:141)
at com.vmware.vim.sso.admin.client.vmomi.impl.AdminClientImpl.createServiceContent(AdminClientImpl.java:237)
at com.vmware.vim.sso.admin.client.vmomi.impl.AdminClientImpl.<init>(AdminClientImpl.java:95)
at com.vmware.vim.sso.admin.client.vmomi.VmomiClientFactory.createAdminClient(VmomiClientFactory.java:55)
at com.vmware.vim.sso.admin.client.vmomi.VmomiClientFactory.createAdminClient(VmomiClientFactory.java:45)
at com.vmware.fieldtools.collector.provider.vsphere.sso.SsoServiceImpl$SsoClientFactory.createAdminClient(SsoServiceImpl.java:212)
at com.vmware.fieldtools.collector.provider.vsphere.sso.SsoServiceImpl$SsoClientFactory.createAnonymousAdminServiceClient(SsoServiceImpl.java:170)
at com.vmware.fieldtools.collector.provider.vsphere.sso.SsoServiceImpl$SsoClientFactory.createTokenServiceClient(SsoServiceImpl.java:108)
at com.vmware.fieldtools.collector.provider.vsphere.sso.SsoServiceImpl.ensureSsoConnection(SsoServiceImpl.java:394)
at com.vmware.fieldtools.collector.provider.vsphere.sso.SsoServiceImpl.getToken(SsoServiceImpl.java:348)
at com.vmware.fieldtools.collector.provider.vsphere.vim.TokenLogin.login(TokenLogin.java:38)
at com.vmware.fieldtools.collector.provider.vsphere.vim.VsphereConnectionFactory.login(VsphereConnectionFactory.java:299)
at com.vmware.fieldtools.collector.provider.vsphere.vim.VsphereConnectionFactory.access$100(VsphereConnectionFactory.java:56)
at com.vmware.fieldtools.collector.provider.vsphere.vim.VsphereConnectionFactory$LoginProcedureImpl.login(VsphereConnectionFactory.java:143)
at com.vmware.fieldtools.collector.provider.vsphere.vim.VsphereConnectionFactory.connectToVsphere(VsphereConnectionFactory.java:175)
... 74 common frames omitted
Caused by: com.vmware.vim.binding.vmodl.fault.SystemError: Internal server error
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at com.vmware.vim.vmomi.core.types.impl.ComplexTypeImpl.newInstance(ComplexTypeImpl.java:174)
at com.vmware.vim.vmomi.core.types.impl.DefaultDataObjectFactory.newDataObject(DefaultDataObjectFactory.java:25)
at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.ComplexStackContext.<init>(ComplexStackContext.java:30)
at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl$UnmarshallSoapFaultContext.parse(UnmarshallerImpl.java:159)
at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl$UnmarshallSoapFaultContext.unmarshall(UnmarshallerImpl.java:105)
at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl.unmarshalSoapFault(UnmarshallerImpl.java:92)
at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl.unmarshalSoapFault(UnmarshallerImpl.java:86)
at com.vmware.vim.vmomi.client.common.impl.SoapFaultStackContext.setValue(SoapFaultStackContext.java:40)
at com.vmware.vim.vmomi.client.common.impl.ResponseUnmarshaller.processNextElement(ResponseUnmarshaller.java:127)
at com.vmware.vim.vmomi.client.common.impl.ResponseUnmarshaller.unmarshal(ResponseUnmarshaller.java:70)
at com.vmware.vim.vmomi.client.common.impl.ResponseImpl.unmarshalResponse(ResponseImpl.java:292)
at com.vmware.vim.vmomi.client.common.impl.ResponseImpl.setResponse(ResponseImpl.java:239)
at com.vmware.vim.vmomi.client.http.impl.HttpExchangeBase.parseResponse(HttpExchangeBase.java:156)
at com.vmware.vim.vmomi.client.http.impl.HttpExchange.run(HttpExchange.java:53)
at com.vmware.vim.vmomi.client.http.impl.HttpProtocolBindingBase.executeRunnable(HttpProtocolBindingBase.java:227)
at com.vmware.vim.vmomi.client.http.impl.HttpProtocolBindingImpl.send(HttpProtocolBindingImpl.java:106)
at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$CallExecutor.sendCall(MethodInvocationHandlerImpl.java:693)
at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$CallExecutor.executeCall(MethodInvocationHandlerImpl.java:674)
at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.completeCall(MethodInvocationHandlerImpl.java:371)
at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invokeOperation(MethodInvocationHandlerImpl.java:322)
at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invoke(MethodInvocationHandlerImpl.java:195)
at com.sun.proxy.$Proxy104.retrieveServiceContent(Unknown Source)
at com.vmware.vim.sso.admin.client.vmomi.impl.AdminClientImpl$1.actionCommand(AdminClientImpl.java:242)
at com.vmware.vim.sso.admin.client.vmomi.impl.AdminClientImpl$1.actionCommand(AdminClientImpl.java:237)
at com.vmware.vim.sso.admin.client.vmomi.impl.VmomiClientCommand.execute(VmomiClientCommand.java:71)
... 89 common frames omitted
2019-07-02 14:00:40,353 INFO [qtp570794077-18] c.v.s.c.s.SkylineSentry [SubstituteLogger.java:169] [] Sentry is not enabled, exception ignored.
2019-07-02 14:00:40,353 WARN [qtp570794077-18] c.v.f.c.c.SkylineCollector [SkylineCollector.java:590] [] Adding the very first endpoint failed, will abort with product adding.
Thanks in advance
Hello jquinter06,
Welcome to communities,
I Understand that you have issues with registering the Vcenter server with skyline appliance. I see that you are using the custom domain as per the screenshots share.
So when registering the vCenter you have to choose advanced options and specify the custom domain at the end all the three SSO urls.
Below is the link for your reference:
https://communities.vmware.com/thread/591209?q=custom%20sso
Let us know if you have any further queries
---------------------------------------------------------------------------------------------------------
Was it helpful? Let us know by completing this short survey here.
Hello jquinter06,
Welcome to communities,
I Understand that you have issues with registering the Vcenter server with skyline appliance. I see that you are using the custom domain as per the screenshots share.
So when registering the vCenter you have to choose advanced options and specify the custom domain at the end all the three SSO urls.
Below is the link for your reference:
https://communities.vmware.com/thread/591209?q=custom%20sso
Let us know if you have any further queries
---------------------------------------------------------------------------------------------------------
Was it helpful? Let us know by completing this short survey here.