Search the VMware Knowledge Base (KB)
View by Article ID

vAPI Endpoint Service in warning state on vSphere Web Client (2151453)

  • 0 Ratings

Symptoms

  • vAPI Endpoint Service in warning state on vSphere Web Client.
  • In the /var/log/vmware/vapi/endpoint.log file, you see entries similar to:

    2017-08-08T14:41:41.477Z | INFO | state-manager1 | DefaultStateManager | Invoking rebuild cis-api-connections-builder
    2017-08-08T14:41:41.626Z | INFO | state-manager1 | ApiConnectionsCisUtil | Unsupported source (metadata) type in metadata source entry cis.common.ep.localurl
    :
    http://localhost:8900/vmonapi>
    2017-08-08T14:41:41.626Z | INFO | state-manager1 | ApiConnectionsCisUtil | Unsupported source (metadata) type in metadata source entry cis.common.ep.localurl
    :
    http://localhost:16666/cls/
    2017-08-08T14:41:41.626Z | INFO | state-manager1 | ApiConnectionsCisUtil | Unsupported source (metadata) type in metadata source entry cis.common.ep.localurl
    :
    http://localhost:16666/cls/
    2017-08-08T14:41:41.626Z | WARN | state-manager1 | ApiConnectionsCisUtil | Cannot find metadata source definitions in VAPI endpoint Service Endpoint of type
    com.vmware.cdc.provider with protocol vapi.json.http at
    http://localhost:16666/cls/
    2017-08-08T14:41:41.626Z | WARN | state-manager1 | ApiConnectionsCisUtil | Unable to find metadata endpoint in service Service with localization key cis.cont
    ent-library.ServiceDescription and id 63fc9c0d-8614-48b3-b74e-b04e7062606e.
    2017-08-08T14:41:41.626Z | INFO | state-manager1 | ApiConnectionsStateBuilder | Cannot resolve protocol priorities between the following services. Will use the fi
    rst one.
    First: 63fc9c0d-8614-48b3-b74e-b04e7062606e\com.vmware.cis.cls.vapi at
    http://localhost:16666/cls/
    Second: 63fc9c0d-8614-48b3-b74e-b04e7062606e\com.vmware.cis.cls.vapi at http://vcenter.cm-idanhanova.local:80/cls/
    2017-08-08T14:41:41.626Z | INFO | state-manager1 | ApiConnectionsCisUtil | Unsupported source (metadata) type in metadata source entry cis.common.ep.localurl
    :
    http://localhost:16666/cls/
    2017-08-08T14:41:41.626Z | WARN | state-manager1 | ApiConnectionsCisUtil | Cannot find metadata source definitions in VAPI endpoint Service Endpoint of type
    com.vmware.cis.data.provider with protocol vapi.json.http at
    http://localhost:16666/cls/
    2017-08-08T14:41:41.626Z | WARN | state-manager1 | ApiConnectionsCisUtil | Unable to find metadata endpoint in service Service with localization key cis.cont
    ent-library.ServiceDescription and id 63fc9c0d-8614-48b3-b74e-b04e7062606e.
    2017-08-08T14:41:41.626Z | INFO | state-manager1 | ApiConnectionsCisUtil | Unsupported source (metadata) type in metadata source entry cis.common.ep.localurl
    :
    http://localhost:9090/ds/vapi
    2017-08-08T14:41:41.627Z | WARN | state-manager1 | ApiConnectionsCisUtil | Cannot find metadata source files/URLs in VAPI endpoint Service Endpoint of type c
    om.vmware.vapi.endpoint with protocol vapi.json.http at
    < http://vcenter.cm-idanhanova.local:80/site/api
    2017-08-08T14:41:41.627Z | WARN | state-manager1 | ApiConnectionsCisUtil | Unable to find metadata endpoint in service Service with localization key cis.vapi
    .endpoint.serviceDescriptionResourceKey and id 32a4b096-39f8-4388-a9bb-caffb92b3ec1.
    2017-08-08T14:41:41.627Z | INFO | state-manager1 | ApiConnectionsCisUtil | Unsupported source (metadata) type in metadata source entry cis.common.ep.localurl
    :
    http://localhost:12346/site/api
    2017-08-08T14:41:41.627Z | WARN | state-manager1 | ApiConnectionsCisUtil | Cannot find metadata source definitions in VAPI endpoint Service Endpoint of type
    com.vmware.vapi.endpoint with protocol vapi.json.http at
    http://localhost:12346/site/api
    2017-08-08T14:41:41.627Z | WARN | state-manager1 | ApiConnectionsCisUtil | Unable to find metadata endpoint in service Service with localization key cis.vapi
    .endpoint.serviceDescriptionResourceKey and id 32a4b096-39f8-4388-a9bb-caffb92b3ec1.
    2017-08-08T14:41:41.627Z | INFO | state-manager1 | ApiConnectionsCisUtil | Unsupported source (metadata) type in metadata source entry cis.common.ep.localurl
    :
    http://localhost:10080/invsvc/vapi
    2017-08-08T14:41:41.627Z | INFO | state-manager1 | DefaultStateManager | Invoking rebuild vim-adapter-settings-builder
    2017-08-08T14:41:41.719Z | INFO | state-manager1 | DefaultStateManager | Invoking rebuild vapi-vcenter-servlet-builder
    2017-08-08T14:41:41.719Z | INFO | state-manager1 | DefaultStateManager | Invoking rebuild api-interfaces-builder
    2017-08-08T14:41:41.728Z | WARN | state-manager1 | ApiInterfacesFactory | The cache does not contain entry for service 63fc9c0d-8614-48b3-b74e-b04e7062606e\com.vmware.cis.cls.vapi. The interfaces will be skipped.
    2017-08-08T14:41:41.728Z | INFO | state-manager1 | HealthStatusCollectorImpl | HEALTH YELLOW Failed to connect to 63fc9c0d-8614-48b3-b74e-b04e7062606e\com.vmware.cis.cls.vapi vAPI provider.
    2017-08-08T14:41:41.742Z | INFO | state-manager1 | DefaultStateManager | Invoking rebuild metadata-sync-builder
    2017-08-08T14:41:41.742Z | INFO | state-manager1 | MetadataSynchronizationBuilder | rebuild
    2017-08-08T14:41:41.776Z | INFO | state-manager1 | MetadataSynchronizationBuilder | rebuild finished.
    2017-08-08T14:41:41.777Z | INFO | state-manager1 | DefaultStateManager | Invoking rebuild api-metadata-builder
    2017-08-08T14:41:41.781Z | INFO | state-manager1 | DefaultStateManager | Invoking rebuild diagnostic-state-builder
    2017-08-08T14:41:41.781Z | INFO | state-manager1 | DefaultStateManager | Invoking rebuild security-dispatcher-builder
    2017-08-08T14:41:41.782Z | INFO | state-manager1 | DefaultStateManager | Invoking rebuild endpoint-service-builder
    2017-08-08T14:41:41.803Z | INFO | state-manager1 | DefaultStateManager | Invoking rebuild data-service-builder
    2017-08-08T14:41:41.860Z | INFO | state-manager1 | DataServiceHelper | Found 1 data service endpoints.
    2017-08-08T14:41:41.860Z | INFO | state-manager1 | DefaultStateManager | Invoking rebuild inventory-service-builder
    2017-08-08T14:41:41.878Z | INFO | state-manager1 | DefaultStateManager | Invoking rebuild router-builder
    2017-08-08T14:41:41.879Z | INFO | state-manager1 | DefaultStateManager | Invoking rebuild public-api-builder
    2017-08-08T14:41:41.879Z | INFO | state-manager1 | DefaultStateManager | Invoking rebuild request-filter-builder
    2017-08-08T14:41:41.879Z | INFO | state-manager1 | DefaultStateManager | Invoking rebuild vapi-servlet-builder
    2017-08-08T14:41:41.879Z | INFO | state-manager1 | DefaultStateManager | Invoking rebuild rest-builder
    2017-08-08T14:41:41.879Z | INFO | state-manager1 | RestBuilder | Publishing REST servlet rest-servlet.
    2017-08-08T14:41:41.879Z | INFO | state-manager1 | RestBuilder | Publishing REST servlet rest-servlet-public.
    2017-08-08T14:41:41.879Z | INFO | state-manager1 | HealthStatusCollectorImpl | HEALTH GREEN Current vApi Endpoint health status is created between 2017-08-08T14:41:41UTC and 2017-08-08T14:41:41UTC.
    2017-08-08T14:41:41.879Z | INFO | state-manager1 | HealthConfigurationEventListener | Computed health status is = YELLOW
    2017-08-08T14:41:41.879Z | INFO | state-manager1 | HealthConfigurationEventListener | HEALTH Failed to connect to 63fc9c0d-8614-48b3-b74e-b04e7062606e\com.vmware.cis.cls.vapi vAPI provider.
    2017-08-08T14:41:41.879Z | INFO | state-manager1 | HealthConfigurationEventListener | HEALTH Current vApi Endpoint health status is created between 2017-08-08T14:41:41UTC and 2017-08-08T14:41:41UTC.
    2017-08-08T14:41:41.879Z | INFO | state-manager1 | DefaultStateManager | No changes. Skip rebuilding state.

    /var/log/vmware/vapi/endpoint ]# less endpoint.log
    2017-08-08T09:24:32.213Z | INFO | state-manager1 | HealthStatusCollectorImpl | HEALTH YELLOW Failed to connect to 63fc9c0d-8614-48b3-b74e-b04e7062606e\com.vmware.cis.cls.vapi vAPI provider.
    2017-08-08T09:28:36.215Z | INFO | state-manager1 | HealthStatusCollectorImpl | HEALTH YELLOW Failed to connect to 63fc9c0d-8614-48b3-b74e-b04e7062606e\com.vmware.cis.cls.vapi vAPI provider.
    2017-08-08T09:32:37.280Z | INFO | state-manager1 | HealthStatusCollectorImpl | HEALTH YELLOW Failed to connect to 63fc9c0d-8614-48b3-b74e-b04e7062606e\com.vmware.cis.cls.vapi vAPI provider.
    2017-08-08T09:36:38.278Z | INFO | state-manager1 | HealthStatusCollectorImpl | HEALTH YELLOW Failed to connect to 63fc9c0d-8614-48b3-b74e-b04e7062606e\com.vmware.cis.cls.vapi vAPI provider.
    2017-08-08T09:40:39.238Z | INFO | state-manager1 | HealthStatusCollectorImpl | HEALTH YELLOW Failed to connect to 63fc9c0d-8614-48b3-b74e-b04e7062606e\com.vmware.cis.cls.vapi vAPI provider.2017-08-08T09:44:40.208Z | INFO | state-manager1 | HealthStatusCollectorImpl | HEALTH YELLOW Failed to connect to 63fc9c0d-8614-48b3-b74e-b04e7062606e\com.vmware.cis.cls.vapi vAPI provider.

Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.

Resolution

To resolve the issue:
 
  1. Take a snapshot of the vCenter Appliance.
  2. Navigate to the path /usr/lib/vmidentity/tools/scripts/lstool.py
  3. Run these commands listed to unregister the IDs:

    /usr/lib/vmidentity/tools/scripts/lstool.py unregister --url http://localhost:7080/lookupservice/sdk --id 63fc9c0d-8614-48b3-b74e-b04e7062606e --user 'administrator@vsphere.local' --password 'VMware123!' --no-check-cert

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 0 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 0 Ratings
Actions
KB: