Bug #23298
closed
Unregistering content host deletes virtual machine
Added by Lembitu Ling over 6 years ago.
Updated over 6 years ago.
Description
Description
Unregistering content host deletes virtual machine
Description of problem:
When you go to Katello -> Hosts -> Content hosts and open up content host there is a button to unregister content host.
If pressed you get warning about removing subscriptions etc. Actually the button removes whole host from virtualization environment.
Version-Release number of selected component (if applicable):
foreman 1.16.1
bastion 6.1.5
foreman-tasks 0.10.9
foreman_bootdisk 10.0.2
foreman_docker 3.2.1
foreman_hooks 0.3.14
foreman_openscap 0.8.6
foreman_remote_execution 1.3.3
katello 3.5.1.1
puppetdb_foreman 3.1.2
virtualization - VMWare
How reproducible:
Easily Reproducible
Steps to Reproduce:
Katello -> Hosts -> Content hosts and open up content host there is a button to unregister content host.
If pressed you get warning about removing subscriptions etc. Actually the button removes whole host from virtualization environment.
Files
- Copied from Bug #21552: Host parameters added/updated via API do not make it to userscript on provisioning to EC2 added
- Copied from deleted (Bug #21552: Host parameters added/updated via API do not make it to userscript on provisioning to EC2)
- Subject changed from Unregisttering content host deletes virtual machine to Unregistering content host deletes virtual machine
There should be two buttons here, one to delete and one to unregister. Deleting will delete the virtual machine in some instances this is by design with foreman (although i somewhat disagree with it). Can you confirm which button you are selecting and provide a screenshot?
- File screenshot1.PNG added
Justin Sherrill wrote:
There should be two buttons here, one to delete and one to unregister. Deleting will delete the virtual machine in some instances this is by design with foreman (although i somewhat disagree with it). Can you confirm which button you are selecting and provide a screenshot?
There is only one button. And it does not remove registration but virtual machine.
- File deleted (
screenshot1.PNG)
- File screenshot1.png added
- File deleted (
screenshot1.png)
- Status changed from New to Resolved
- Priority changed from High to Normal
Seems to be fixed in 1.17
- Translation missing: en.field_release set to 166
Also available in: Atom
PDF