VCF 5.x Pre-check Failure: "VM free space check failed internally"
search cancel

VCF 5.x Pre-check Failure: "VM free space check failed internally"

book

Article ID: 372655

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

From the SDDC Manager UI vCenter Pre-check you may see the follow Error:

"Validates vCenter VM's free space on root"

"VM free space check failed internally" AND "Check the operationsmanager logs and if this issue persists contact VMware support..."

You may not see any specific space issues with vCenter or SDDC Manager VMs. Check the space on each component with "df -h" and/or "du -sh *" on any specific partition/directory where you may notice a space issue. However, in this instance, no space issues were observed.

You may observe from the /var/log/vmware/vcf/operationsmanager.log the following snippet:

2024-08-21T13:48:32.470-0500 DEBUG [vcf_om,66c6368098c70380bdf062fd675a541a,ec4d] [c.v.e.s.c.c.v.vsphere.VcManagerBase,om-exec-23] Searching for VM with address <vcenter fqdn>
2024-08-21T13:48:32.582-0500 DEBUG [vcf_om,66c6368098c70380bdf062fd675a541a,ec4d] [c.v.e.s.c.c.v.vsphere.VcManagerBase,om-exec-23] Found VM <vcenter hostname>-HOVDI01_8.0.2.00100-22617221 with address <vcenter fqdn>
........

2024-08-21T13:48:32.594-0500 ERROR [vcf_om,66c6368098c70380bdf062fd675a541a,ec4d] [c.v.v.b.p.t.v.SimpleNativeValidator,om-exec-23] Native validator with name 'mgmt-vm-free-space-validator' failed internally
. Reference token: SOQT3B
java.lang.NullPointerException: Cannot read the array length because "array" is null

 

Environment

VCF SDDC 5.1.x

Cause

The root cause is the presence of another/stale/duplicate VM object with the same DNS name as the required vCenter

i.e. because of stale vCenter VM's from previous 4.x to 5.x upgrades weren't deleted/removed during the post upgrade cleanup stage:

 

Resolution

Clean up stale objects and ensure only one VM has the DNS name of the required vCenter.

i.e. Delete any and all stale vCenter's from previous upgrades.