The vmware-infraprofile service may fail to start due to a corrupted JSON metadata file containing invalid control characters. This results in Spring framework bean creation failures and prevents the service from initializing properly.
vmware-infraprofile service fails to start or restart.
Appliance Management UI (VAMI) may show compliance or config-related services as degraded.
infraprofile-svcs logs show the following error:
vCenter Server Appliance (VCSA) 7.x and 8.x
This issue typically results from file corruption during patching, editing with unsafe tools, or failed system changes.
It is recommended to verify integrity of other files in /var/lib/vmware-infraprofile/config/metadata/ as well.
Run the following to identify the file with >19,000 lines (based on log error line number):
Look for unexpected characters like ^A.
Copy the file from a working vCenter appliance:
Replace the file and set correct ownership and permissions:
The vmware-infraprofile service should now start successfully.