Today I was troubleshooting an issue in a customer’s vSphere 6 environment. Upon logging into vSphere Web Client the customer received the message below:



The customer was able to see his vCenter in the Web Client without issues and could do all tasks. Usually this occurs if vCenter is reinstalled without removing it properly from the PSC.

  1. Connect to the PSC  using SSH and enable the bash shell by running
 shell.set --enabled true
  1. Type shell and press Enter.
  2. Now create a text file with a list of the services registered to the PSC
/usr/lib/vmidentity/tools/scripts/lstool.py list --url http://localhost:7080/lookupservice/sdk --type vcenterserver > /tmp/psc_services.txt
  1. Open the text file and look for Name: AboutInfo.vpx.name. In my case two

    In the text file, you see output similar to:

    Name: AboutInfo.vpx.name
    Description: AboutInfo.vpx.name
    Service Product: com.vmware.cis
    Service Type: vcenterserver
    Service ID: 1dbc3e9f-626d-4314-8731-ca744a0d9f4b
    Site ID: home
    Node ID: d3eba55a-d4df-11e4-b3f7-000c2987c143
    Owner ID: vpxd-2752b8d1-e68b-49f8-8c92-ce3f042bf487@vsphere.local
    Version: 6.0
    Endpoints:
             Type: com.vmware.cis.workflow
             Protocol: vmomi
             URL: http://vc1.domain.local:8088

    Name: AboutInfo.vpx.name
    Description: AboutInfo.vpx.name
    Service Product: com.vmware.cis
    Service Type: vcenterserver
    Service ID: 6ae3bf1a-9318-4a33-b2cb-d2eaa7a306c5
    Site ID: home
    Node ID: 44b05c52-d4d3-11e4-830b-000c29a0e10e
    Owner ID: vpxd-bf048b3a-231e-40b0-96ea-e5792f7fa65b@vsphere.local
    Version: 6.0
    Endpoints:
             Type: com.vmware.cis.workflow
             Protocol: vmomi
             URL: http://vc1.domain.local:8088
  2. Verify the service id from the vpxd.cfg of your vcenter.
    Default location is C:\
    ProgramData\VMware\vCenterServer\cfg\vmware-vpx\vpxd.cfg
  3. The final step is to unregister the orphaned vCenter instance:
/usr/lib/vmidentity/tools/scripts/lstool.py unregister --url http://localhost:7080/lookupservice/sdk --id 6ae3bf1a-9318-4a33-b2cb-d2eaa7a306c5 --user 'administrator@vsphere.local' --password 'secret123!' --no-check-cert