Project

General

Profile

Actions

Feature #17675

open

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

Added by Jason Berry over 7 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Compute resources
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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.

Actions

Also available in: Atom PDF