Locked VHDD - Help To Unlock/Delete

Hi All, I've gone and made a (bad) mistake. When creating a new VM I accidentally selected the wrong Storage Domain for the VM's VHDD; a Storage Domain with less space available than the size of the new (thick provisioned) VHDD. So now I want to delete that VHDD (and possibly the accompanying VM) and start over. However, the VHDD is "Locked" and I can't figure out a way to delete it (or Unlock it, or delete the VM, or Unattach the VHDD, etc, etc, etc). I can't find anything online so hopefully someone here can help me out. For the record I have full Admin access to *all* physical and virtual resources and I don't mind doing things via CLI (which I suspect is what's going to be required). I'm also familia with SQL (MariaDB, MS-SQL) but not Postgres, so if this is going to required manipulating the oVirt DB then so-be-it, I can do that as well. Thanks in advance Cheers Dulux-Oz

Thanks to @Root Pentester for suggesting running the `unlock-entities.sh` script from the Hosted Engine's `/usr/share/ovirt-engine/setup/dbutils` folder - everything's all good again :-) Cheers Dulux-Oz
participants (1)
-
Matthew J Black