Unable to delete DRS "VM Overrides" rule with error "A specified parameter was not correct:" "No VM matches the provided key"
search cancel

Unable to delete DRS "VM Overrides" rule with error "A specified parameter was not correct:" "No VM matches the provided key"

book

Article ID: 451704

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

After migrating a VM from one vSphere cluster A to another vSphere cluster B the related "VM Overrides" rule in cluster A becomes invalid and cannot be deleted.

Task Error when trying to delete from UI:

"A specified parameter was not correct: spec.drsVmConfigSpec[0].key
No VM matches the provided key."

 

Environment

vCenter Server 8.0

Cause

The related VM does not anymore exist in cluster A

Resolution

Take a fresh file-based backup and an offline snapshot of vCenter Server Appliance (VCSA) Snapshot Best practices for vCenter Server Virtual Machines

Upload Logs: Please collect and upload vCenter support bundle to your support case Collecting diagnostic information for VMware vCenter Server

Uploading files to cases on the Broadcom Support Portal

The resolution requires direct modification of the vCenter Server Database (VCDB), it is recommended to seek assistance from Broadcom Support to ensure database integrity.

Contact Broadcom support