Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1624019 - Cannot delete host when missing from the candlepin database
Cannot delete host when missing from the candlepin database
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Hosts - Content (Show other bugs)
6.3.1
Unspecified Unspecified
unspecified Severity medium (vote)
: 6.3.4
: Unused
Assigned To: satellite6-bugs
jcallaha
: Reopened, Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-08-30 12:54 EDT by Mike McCune
Modified: 2018-10-11 11:18 EDT (History)
20 users (show)

See Also:
Fixed In Version: tfm-rubygem-katello-3.4.5.79-1
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1575140
Environment:
Last Closed: 2018-10-11 11:18:07 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 3424791 None None None 2018-08-30 12:54 EDT
Foreman Issue Tracker 23489 None None None 2018-08-30 12:54 EDT
Red Hat Product Errata RHBA-2018:2550 None None None 2018-08-30 12:54 EDT
Red Hat Product Errata RHBA-2018:2915 None None None 2018-10-11 11:18 EDT

  None (edit)
Comment 4 jcallaha 2018-09-13 11:27:01 EDT
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 11:27 EDT
Created attachment 1483085 [details]
verification video
Comment 7 errata-xmlrpc 2018-10-11 11:18:07 EDT
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.