Error: "No healthy upstream" when trying to access vCenter UI
search cancel

Error: "No healthy upstream" when trying to access vCenter UI

book

Article ID: 382644

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Looking at the services of the  vcenter in CLI we get this error:

Error: Service name “vsphere-ui” is invalid

 

When we try to stop this service we get this error:

Failed to stop service vsphere-ui due to invalid input. Error executing stop on service vsphere-ui

Environment

7.x

Resolution

This issue can happen if the json file for the particular service has changed. In order to validate and fix this follow these steps:

  1. ssh into vc
  2. cd into /etc/vmware/vmware-vmon/svcCfgfiles
  3. Review and match the particular service file with another vcenter with the same version
  4. In this case we check the vsphere-ui.json file and match it with another vcenter
  5. Make the necessary changes to the file and save it
  6. Restart all the vcenter services by running
    service-control --stop --all
    service-control --start --all