Project

General

Profile

Feature #3909

compute resources prevent or disassciate host from VM prevent vm deletion

Added by Jelle B. over 5 years ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Category:
VM management
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

As discussed on IRC.

Create a solution where by a host in foreman can be deledet without deletion of the actuall virtual host when using compute resources.

Chat log to clarify :

[14:14] <cyberkov> hmm. is it somehow possible to disable the deletion of a VM on the Compute Resource when deleting it from Foreman?
[14:15] <karim> cyberkov, maybe unmanaging it first
[14:15] <Dominic> cyberkov: only be manually disassociating the compute_resource_id and uuid in the hosts table in the DB, you can't through the UI
[14:17] <cyberkov> thanks :) Dominic: so unmanaging it (as karim meant) is not sufficient i guess?
[14:17] <Dominic> I don't think that works, I remember somebody saying reecntly it still deleted the VM..


Related issues

Related to Foreman - Feature #4155: API for CR association and disassociationClosed2014-01-21
Related to Foreman - Feature #2049: Allow removal of host when not found in VCenterClosed2012-12-14
Related to Foreman - Feature #5464: Delete unamanged compute resource host without deleting the virtual machine.Duplicate2014-04-27
Related to Foreman - Bug #5707: disassociate is highlighted for physical hostClosed2014-05-13
Has duplicate Foreman - Bug #3795: "Associate VM's" Doesn't Re-associate when compute resource changesClosed2013-12-04
Has duplicate Foreman - Bug #4252: Correctly handle when VM is migrated between datacentersDuplicate2014-02-04

Associated revisions

Revision 9c0709db (diff)
Added by Jason Montleon over 5 years ago

fixes #3909 - add disassociate and bulk action disassociate to interface

History

#1 Updated by Dominic Cleal over 5 years ago

  • Category set to VM management

#2 Updated by Dominic Cleal over 5 years ago

  • Related to Bug #3795: "Associate VM's" Doesn't Re-associate when compute resource changes added

#3 Updated by Jason Montleon over 5 years ago

https://github.com/theforeman/foreman/pull/1169/commits would allow for disassociating a vm from a host.

#4 Updated by Dominic Cleal over 5 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Jason Montleon
  • Target version set to 1.9.2

#5 Updated by Dominic Cleal over 5 years ago

  • Legacy Backlogs Release (now unused) set to 4

#6 Updated by Jason Montleon over 5 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#7 Updated by Dominic Cleal over 5 years ago

  • Related to Feature #4155: API for CR association and disassociation added

#8 Updated by Stephen Benjamin over 5 years ago

  • Related to deleted (Bug #3795: "Associate VM's" Doesn't Re-associate when compute resource changes)

#9 Updated by Stephen Benjamin over 5 years ago

  • Has duplicate Bug #3795: "Associate VM's" Doesn't Re-associate when compute resource changes added

#10 Updated by Dominic Cleal about 5 years ago

  • Has duplicate Bug #4252: Correctly handle when VM is migrated between datacenters added

#11 Updated by Benjamin Papillon about 5 years ago

  • Related to Feature #2049: Allow removal of host when not found in VCenter added

#12 Updated by Dominic Cleal almost 5 years ago

  • Related to Feature #5464: Delete unamanged compute resource host without deleting the virtual machine. added

#13 Updated by Dominic Cleal almost 5 years ago

  • Related to Bug #5707: disassociate is highlighted for physical host added

Also available in: Atom PDF