Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1366375 - cannot delete or unregister a host if it no longer exists in candlepin
Summary: cannot delete or unregister a host if it no longer exists in candlepin
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Candlepin
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: Unspecified
Assignee: Justin Sherrill
QA Contact: Renzo Nuccitelli
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-11 19:40 UTC by Justin Sherrill
Modified: 2019-09-26 16:18 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 16:41:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 15602 0 None None None 2016-08-11 20:05:12 UTC

Description Justin Sherrill 2016-08-11 19:40:58 UTC
Right now you can see but not delete or unregister a host if it has been deleted in candlepin, we should make this possible.

Comment 1 Justin Sherrill 2016-08-11 19:41:00 UTC
Created from redmine issue http://projects.theforeman.org/issues/15602

Comment 2 Justin Sherrill 2016-08-11 19:41:03 UTC
Upstream bug assigned to jsherril

Comment 4 Justin Sherrill 2016-08-25 17:59:29 UTC
This was resolved as part of https://bugzilla.redhat.com/show_bug.cgi?id=1357866

Comment 7 Renzo Nuccitelli 2017-03-28 12:20:16 UTC
Can you provide some verification steps or clarification on exactly what is expected for this one?

Comment 8 Justin Sherrill 2017-03-28 12:57:30 UTC
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.

Comment 9 Renzo Nuccitelli 2017-03-30 15:22:20 UTC
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.

Comment 10 Bryan Kearney 2018-02-21 16:39:43 UTC
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

Comment 11 Bryan Kearney 2018-02-21 16:41:43 UTC
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

Comment 12 Satellite Program 2018-02-21 16:51:07 UTC
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


Note You need to log in before you can comment on or make changes to this bug.