vCenter

 View Only
Expand all | Collapse all

Duplicate instance of VMware Cloud Director Availability

Scott Vessey

Scott VesseyDec 27, 2020 08:51 AM

mgiurgeu

mgiurgeuJan 08, 2021 08:26 PM

ChrisJMo

ChrisJMoJan 11, 2021 02:03 PM

  • 1.  Duplicate instance of VMware Cloud Director Availability

    Posted Dec 27, 2020 02:50 AM

    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.



  • 2.  RE: Duplicate instance of VMware Cloud Director Availability

    Posted Dec 27, 2020 08:51 AM

     

    Moderator: Moved to vCenter Server Discussions



  • 3.  RE: Duplicate instance of VMware Cloud Director Availability

    Posted Dec 28, 2020 10:08 AM

    Hi  ,

    My first try would be to use the mob browser to list and remove the extension. It seems that you already did this. I am wondering what message the mob browser showed you once you did this, and if the extension is still listed in the mob browser?

    If not, you might want to restart the vCenter Server (maybe you already tried this).

    Next up, I would have a look at the vCenter vSphere Client (UI) logs to check what is happening with this extension. These logs should yield some information honestly. The logs I am mentioning are located in the following locations:

    /var/log/vmware/vsphere-client
    /var/log/vmware/vsphere-ui

    Please let me know what you can find.



  • 4.  RE: Duplicate instance of VMware Cloud Director Availability

    Posted Dec 28, 2020 11:28 AM

    okay, I'm looking at the bash directory for client-ui, and I'm unsure where I should look:

     

     



  • 5.  RE: Duplicate instance of VMware Cloud Director Availability

    Posted Dec 28, 2020 11:50 AM

    Hi  ,

    You should look at all of them, but you can start with:

    • eventlog.log
    • dataservice.log
    • vsphere_client_virgo.log
    • catalina.log
    • host-manager.log

    As far as the extension goes, I have the following extension on my vCenter Server that has the VCDA plugin installed: com.vmware.h4.vsphere.client

    But, this extension is not visible in my mob browser, like in yours. This should be normal behaviour I guess (weird though). I however have version: 4.0.1.1252999

    What version of VCDA are you running? If at all possible, I would suggest to turn of the VCDA feature in vCenter (if vCenter 7) or de-register the VCDA On-Premise appliance from the vCenter (if vCenter 6.7) to completely de-couple it from the vCenter Server and re-join it.

     


  • 6.  RE: Duplicate instance of VMware Cloud Director Availability

    Posted Dec 28, 2020 11:51 AM

    I do not need VCDA, and I am running vSphere 7

    How would I go about disabling it?



  • 7.  RE: Duplicate instance of VMware Cloud Director Availability

    Posted Dec 28, 2020 11:56 AM

    Ok, well disable the VCDA plugin in the Client Plugin window.



  • 8.  RE: Duplicate instance of VMware Cloud Director Availability

    Posted Dec 28, 2020 12:08 PM

    Unfortunately it does not appear as a service in the vCenter Server. But in vSphere Client I have now disabled it, and it's still around.



  • 9.  RE: Duplicate instance of VMware Cloud Director Availability

    Posted Dec 28, 2020 12:08 PM

    Here's the client plugin page.



  • 10.  RE: Duplicate instance of VMware Cloud Director Availability

    Posted Dec 28, 2020 12:28 PM

    What is the error message in the Client Plugin page, and what did your search through the log files yield?



  • 11.  RE: Duplicate instance of VMware Cloud Director Availability

    Posted Dec 28, 2020 11:31 AM

    This is the output of the extension manager:



  • 12.  RE: Duplicate instance of VMware Cloud Director Availability

    Posted Dec 29, 2020 09:15 AM

     

    Hi,

    Same Issue here after VCSA Update to Version:7.0.1.00200 Build-Nummer 17327517.

    Unregister via SSH-Shell does not work...

     

    See the list of the duplicate entries:

     

    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


    BR Klaus

     



  • 13.  RE: Duplicate instance of VMware Cloud Director Availability

    Posted Dec 29, 2020 11:26 AM

    And what do the vSphere Client/UI log say on this?



  • 14.  RE: Duplicate instance of VMware Cloud Director Availability

    Posted Dec 29, 2020 07:46 PM

    Hi!

    I have the same problem.

    Seems it has something to do with Upgrade to 7.0.1.00200



  • 15.  RE: Duplicate instance of VMware Cloud Director Availability

    Posted Dec 29, 2020 10:41 PM

    I can confirm from my end the upgrade was involved, I ended up reinstalling my vCenter server, and now I'm in the clear.



  • 16.  RE: Duplicate instance of VMware Cloud Director Availability

    Posted Dec 30, 2020 08:31 AM

    Hello,

    unregistering obsolete plugin with lstool.py script worked fine for me on VCSA 7.0.1.00200 build 17327517.

    -------------------------------------------------------
    Service Product: com.vmware.h4
    Service Type: vsphere.client
    Service ID: 643a9443-902e-433f-b857-4603e14d9fc8
    Site ID: default-site
    Node ID: 042705b7-e1eb-49d1-aa14-131c2600fd2f
    Owner ID: vsphere-webclient-bc0fb587-9d41-48c1-8b37-9f0f852c34b5@vsphere.local
    Version: 0.3.5.0
    Endpoints:
    Type: com.vmware.cis.vsphereclient.plugin
    Protocol: http
    URL: https://vcsa:443/ui/plugins/h4va.zip
    SSL trust: ***
    Attributes:
    com.vmware.cis.cm.HostId: bc0fb587-9d41-48c1-8b37-9f0f852c34b5
    -------------------------------------------------------
    Service Product: com.vmware.h4
    Service Type: vsphere.client
    Service ID: cb6deca2-56af-457f-8f6b-3ce0232eca7c
    Site ID: default-site
    Node ID: 042705b7-e1eb-49d1-aa14-131c2600fd2f
    Owner ID: vsphere-webclient-bc0fb587-9d41-48c1-8b37-9f0f852c34b5@vsphere.local
    Version: 0.4.1.0
    Endpoints:
    Type: com.vmware.cis.vsphereclient.plugin
    Protocol: http
    URL: https://vcsa:443/ui/plugin-resources/h4va.zip
    SSL trust: ***
    Attributes:
    com.vmware.cis.cm.HostId: bc0fb587-9d41-48c1-8b37-9f0f852c34b5
    -------------------------------------------------------

    /usr/lib/vmware-lookupsvc/tools/lstool.py unregister --url http://localhost:7090/lookupservice/sdk --user administrator@vsphere.local --password *** --id 643a9443-902e-433f-b857-4603e14d9fc8 --no-check-cert

    In the end only version 0.4.1.0 left registered.

     



  • 17.  RE: Duplicate instance of VMware Cloud Director Availability

    Posted Dec 30, 2020 09:27 AM

    This would be the last rigorous way that I would advise, but yes that would do the trick since you are essentially removing it from the database. 



  • 18.  RE: Duplicate instance of VMware Cloud Director Availability

    Posted Dec 30, 2020 01:56 PM

    Hi,

    Same Issue here after VCSA update to version: 7.0.1.00200 Build-Number 17327517 from 7.0.1.00100.

    There should be sth broken with update 7.0.1.00200.

    Comfirmed unregister that duplicated plugin works for me.



  • 19.  RE: Duplicate instance of VMware Cloud Director Availability

    Posted Jan 06, 2021 03:12 PM
    1. /usr/lib/vmware-lookupsvc/tools/lstool.py list --ep-type com.vmware.cis.vsphereclient.plugin --url  http://localhost:7090/lookupservice/sdk

    2. Look for the Service ID of Version 0.4.0.0 of the plugin

    3. /usr/lib/vmware-lookupsvc/tools/lstool.py unregister --url http://localhost:7090/lookupservice/sdk --user administrator@vsphere.local --password ****** --id e58ecbfe-514c-4940-95f7-775bc0348ac0 --no-check-cert

    4. vmon-cli -r vsphere-ui

    Succesfully executed on a VCSA 7.0.1.00200 Build 17327517



  • 20.  RE: Duplicate instance of VMware Cloud Director Availability

    Posted Jan 08, 2021 08:26 PM

    this worked for me (VCSA 7.0.1)



  • 21.  RE: Duplicate instance of VMware Cloud Director Availability

    Posted Jan 11, 2021 02:03 PM

    solution worked for me!



  • 22.  RE: Duplicate instance of VMware Cloud Director Availability

    Broadcom Employee
    Posted Jan 12, 2021 01:16 AM

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



  • 23.  RE: Duplicate instance of VMware Cloud Director Availability

    Broadcom Employee
    Posted Jan 07, 2021 05:11 AM


  • 24.  RE: Duplicate instance of VMware Cloud Director Availability

    Posted Jan 10, 2021 12:11 PM

    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



  • 25.  RE: Duplicate instance of VMware Cloud Director Availability

    Posted Jan 11, 2021 09:57 AM

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



  • 26.  RE: Duplicate instance of VMware Cloud Director Availability

    Posted Jan 11, 2021 11:03 AM

    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)



  • 27.  RE: Duplicate instance of VMware Cloud Director Availability

    Posted Jan 11, 2021 12:47 PM

    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



  • 28.  RE: Duplicate instance of VMware Cloud Director Availability

    Broadcom Employee
    Posted Jan 12, 2021 12:51 AM

    Seems you have few critical services down. Please check 



  • 29.  RE: Duplicate instance of VMware Cloud Director Availability

    Posted Jan 12, 2021 08:34 AM

    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

     

     



  • 30.  RE: Duplicate instance of VMware Cloud Director Availability

    Broadcom Employee
    Posted Jan 12, 2021 04:32 PM

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



  • 31.  RE: Duplicate instance of VMware Cloud Director Availability

    Posted Jan 12, 2021 05:23 PM

    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?



  • 32.  RE: Duplicate instance of VMware Cloud Director Availability

    Posted Jan 13, 2021 10:57 AM

    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



  • 33.  RE: Duplicate instance of VMware Cloud Director Availability

    Posted Jan 13, 2021 11:01 AM

    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 



  • 34.  RE: Duplicate instance of VMware Cloud Director Availability

    Posted Jan 14, 2021 09:12 AM

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