Error "Failed to Start: An error occurred during the initialization" when trying to access UI from individual node
search cancel

Error "Failed to Start: An error occurred during the initialization" when trying to access UI from individual node

book

Article ID: 441391

calendar_today

Updated On:

Products

VMware Cloud Director VMware Telco Cloud Infrastructure

Issue/Introduction

  • Load balancer is unavailable 
  • UI needs to be accessed from individual cell
  • Error "Failed to Start: An error occurred during the initialization" when trying to access UI from individual node

Environment

VCD: 10.3.3.3

TCI: 2.1, 2.2

Cause

VCD strictly enforces public endpoint configurations to ensure secure routing and correct generation of internal proxy addresses

These public addresses are pointing to a loadbalancer FQDN which is not available, so when trying to access VCD using a different URL, the redirect, fails

Resolution

  1. Log in to the primary cell (UKXBEVCD01003-NVI) as root via SSH.
  2. Execute the following commands to update the base URI properties to the correct Load Balancer FQDN:
    /opt/vmware/vcloud-director/bin/cell-management-tool manage-config -n restapi.baseHttpUri -v https://<CELL_FQDN>
    
    /opt/vmware/vcloud-director/bin/cell-management-tool manage-config -n restapi.baseUri -v https://<CELL_FQDN>
    
    /opt/vmware/vcloud-director/bin/cell-management-tool manage-config -n ui.baseHttpUri -v https://<CELL_FQDN>
    
    /opt/vmware/vcloud-director/bin/cell-management-tool manage-config -n ui.baseUri -v https://<CELL_FQDN>

    Note: replace "-v" with "-l" to list the current value

  3. Confirm that the CORS configuration already allows this access through the web using the following article:
    Modifying the "webapp.allowed.origins" configuration on version 10.3 and later