How can I enable option to delete image(from Sunstone GUI), VMDK disk and VM Folder from Wild (Imported VMs from vCenter) when terminate an instance? Currently when I terminate an instace I still see the VM folder name and VMDK disk inside VMware datastore and the image VM in Sunstone GUI.
I wold like when terminate an instace remove all objects in opennebula (Sunstone) and vCenter environment.
Versions of the related components and OS (frontend, hypervisors, VMs):
OpenNebula deb packages 5.5.90
vCenter 6.5 build 8024368
Steps to reproduce:
1 - Import vCenter Cluster
2 - Import Datastores and Networks from vCenter Cluster
3 - Import running VMs from vCenter Cluster - Wild option in Sunstone GUI
4 - Terminate the instance
The image is listed on Sunstone
The VMDK and VM Folder is present on vCenter Datastore
Remove all VM references - Opennebula/Sunstone and vCenter env