Upgrading vCenter through SDDC Manager failed at a PRE VALIDATION stage with error "vCenter upgrade failed. Getting VM group name of stretched cluster failed with exception during initialization."
search cancel

Upgrading vCenter through SDDC Manager failed at a PRE VALIDATION stage with error "vCenter upgrade failed. Getting VM group name of stretched cluster failed with exception during initialization."

book

Article ID: 409912

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

Symptoms:

  • vCenter upgrade failed with error "Getting VM group name of stretched cluster failed with exception during initialization"
  • In lcm-debug.log:
    YY-MM-DDThh:mm:ss.152+0000 INFO  [vcf_lcm,68be8f585d6a7655f0ae71af565981ab,9eb5] [c.v.e.s.l.s.impl.UpgradeServiceImpl,http-nio-127.0.0.1-7400-exec-5] Getting list of cluster IDs if the upgrade xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx is cluster level upgrade.
    YY-MM-DDThh:mm:ss.152+0000 DEBUG [vcf_lcm,68be8f585d6a7655f0ae71af565981ab,9eb5] [c.v.e.s.l.s.impl.UpgradeServiceImpl,http-nio-127.0.0.1-7400-exec-5] Start collecting the cluster ids for all Cluster level Upgrades
    YY-MM-DDThh:mm:ss.152+0000 ERROR [vcf_lcm,68be8f585d6a7655f0ae71af565981ab,9eb5] [c.v.evo.sddc.lcm.model.task.SubTask,http-nio-127.0.0.1-7400-exec-5] Upgrade error occured: Getting VM group name of stretched cluster failed with exception during initialization.
    Reference token XXXXXX.
  • The vCenters manage by SDDC is not configure for stretched cluster.

Environment

VMware Cloud Foundation 4.x
VMware Cloud Foundation 5.x

Cause

The vCenter's name is recorded in the SDDC manager Database and it is case sensitive.
If there is a mismatch, it needs to be addressed.

Resolution

Manually change the vCenter's name with exact case/ spelling, as per SDDC Database entry.
For that change, please contact Broadcom support.