VMware vCenter Server Lifecycle Manager Plugin fails with the error: configuration with Reverse Proxy failed
search cancel

VMware vCenter Server Lifecycle Manager Plugin fails with the error: configuration with Reverse Proxy failed

book

Article ID: 377894

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  •   Deployment of VMware vCenter Server Lifecycle Manager Plug-in fails

       
vCenter - /var/log/vmware/vsphere-ui/logs/vsphere_client_virgo.log

[2024-09-19T15:32:33.489Z] [INFO ] plugin-validation1            com.vmware.vise.extensionfw.impl.OsgiUsageValidationService       End PluginDeploymentExceptionCheck on com.vmware.lcm.client:7.0.3.2000
[2024-09-19T15:32:33.489Z] [INFO ] plugin-validation1            com.vmware.vise.extensionfw.impl.OsgiUsageValidationService       Finished validating com.vmware.lcm.client:7.0.3.2000
[2024-09-19T15:32:33.489Z] [INFO ] plugin-validation1            com.vmware.vise.extensionfw.impl.OsgiUsageValidationService       Finished validation of OSGi bad practices.
[2024-09-19T15:32:33.505Z] [ERROR] -async-task-executor-pool-90  com.vmware.vise.plugin.proxyconfig.PluginServiceConfigurer        Error waiting for initial proxy configuration to complete java.util.concurrent.ExecutionException: java.lang.RuntimeException: Failed to register plugin service in Lookup Service
        at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
        at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1928)
        at com.vmware.vise.plugin.proxyconfig.PluginServiceConfigurer.isPluginServiceReady(PluginServiceConfigurer.java:218)
..........

Caused by: java.lang.RuntimeException: Failed to register plugin service in Lookup Service
        at com.vmware.vise.plugin.proxyconfig.PluginServiceLsRegistrationTask.registerPluginService(PluginServiceLsRegistrationTask.java:102)
        at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1640)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        ... 4 common frames omitted
Caused by: java.lang.IllegalStateException: Expected a single vSphere UI registration info for node with ID: ########-####-####-####-###### but got 2.
        at com.vmware.vise.plugin.util.PluginServiceUtil.getVsphereUiEndpoint(PluginServiceUtil.java:121)
        at com.vmware.vise.plugin.proxyconfig.PluginServiceLsRegistrationTask.registerPluginService(PluginServiceLsRegistrationTask.java:74)
        ... 9 common frames omitted

[2024-09-19T15:32:33.505Z] [ERROR] -async-task-executor-pool-90  c.v.v.p.proxyconfig.EnvoyBasedRemotePluginReverseProxyConfigurer  Cannot add proxy rules for {packageRef = com.vmware.lcm.client:7.0.3.2000, manifestUrl = https://#.#,#.#/lcm-ui/plugin.zip=[url = https://##.#.#:443/lcm-ui/plugin.zip,type = null,thumbprint = null,certificate = null, url = https://#.#.#.#:443/lc
m-ui/plugin.zip,type = cis.common.skipreg,thumbprint = #######,certificate = null]}. Plugin service initial configuration is not ready/was not successful.
[2024-09-19T15:32:33.505Z] [INFO ] -async-task-executor-pool-90  com.vmware.vise.vim.extension.VcExtensionManager                  Cleaning up extension: com.vmware.lcm.client:7.0.3.2000
..........

[2024-09-19T15:32:33.616Z] [ERROR] -async-task-executor-pool-90  com.vmware.vise.plugin.status.PluginStatusServiceImpl             DEPLOYMENT_FAILED: Error deploying plugin package com.vmware.lcm.client:7.0.3.2000. Reason: Plugin configuration with Reverse Proxy failed.

Resolution

Remove duplicate service registration using the below instructions,

  1.   Make sure that you take a snapshot of vCenter, if in linked mode then take offline snapshot of linked vCenters.

  2.   Identity the duplicate service registration using lstool.

    /usr/lib/vmware-lookupsvc/tools/lstool.py list --url  http://localhost:7090/lookupservice/sdk > lstools.txt

  3.  Once you identify the duplicate service registration, run following cmd to un-register it.

    /usr/lib/vmware-lookupsvc/tools/lstool.py unregister --url http://localhost:7090/lookupservice/sdk --id Service_ID from above --user '[email protected]' --password 'ExamplePassword' --no-check-cert

    /usr/lib/vmware-lookupsvc/tools/lstool.py unregister --url http://localhost:7090/lookupservice/sdk --id 4#######-14##-4###-ad##-4be10e###### --user '[email protected]' --password 'ExamplePassword' --no-check-cert

Similar issue for vCenter 8.x due to missing permission: "Plug-in configuration with Reverse Proxy failed"

Additional Information