In an Enhanced Linked Mode setup, if one vCenter is powered off or becomes inaccessible, the UI fails to load for the active vCenters in the linked mode setup.
search cancel

In an Enhanced Linked Mode setup, if one vCenter is powered off or becomes inaccessible, the UI fails to load for the active vCenters in the linked mode setup.

book

Article ID: 407981

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • Unable to load the GUI page of the working vCenter
  • less /var/log/vmware/vsphere-ui/logs/vsphere_client_virgo.log
  • [YYYY-MM-DDTHH:MM:SS.Z] [INFO ] linkedVcGroup-pool-12521     70001101 100226 200021 com.vmware.vise.vim.commons.vcservice.impl.VcServiceImpl          Logging out of VC https://vCenter-A:443/sdk (guid f2a4c882-416e-43fb-87f9-1b1a2ba66df9, id 3000016, username null, sessionID 100226, clientId 200021)
    [YYYY-MM-DDTHH:MM:SS.Z] [INFO ] linkedVcGroup-pool-12523     70001101 100226 200021 com.vmware.vise.vim.commons.vcservice.impl.VcServiceImpl          Logging out of VC https://vCenter-B:443/sdk (guid 3d57f24f-b59e-4d99-9f8e-257455d996c0, id 3000017, username null, sessionID 100226, clientId 200021)
    [YYYY-MM-DDTHH:MM:SS.Z] [INFO ] linkedVcGroup-pool-12522     70001101 100226 200021 com.vmware.vise.vim.commons.vcservice.impl.VcServiceImpl          Logging out of VC https://vCenter-C(Powered off/inaccessible):443/sdk (guid f2b23bca-9c83-41ec-9b60-1f5966a767c8, id 3000018, username null, sessionID 100226, clientId 200021)
    [YYYY-MM-DDTHH:MM:SS.Z] [INFO ] linkedVcGroup-pool-12521     70001101 100226 200021 com.vmware.vise.util.debug.TimeMonitor                            VcServiceImpl logout: 9 milliseconds
    [YYYY-MM-DDTHH:MM:SS.Z] [INFO ] linkedVcGroup-pool-12523     70001101 100226 200021 com.vmware.vise.util.debug.TimeMonitor                            VcServiceImpl logout: 12 milliseconds
    [YYYY-MM-DDTHH:MM:SS.Z] [INFO ] vc-service-async-pool-12524   c.v.v.p.e.propertycollector.SolutionInstallPropertyCollector      Scheduling re-subscription with delay of 5000 milliseconds.
    [YYYY-MM-DDTHH:MM:SS.Z] [INFO ] vc-service-async-pool-12525   c.v.v.p.e.propertycollector.SolutionInstallPropertyCollector      Scheduling re-subscription with delay of 5000 milliseconds.
    [YYYY-MM-DDTHH:MM:SS.Z] [ERROR] p-nio-127.0.0.1-5090-exec-64 70001101 100226 200021 com.vmware.vise.vim.commons.vcservice.impl.LinkedVcGroupImpl      Timed out while waiting for VC logout tasks to complete. Will proceed with the rest of the logout. java.util.concurrent.TimeoutException: Tasks didn't complete within the allotted timeout: 30 SECONDS. The tasks that timed out are: [LinkedVcGroupImpl:vcService.logout]
            at com.vmware.vise.util.concurrent.ExecutorUtil.executeTasks(ExecutorUtil.java:349)
            at com.vmware.vise.util.concurrent.ExecutorUtil.executeTasks(ExecutorUtil.java:194)
            at com.vmware.vise.vim.commons.vcservice.impl.LinkedVcGroupImpl.logout(LinkedVcGroupImpl.java:597)
            at com.vmware.vsphere.client.security.VimAuthenticationHandler.logout(VimAuthenticationHandler.java:441)
            at com.vmware.vise.security.spring.DefaultAuthenticationProvider.logoutInternal(DefaultAuthenticationProvider.java:595)
            at com.vmware.vise.security.spring.DefaultAuthenticationProvider.access$400(DefaultAuthenticationProvider.java:82)
            at com.vmware.vise.security.spring.DefaultAuthenticationProvider$2.run(DefaultAuthenticationProvider.java:503)
            at com.vmware.vise.security.spring.DefaultAuthenticationProvider.logout(DefaultAuthenticationProvider.java:473)
            at com.vmware.vise.security.session.SessionListener.handleSessionDestroyed(SessionListener.java:135)
            at com.vmware.vise.security.session.SessionListener.sessionDestroyed(SessionListener.java:71)
            at sun.reflect.GeneratedMethodAccessor1351.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:498)
            at org.eclipse.equinox.http.servlet.internal.registration.ListenerRegistration$EventListenerInvocationHandler.invoke(ListenerRegistration.java:132)
            at com.sun.proxy.$Proxy131.sessionDestroyed(Unknown Source)
  • LinkedVcGroup.login.timeout is missing in the /etc/vmware/vsphere-ui/webclient.properties

Environment

VMware vCenter Server

 

Cause

Timeout should be configured or the wait time should be reduced so that if one of the vCenter logins is taking more time, it does not affect the log in time for other instances.

Resolution

  • Login to all the vCenters and check if the 
    • LinkedVcGroup.login.timeout value is added in/etc/vmware/vsphere-ui/webclient.properties
    • If the LinkedVcGroup.login.timeout value is high or missing follow below steps on all the vCenters in the linked mode
      • Take a backup of the webclient.properties

        • cp /etc/vmware/vsphere-ui/webclient.properties /var/tmp/webclient.properties

      • Update the value to 2000

        • sed -i '$a LinkedVcGroup.login.timeout=2000' /etc/vmware/vsphere-ui/webclient.properties

      • restart vsphere - ui service

        • service-control --restart vsphere-ui