Right now you can see but not delete or unregister a host if it has been deleted in candlepin, we should make this possible.
Created from redmine issue http://projects.theforeman.org/issues/15602
Upstream bug assigned to jsherril
This was resolved as part of https://bugzilla.redhat.com/show_bug.cgi?id=1357866
Can you provide some verification steps or clarification on exactly what is expected for this one?
1. Register a host with subscription-manager 2. Run: foreman-rake console > uuid = Host.find("foobar.example.com").subscription_facet.uuid > Katello::Resources::Candlepin::Consumer.destroy(uuid) > exit Replacing 'foobar.example.com' with your hostname of your registered client in quotes. 3. Try to delete the host from the UI.
After removing host on candlepin it was not possible checking its detail page. The following error msg is presented: "Something went wrong when retrieving the resource." Thus it was not possible unregister the host through its detail page. Besides that I was able to remove host selecting it through check box and Build Actions -> Remove Hosts So I am changing this to VERIFIED.
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/RHSA-2018:0336
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/RHSA-2018:0336