Project

General

Profile

Actions

Feature #22737

closed

Flag to avoid deletion from compute resource of an host associated when it's removed from satellite

Added by Marek Hulán about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
VM management
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1549761

1. Proposed title of this feature request
Avoid the accidental Virtual Machines deletion from the compute resources when associated Host profile is deleted in Sat6 by setting a global configurable flag.

3. What is the nature and description of the request?
When a VM from a compute resource is registered into satellite, is linked to his host profile.

In consequence of that, if that host is deleted from Satellite, is deleted from the compute resource as well.

The request is to have a flag to avoid this behavior, but to maintain association, in order to be able to work and edit the host configuration (like puppet modules and so on).

4. Why does the customer need this? (List the business requirements here)
This feature is needed in order to avoid to have to de-associate VMs to prevent accidental VMs deletion.

5. How would the customer like to achieve this? (List the functional requirements here)

An option in foreman like:

delete_resource_on_host_removal

by default could be kept to true, to maintain the usual behaviour, but optionally this could be set to false, and change the behaviour.

6. For each functional requirement listed in question 5, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.

a) activate the flag
b) delete and host profile
c) ensure the VM remain active and existent

8. Does the customer have any specific timeline dependencies?
The sooner the better: currently the UX of the customer with the product is highly impacted by this.

9. Is the sales team involved in this request and do they have any additional input?
no

11. Would the customer be able to assist in testing this functionality if implemented?
Yes, sure


Related issues 3 (0 open3 closed)

Related to Foreman - Bug #25731: Confusing VM deletion setting descriptionClosedMarek HulánActions
Related to Foreman - Feature #25735: Add the host deletion warning also to host bulk actionClosedMarek HulánActions
Related to Foreman - Feature #21437: the delete host confirmation box could be a bit more explicitResolvedActions
Actions #1

Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Marek Hulán
  • Pull request https://github.com/theforeman/foreman/pull/6122 added
Actions #2

Updated by Lukas Zapletal over 5 years ago

  • Subject changed from Flag to avoid deletion from compute resource of an host associated when it's removed from satellite to Flag to avoid deletion from compute resource of an host associated when it's removed from satellite
  • Fixed in Releases 1.20.0 added
Actions #3

Updated by Marek Hulán over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Marek Hulán over 5 years ago

  • Related to Bug #25731: Confusing VM deletion setting description added
Actions #5

Updated by Marek Hulán over 5 years ago

  • Related to Feature #25735: Add the host deletion warning also to host bulk action added
Actions #6

Updated by Marek Hulán about 5 years ago

  • Related to Feature #21437: the delete host confirmation box could be a bit more explicit added
Actions

Also available in: Atom PDF