YYYY-MM-DDTHH:MM:SS.sssZ DEBUG [vcf_om,#################,####] [c.v.e.s.c.c.v.vsphere.VcManagerBase,om-exec-23] Searching for VM with address <vcenter fqdn>
YYYY-MM-DDTHH:MM:SS.sssZ DEBUG [vcf_om,#################,####] [c.v.e.s.c.c.v.vsphere.VcManagerBase,om-exec-23] Found VM <vcenter hostname>#.#.#.#.####-####### with address <vcenter fqdn>
........
YYYY-MM-DDTHH:MM:SS.sssZ ERROR [vcf_om,#################,####] [c.v.v.b.p.t.v.SimpleNativeValidator,om-exec-23] Native validator with name 'mgmt-vm-free-space-validator' failed internally
. Reference token: ######
java.lang.NullPointerException: Cannot read the array length because "array" is null
3.x to 4.x upgrade followed by 4.x to 5.2.1 Upgrade
4.x to 5.x upgrade followed by 5.x to 5.2.1 upgrade using RDU (Reduced Downtime Migration) mechanism and STATIC network configuration for target vCenter.
vCenter Major Upgrade through Upgrade Runner mechanism, does not delete the old vCenter VM post upgrade. As per VCF design guidelines, the administrator has to delete the old vCenter VM manually post the upgrade.
Upgrade vCenter Server for VMware Cloud Foundation 5.2.x
(Refer to the Note in Step 8 of the Procedure).
If stale vCenter VM is still present during the next upgrade, precheck/upgrade workflow can fail when fetching the DNS Server name or vCenter name. The DNS Server details/source vCenter name is fetched based on IP or FQDN of vCenter. If old vCenter is still present, sometimes old VM reference can be returned resulting in subsequent failure.
To resolve this issue, you must manually clean up all stale vCenter objects and ensure that only the active production vCenter is associated with the required DNS name before restarting the upgrade process. Step-by-Step Instructions: