SDDC Manager UI was stuck on: VMware Cloud Foundation is initializing
search cancel

SDDC Manager UI was stuck on: VMware Cloud Foundation is initializing

book

Article ID: 443491

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer

Issue/Introduction

Symptoms

  • SDDC Manager UI fails to load either the error 502 Bad Gateway or getting stuck on the screen "VMware Cloud Foundation is initializing".~

  • In VCF 5.2.x, the following errors are observed in /var/log/vmware/vcf/commonsvcs/commonsvcs.out:

    java.lang.OutOfMemoryError: Java heap space
    Exception in thread "http-nio-127.0.0.1-7100-Poller" java.lang.OutOfMemoryError: Java heap space
    Exception in thread "http-nio-127.0.0.1-7100-exec-17879" java.lang.OutOfMemoryError: Java heap space
    SLF4J: Failed toString() invocation on an object of type [java.util.LinkedHashMap]

    Reported exception:
    java.lang.OutOfMemoryError: Java heap space
    java.lang.OutOfMemoryError: Java heap space
    Exception in thread "Catalina-utility-2" java.lang.OutOfMemoryError: Java heap space

Environment

VMware SDDC Manager 5.2.x

Cause

The vcf-commonsvcs microservice has exhausted its allocated Java heap space (Xmx). This prevents the service from initializing correctly or handling inventory requests, leading to the UI hang or NGINX reporting a 502 Bad Gateway.

Resolution

  1. Restart all SDDC Manager services to ensure synchronization: /opt/vmware/vcf/operationsmanager/scripts/cli/sddcmanager_restart_services.sh
  2. Restart the commonsvcs service again: systemctl restart commonsvcs

If the above steps fails to resolve the issue, please log a case with Broadcom Support.

Additional Information

Monitor the commonsvcs.out log to ensure no new OutOfMemoryError messages appear and verify that the SDDC Manager UI loads the dashboard successfully.