VCHA option not visible under Configuration in HTML5 client
search cancel

VCHA option not visible under Configuration in HTML5 client

book

Article ID: 338169

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

The VCHA option is not visible under Configuration in HTML.
Flex/Flash is visible.
PNID was in uppercase.
All service registrations were in uppercase.
Please engage/consult an Escalation Engineer before performing the steps.

Environment

VMware vCenter Server Appliance 6.7.x

Cause

The service registration with type com.vmware.vapi.vcenter (under vcenterserver) was missing, and another one was that the hostname in the registrations was in uppercase letters.

In /var/log/vmware/vsphere-client/logs/vsphere_client_virgo.log you see messages similar to:


YYYY-MM-DDTHH:MM:SS [ERROR] data-service-pool-783        70000536 100025 200003 com.vmware.vsphere.client.h5.vcha.VchaPropertyProviderAdapter     Connection to VCHA vapi service for vcenter 'VCSA.EXAMPLE.COM' failed.
YYYY-MM-DDTHH:MM:SS [ERROR] data-service-pool-509        70000542 100025 200003 com.vmware.vsphere.client.h5.vcha.VchaPropertyProviderAdapter     Connection to VCHA vapi service for vcenter 'VCSA.EXAMPLE.COM' failed.

Resolution

Below are the detailed steps to re-register the vCenter Server registration using a lowercase hostname and include the missing endpoint com.vmware.vapi.vcenter.

Note: Please ensure all PSC/VCSA nodes are powered off and snapshotted before proceeding.

Steps:

  1. Transfer the Utility:

    • Use WinSCP to upload the file rebuild67.tgz to the affected vCenter appliance under the /tmp directory.

  2. Extract the Utility:

    cd /tmp
    tar -zxvf rebuild67.tgz
    chmod 700 /tmp/rebuild67
    cd /tmp/rebuild67
  3. Run the BuildSpecs Script:

    python BuildSpecs.py
  4. Identify the Affected vCenter Node ID:

    cat /etc/vmware/install-defaults/vmdir.ldu-guid
    • Example output: aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa

  5. Modify the Specification Files:

    • Open each spec file under cd /tmp/rebuild67 and replace all uppercase hostnames (e.g., VCSA.EXAMPLE.COM) with lowercase (e.g., vcsa.example.com).

    • Use a text editor like Notepad++ for easy find/replace.

  6. Unregister Old Service Registrations: Replace the value <node-ID> with the value from Step 4

    for i in $(/usr/lib/vmidentity/tools/scripts/lstool.py list --url http://localhost:7080/lookupservice/sdk --node <node-ID> --id-only); do /usr/lib/vmidentity/tools/scripts/lstool.py unregister --url http://localhost:7080/lookupservice/sdk --id $i --user administrator@example.com --password 'password'; done
  7. Register New Service Registrations: Ensure all hostnames are lowercase in the specs:

    for i in $(ls specfiles/); do /usr/lib/vmidentity/tools/scripts/lstool.py register --url http://localhost:7080/lookupservice/sdk --id $i --spec specfiles/$i --user administrator@example.com --password 'password'; done

Attachments

rebuild67 get_app