Red Hat Bugzilla – Bug 1187317
Deleting hosts from the "All Hosts" listing leaves them as Content Hosts.
Last modified: 2016-07-27 05:13:07 EDT
Description of problem: Creating a new host and then deleting the hosts leaves their entry in the content host section and the user has to do an unregister to fully remove the entry. Version-Release number of selected component (if applicable): 6.0.7 How reproducible: Always Steps to Reproduce: 1. Create a new host. 2. Validate it was provisioned and registered successfully 3.Click hosts > Content Hosts and validate the entry exists. 4. Go back to Hosts > All Hosts 5. Poweroff (if it is virtual) and delete the host. 6. Go back to Hosts > Content Hosts and validate the existance of the host. Actual results: Host is still listed in the content host listing even after deleting. Expected results: Either the host is automatically removed or the user is asked whether they would like to automatically remove the host fromt he Content Hosts/ Additional info:
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release.
This seems to happen specifically when using RHEV/Ovirt images to provision, then powering them off and deleting them.
Created redmine issue http://projects.theforeman.org/issues/9384 from this bug
As an additional thought, this issue has the potential to consume subscriptions if users delete from the all hosts and leave the content hosts. Users may have issues provisioning and troubleshooting that as opposed to looking if they are maxed out on subs.
Upstream bug component is Content Management
Hello, After upgrade to satellite 6.1 customer is no longer facing the issue and seems to be fixed. Regards, Komal
Satellite 6.2 includes a feature referred to as 'host unification'. With that feature, this behavior should no longer occur. Moving bug to ON_QA for verification.
Verified in Satellite 6.2-beta-snap-6.1 I did the exact same steps as mentioned in the bug description. After deleting the host, the host is gone form both 'All Hosts' page and 'Content Hosts' page.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1501