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 1624019 - Cannot delete host when missing from the candlepin database
Summary: Cannot delete host when missing from the candlepin database
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hosts - Content
Version: 6.3.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: jcallaha
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-30 16:54 UTC by Mike McCune
Modified: 2022-03-13 15:29 UTC (History)
21 users (show)

Fixed In Version: tfm-rubygem-katello-3.4.5.79-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1575140
Environment:
Last Closed: 2018-10-11 15:18:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
verification video (365.79 KB, application/octet-stream)
2018-09-13 15:27 UTC, jcallaha
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 23489 0 None None None 2018-08-30 16:54:14 UTC
Red Hat Knowledge Base (Solution) 3424791 0 None None None 2018-08-30 16:54:14 UTC
Red Hat Product Errata RHBA-2018:2550 0 None None None 2018-08-30 16:54:14 UTC
Red Hat Product Errata RHBA-2018:2915 0 None None None 2018-10-11 15:18:44 UTC

Comment 4 jcallaha 2018-09-13 15:27:01 UTC
Verified in Satellite 6.3.4 Snap 1.

I followed the reproducer steps, then deleted the host (via ui) with no issues.

delete from cp_ent_certificate where entitlement_id in (select id from  cp_entitlement where consumer_id = '8a90c4a665ce42af0165cef0b8f4258a');
delete from cp2_pool_provided_products where pool_id='8a9084f364dd03de0164dd1c949e42cb';
delete from cp2_pool_source_sub where pool_id='8a9084f364dd03de0164dd1c949e42cb';
delete from cp_pool where sourceentitlement_id='eb78149b5beb4911aa09a4a1ff6cffba';
delete from cp_entitlement where consumer_id = '8a90c4a665ce42af0165cef0b8f8675a';
delete from cp_installed_products where consumer_id='8a90c4a665ce42af0165cef0b8f4258a';
delete from cp_consumer where id = '8a90c4a665ce42af0165cef0b8f4258a';

See attached video for verification of host deletion.

Comment 5 jcallaha 2018-09-13 15:27:29 UTC
Created attachment 1483085 [details]
verification video

Comment 7 errata-xmlrpc 2018-10-11 15:18: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/RHBA-2018:2915


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