Remove imported VMs without deleting them

Hello there,

we are currently evaluating Open Nebula as a Web-Frontend for our customers to be able to access their vSphere-Hosted VMs.
We came to the conclusion that it would be better to manage the VMs through vCenter and use OpenNebula only for the enduser VM access. This also means that we need to import all VMs into OpenNebula to be accessible there. However, sometimes we need to remove the VMs from OpenNebula without deleting them entirely. Yet, we have not found a way to do so. The terminate options seems to always delete the VM entirely.
Is there a way to remove a VM from OpenNebula without deleting it?
We are using version 5.0.2 currently.

Hi!
Currently this is the supported behavior. The following resources are deleted in vCenter when deleted in OpenNebula:

  • Images
  • Virtual Machines

The vCenter storage handling is being redesigned so this behavior may change in next releases. Though is not possible for your scenario, as you’re importing the VMs, there is an option to protect data from deletion like the “KEEP DISKS ON DONE” which you can set to VM templates so OpenNebula doesn’t erase the VM disks after it enters the DONE state.

Cheers