[SOLVED] Remove imported VMs

Hello @Pat and @sudhakar,

If you try to import a VM with an already assigned VNC port, you need to first change the port in vCenter and then import it to OpenNebula.

In order to remove a VM in HOLD state:

  • onedb update-body vm --id <ID>
  • Remove the tag <IMPORTED>
  • onevm recover --delete-db <ID>

Best,
Álex.