503 Service Unavailable (Failed to connect to endpoint: [class Vmacore::Http::LocalServiceSpec:0x000000cd9a3f7d70] _serverNamespace = /ui action = Allow _port=5090)
service-control --status --all
" shows the "vsphere-ui" service in STOPPED status. [2018-10-19T11:28:47.554+08:00] [ERROR] plugin-deploy2 com.vmware.vise.extensionfw.impl.PackagesDeployer Error deploying one of more bundles for the plugin package C:\ProgramData\VMware\vCenterServer\runtime\vsphere-ui\plugin-packages\license-client java.lang.Exception: Timed out waiting for a bundle to start.
at com.vmware.vise.extensionfw.impl.DirectApiBundleDeployer.waitForBundlesStart(DirectApiBundleDeployer.java:98)
at com.vmware.vise.extensionfw.impl.DirectApiBundleDeployer.deploy(DirectApiBundleDeployer.java:58)
[2018-10-19T11:28:47.557+08:00] [ERROR] plugin-deploy2 org.eclipse.virgo.medic.eventlog.default XF1009E Failed to deploy plugin package 'com.vmware.license.client' version '6.5.0.10000'.
[2018-10-19T11:38:48.014+08:00] [ERROR] ng DM Context Creation Timer org.eclipse.virgo.medic.eventlog.default AG0000E Application context creation failure for bundle 'com.vmware.license.client-6.5.0.10000-com.vmware.license.client.licenseservice' version '6.5.0.13000'. org.springframework.context.ApplicationContextException: Application context initialization for 'com.vmware.license.client-6.5.0.10000-com.vmware.license.client.licenseservice' has timed out waiting for (objectClass=org.springframework.beans.factory.config.Scope)
VMware vCenter Server 6.5.x
The deployment method of DirectApiBundleDeployer causes caching issue with rpm installation which may make plugins deployment failed when vsphere-ui service started. In this sample, the client can not start in 15 minutes, but normally it should take no more than 5 minutes that was caused by failure of plugin deployment.
This issue is resolved in vCenter Server 6.7.
service-control --status --all
service-control --start vsphere-ui
pickup.deployer=true
service-control --start vsphere-ui