VCF/vCenter Upgrade Fails with: "Upgrade - VCENTER -- null" on the "VCENTER UPGRADE POST INSTALL" task.
This failure is likely due to two possible reasons:
1. The renaming of the vCenter from
2. The renaming of the Host/VM Group.
You may see entries like this:
When attempting to connect to vCenter and get the VMs in the VM group:
2023-10-12T18:37:33.899+0000 INFO [vcf_lcm,0000000000000000,0000,upgradeId=########-####-####-####-########8544,resourceType=VCENTER,resourceId=########-####-####-####-########6701,bundleElementId=########-####-####-####-########19c4] [c.v.e.s.c.c.v.vsphere.VsphereClient,Upgrade-1] Successfully logged in to https://<vCenter FQDN>:443/sdk
2023-10-12T18:37:33.899+0000 INFO [vcf_lcm,0000000000000000,0000,upgradeId=########-####-####-####-########8544,resourceType=VCENTER,resourceId=########-####-####-####-########6701,bundleElementId=########-####-####-####-########19c4] [c.v.e.s.l.p.i.v.VCenterUpgrader,Upgrade-1] reconfiguring primary availability zone VM group with newly created VC VM
2023-10-12T18:37:33.899+0000 INFO [vcf_lcm,0000000000000000,0000,upgradeId=########-####-####-####-########8544,resourceType=VCENTER,resourceId=########-####-####-####-########6701,bundleElementId=########-####-####-####-########19c4] [c.v.e.s.l.p.i.v.VCenterUpgrader,Upgrade-1] VM Group Name =<renamed_vm_group_primary-az-vmgroup>
Note that the VM group name that we're looking for is meant to be in the format: '<mgmt_default_clustername_vm_group>_primary-az-vmgroup'
This is an end user error and renaming of VCF vCenter/VM Host groups will cause this failure.