Delete VMs in poweroff leaves disks in datastore
|Assignee:||Jaime Melis||% Done:|
|Target version:||Release 5.4|
Regardless of the Keep disks option in VM template.
Deleting running VMs works as expected.
#4 Updated by Tino Vázquez about 4 years ago
- Target version changed from Release 5.2 to Release 5.4
- Resolution deleted (
Added hook as a workaround. In order to install the hook,follow the next steps:
Add the following hook configuration to /etc/one/oned.conf
VM_HOOK = [
name = "delete_poweroff_vms",
on = "DONE",
command = "dv/delete_poweroff_vms.rb",
arguments = "$ID $PREV_STATE $PREV_LCM_STATE $TEMPLATE" ]
2- Restart OpenNebula
Rescheduled for 5.4 for proper vCenter storage handling. Before closing this issue, remove it from known issues and remove the hook from repo.