VMware Cloud Community
Shylidi
Contributor
Contributor

Duplicate instance of VMware Cloud Director Availability

I'm running a Homelab with three hosts, but I've got one warning on my vCenter Appliance instance I cannot resolve. I have a duplicate, older version of a client plugin and it attempts to download it over and over. Anyone have a lead on a fix, 4 hours of google and forum reading have led to nothing.

I've attached a screenshot of the Client Plug in list, with the client id's enabled, showing two, one version 0.4.0.0 and 0.4.1.0. The second works fine, the first is broken and I believe I need to remove it...

For reference I have attempted to go to mob and used content>extension manager>unregister extension with no luck.

I apologize if this is the wrong area to post, but any help would be greatly appreciated. Thanks.

0 Kudos
33 Replies
mgiurgeu
Contributor
Contributor

this worked for me (VCSA 7.0.1)

0 Kudos
joelau007
Contributor
Contributor

No luck with the instruction. I can't even find lstool.py

The whole vmware-lookupsvc directory is missing ???

ls -l /usr/lib
total 28
drwxr-xr-x 1 root root 512 Jan 10 04:25 hostprofiles
lrwxrwxrwx 1 root root 19 Jun 2 2020 libboost_zlib-gcc48-mt-1_55.so.1.55.0 -> /lib/libz.so.1.2.11
lrwxrwxrwx 1 root root 19 Jun 2 2020 libboost_zlib-gcc48-mt-d-1_55.so.1.55.0 -> /lib/libz.so.1.2.11
drwxr-xr-x 1 root root 512 Jan 10 04:25 locale
drwxr-xr-x 1 root root 512 Jan 10 04:25 ssl
drwxr-xr-x 1 root root 512 Jan 10 04:25 vmware
drwxr-xr-x 1 root root 512 Jan 10 04:25 xorg

0 Kudos
bryanvaneeden
Hot Shot
Hot Shot

Are you using an external Platform Services Controller (PSC)?

Visit my blog at https://vcloudvision.com!
0 Kudos
joelau007
Contributor
Contributor

Apologies my mistake, mixed up the IPs and logged into the wrong box.

The instruction works thanks all.

(No thanks to VMware though, high CPU bug, now plug-in bug)

kluusi
Contributor
Contributor

Hi,

 

no success here ...


Picked up JAVA_TOOL_OPTIONS: -Xms32M -Xmx128M -Dcom.sun.org.apache.xml.internal.security.ignoreLineBreaks=true -Dorg.apache.xml.security.ignoreLineBreaks=true
com.vmware.vim.vmomi.client.common.UnexpectedStatusCodeException: Unexpected status code: 404
at com.vmware.vim.vmomi.client.common.Response$Status.getStatus(Response.java:58)
at com.vmware.vim.vmomi.client.http.impl.HttpExchangeBase.parseResponse(HttpExchangeBase.java:226)
at com.vmware.vim.vmomi.client.http.impl.HttpExchange.invokeWithinScope(HttpExchange.java:54)
at com.vmware.vim.vmomi.client.http.impl.TracingScopedRunnable.run(TracingScopedRunnable.java:24)
at com.vmware.vim.vmomi.client.http.impl.HttpExchangeBase.run(HttpExchangeBase.java:51)
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:114)
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.$Proxy25.list(Unknown Source)
at com.vmware.vim.lookup.client.tool.util.SsoEndpointUtil.findSso(SsoEndpointUtil.java:49)
at com.vmware.vim.lookup.client.tool.util.SsoEndpointUtil.createSsoConnConfig(SsoEndpointUtil.java:35)
at com.vmware.vim.lookup.client.tool.util.SamlTokenUtil.acquireBearerToken(SamlTokenUtil.java:84)
at com.vmware.vim.lookup.client.tool.util.LookupHelper$LsClient.createStub(LookupHelper.java:53)
at com.vmware.vim.lookup.client.tool.command.Command.callLsEx(Command.java:191)
at com.vmware.vim.lookup.client.tool.command.Command.callLs(Command.java:163)
at com.vmware.vim.lookup.client.tool.command.UnregisterCommand.execute(UnregisterCommand.java:42)
at com.vmware.vim.lookup.client.tool.LsTool.app(LsTool.java:67)
at com.vmware.vim.lookup.client.tool.LsTool.main(LsTool.java:103)

 

