Bug #4648
Delete VMs in poweroff leaves disks in datastore
Status: | Closed | Start date: | 07/15/2016 | ||
---|---|---|---|---|---|
Priority: | Normal | Due date: | |||
Assignee: | Jaime Melis | % Done: | 90% | ||
Category: | vCenter | ||||
Target version: | Release 5.4 | ||||
Resolution: | fixed | Pull request: | |||
Affected Versions: | Development |
Description
Regardless of the Keep disks option in VM template.
Deleting running VMs works as expected.
Related issues
Associated revisions
Bug #4648: Add hook to delete poweroff VMs
Bug #4648: Fix history bug in delete hook
Bug #4648: Fix history bug in delete hook
History
#1 Updated by OpenNebula Systems Support Team almost 5 years ago
- Duplicated by Bug #3590: Delete operation leaves a poweroff instance registered in vCenter added
#2 Updated by OpenNebula Systems Support Team almost 5 years ago
- Status changed from New to Closed
- Resolution set to duplicate
#3 Updated by OpenNebula Systems Support Team almost 5 years ago
- Status changed from Closed to New
#4 Updated by Tino Vázquez almost 5 years ago
- Target version changed from Release 5.2 to Release 5.4
- Resolution deleted (
duplicate)
Added hook as a workaround. In order to install the hook,follow the next steps:
-----
1-
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.
#5 Updated by Jaime Melis about 4 years ago
- Status changed from New to Assigned
- Assignee set to Jaime Melis
- % Done changed from 0 to 90
Remove hook from git
#6 Updated by Tino Vázquez about 4 years ago
- Status changed from Assigned to Closed
- Resolution set to fixed