Actions
Feature #17675
openThe "power off VM and delete" action that occurs during a host.destroy, should be a config setting that can be turned on or off
Status:
New
Priority:
Normal
Assignee:
-
Category:
Compute resources
Target version:
-
Description
When deleting a host from Foreman, if foreman has the compute_resource_id and uuid of the related VM, the host.destroy will reach in and poweroff/delete the VM.
This should be a configuration setting, of whether to cleanup the VM or not on host removal from Foreman.
The current setting, in a production environment, could be dangerous since it's not a config that can be turned off. The user has to use the API to remove the uuid and compute_resource_id from a host object to stop the actions from happening.
Updated by Anonymous about 8 years ago
it's enough to de-associate the Host<->Connection (iirc in the "Edit Host" Window) to stop the VM from getting deleted.
Updated by Justin Sherrill about 8 years ago
- Project changed from Katello to Foreman
Updated by Dominic Cleal about 8 years ago
- Subject changed from RFE - The "power off VM and delete" action that occurs during a host.destroy, should be a config setting that can be turned on or off to The "power off VM and delete" action that occurs during a host.destroy, should be a config setting that can be turned on or off
- Category set to Compute resources
- Priority changed from High to Normal
Actions