BR

0 Kudos
ChrisJMo
Contributor
Contributor

solution worked for me!

Ajay1988
Expert
Expert

Seems you have few critical services down. Please check 

If you think your queries have been answered
Mark this response as "Correct" or "Helpful".

Regards,
AJ
0 Kudos
Ajay1988
Expert
Expert

Great. Appreciate if you can mark which solution worked for you

If you think your queries have been answered
Mark this response as "Correct" or "Helpful".

Regards,
AJ
0 Kudos
kluusi
Contributor
Contributor

This ist the status of the services on our vcsa:

Running:
applmgmt lookupsvc lwsmd observability observability-vapi pschealth vlcm vmafdd vmcad vmdird vmonapi vmware-analytics vmware-certificateauthority vmware-certif icatemanagement vmware-cis-license vmware-content-library vmware-eam vmware-envo y vmware-hvc vmware-infraprofile vmware-perfcharts vmware-pod vmware-postgres-ar chiver vmware-rhttpproxy vmware-sca vmware-sps vmware-statsmonitor vmware-stsd v mware-topologysvc vmware-trustmanagement vmware-updatemgr vmware-vapi-endpoint v mware-vdtc vmware-vmon vmware-vpostgres vmware-vpxd vmware-vpxd-svcs vmware-vsan -health vmware-vsm vsphere-ui vstats vtsdb wcp
Stopped:
vmcam vmware-imagebuilder vmware-netdumper vmware-rbd-watchdog vmware-vcha

Don't know if one of the stopped services should run ?

Thanks and BR

 

 

0 Kudos
Ajay1988
Expert
Expert

That seems perfect. Can u share the exact command used and the version and build of VCSA?

If you think your queries have been answered
Mark this response as "Correct" or "Helpful".

Regards,
AJ
bryanvaneeden
Hot Shot
Hot Shot

Did you try a reboot (I'm guessing you did). It does look like all services are running fine though. Are you sure you executed the correct code?

Visit my blog at https://vcloudvision.com!
kluusi
Contributor
Contributor

Hi together,

 

- reboot was done

- I have Version: 7.0.1.00200 with Build-Nummer 17327517

- Command to get the ID:

/usr/lib/vmware-lookupsvc/tools/lstool.py list --product com.vmware.h4 --url http://localhost:7090/lookupservice/sdk

I get:

Picked up JAVA_TOOL_OPTIONS: -Xms32M -Xmx128M -Dcom.sun.org.apache.xml.internal.security.ignoreLineBreaks=true -Dorg.apache.xml.security.ignoreLineBreaks=true
Service Product: com.vmware.h4
Service Type: vsphere.client
Service ID: b584a78a-8cb0-4b43-bb59-2dadcf767ff9
Site ID: default-site
Version: 0.4.0.0
Endpoints:
Type: com.vmware.cis.vsphereclient.plugin
Protocol: http
URL: https://VCENTER-SRV-NAME:443/ui/plugins/h4va.zip

-------------------------------------------------------
Service Product: com.vmware.h4
Service Type: vsphere.client
Service ID: e034cd0a-fa80-4294-9b3a-1be3ef8cbdb9
Site ID: default-site
Version: 0.4.1.0
Endpoints:
Type: com.vmware.cis.vsphereclient.plugin
Protocol: http
URL: https://VCENTER-SRV-NAME:443/ui/plugin-resources/h4va.zip

 

- command to unregister service:

/usr/lib/vmware-lookupsvc/tools/lstool.py unregister --url http://localhost:7080/lookupservice/sdk --user 'administrator@vsphere.local' --password 'xxx' --id b584a78a-8cb0-4b43-bb59-2dadcf767ff9 --no-check-cert

0 Kudos
kluusi
Contributor
Contributor

OMG - after i looked at my own reply i saw my stupid mistake - typed in the wrong port-number . Sorry for that and THX to all. It's running now.

 

BR 

0 Kudos
bryanvaneeden
Hot Shot
Hot Shot

@kluusi Great that everything is now working. I figured it should be something in the command!

Visit my blog at https://vcloudvision.com!
0 Kudos