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 #1

Updated by Jason Berry over 7 years ago

  • Tracker changed from Bug to Feature
Actions #2

Updated by Anonymous over 7 years ago

it's enough to de-associate the Host<->Connection (iirc in the "Edit Host" Window) to stop the VM from getting deleted.

Actions #3

Updated by Justin Sherrill over 7 years ago

  • Project changed from Katello to Foreman
Actions #4

Updated by Dominic Cleal over 7 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

Also available in: Atom PDF