/var/log/vmware/vmware-updatemgr/vum-server/vum-server.log displays an error indicating that a "No Record" error is found for the PM_RECOMMENDATION_INFO table.YYYY-MM-DDThh:mm:ss.###Z info vmware-vum-server[####] [Originator@#### sub=Clusters::Software::RecommendationsSvc opID=####-####-####-####-####] [AsyncServiceImpl ###] Failed to get recommendations for cluster domain-c##. VcidbNoRecord: No record - VCIDB ERROR: Row with primary key domain-c## not found in table PM_RECOMMENDATION_INFOThis issue occurs when the vLCM database contains orphaned or inconsistent metadata entries in the PM_RECOMMENDATION_INFO table following an incomplete or failed patch attempt. The ESXi host or cluster patching process attempts to validate cluster components against this table, and the presence of invalid records prevents the database schema reconciliation, causing the operation to fail.
shellservice-control --stop vmware-updatemgrsu updatemgr -s /bin/bash
psql -U vumuser -d VCDBSELECT * FROM pm_software_desired_states;
SELECT * FROM pm_software_compliances;DELETE FROM pm_software_compliances;
DELETE FROM pm_software_desired_states;Note: If there is more than one cluster in the vCenter Server and only one cluster is impacted, then use the below command to delete the desired Cluster details only:
DELETE FROM pm_software_compliances where desired_state_id in (select desired_state_id from pm_software_desired_states where entity_id='domain-c##');DELETE FROM pm_software_desired_states where entity_id='domain-c##';
To find the Cluster Domain ID, select the cluster in the vCenter UI and check the browser URL. (e.g., domain-c##), excluding everything after the colon (:).
\qexitservice-control --start vmware-updatemgrCheck the following KB for a similar issue affecting vSphere HA:
For further assistance, contact Broadcom Support