vCenter Update Manager 6.7 Update 2 and later cannot update virtual machines with Virtual Hardware version 15
search cancel

vCenter Update Manager 6.7 Update 2 and later cannot update virtual machines with Virtual Hardware version 15

book

Article ID: 313870

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms:
  • When you attempt to scan any virtual machine with virtual hardware version 15, the scan operation fails
  • In the vmware-vum-server-log4cpp.log you see:
[2019-06-20 15:02:28:279 'SingleVMHardwareScanTask.SingleVMHardwareScanTask{726}' 139794540906240 ERROR] [singleVMHardwareScanTask, 365] VDB error while saving compliance state "ODBC error: (23503) - ERROR: insert or update on table "vci_vmhw_scanresults" violates foreign key constraint "fk_vci_sres_ref_versions"; Error while executing the query" is returned when executing SQL statement "INSERT INTO VCI_VMHW_SCANRESULTS(additional_details, host_vmhw_id, scanh_id, target_uid, target_vmhw_id) VALUES (?, ?, ?, ?, ?)"
[2019-06-20 15:02:28:279 'SingleVMHardwareScanTask.SingleVMHardwareScanTask{726}' 139794540906240 ERROR] [singleVMHardwareScanTask, 432] Scanning error for VM VMNAME(vm-id): Error while scanning: VDB error while saving compliance state "ODBC error: (23503) - ERROR: insert or update on table "vci_vmhw_scanresults" violates foreign key constraint "fk_vci_sres_ref_versions"; Error while executing the query" is returned when executing SQL statement "INSERT INTO VCI_VMHW_SCANRESULTS(additional_details, host_vmhw_id, scanh_id, target_uid, target_vmhw_id) VALUES (?, ?, ?, ?, ?)"


Environment

VMware vCenter Update Manager 6.7.x
VMware vCenter Server 6.7.x

Cause

vSphere 6.7 Update 2 introduced a new version of virtual hardware 15 which vCenter Server and ESXi 6.7 Update 2 or later support. Currently Update Manager 6.7.x only supports up to vHW 14.

Resolution

Currently there is no resolution.

Workaround:
To workaround this issue, please update the VM Hardware version manually. For more details, see Upgrading a virtual machine to the latest hardware version (multiple versions) .