Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1186550

Summary: deleting a repo does not remove node metadata
Product: Red Hat Satellite Reporter: Justin Sherrill <jsherril>
Component: PulpAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: high    
Version: 6.0.0CC: abradshaw, chrobert, katello-bugs, katello-qa-list, mhrivnak, pcfe, peter.vreman, xdmoon
Target Milestone: UnspecifiedKeywords: Reopened
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1184442 Environment:
Last Closed: 2015-03-06 19:08:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1145795, 1184442    

Comment 1 Justin Sherrill 2015-01-28 00:21:00 UTC
Deleting a repository does not seem to clean up its node metadata, so it can leave behind a lot of unused files.

Steps to reproduce:

1.  Create a repo, sync, associate it with a node distributor, publish its node metadata
2.  Delete the repo

examine /var/lib/pulp/nodes and notice the metadata is still there

Comment 2 Brian Bouterse 2015-02-28 23:22:08 UTC
Moved to https://pulp.plan.io/issues/681

Comment 3 RHEL Program Management 2015-03-03 20:19:30 UTC
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.

Comment 5 Michael Hrivnak 2015-03-06 18:54:02 UTC
The upstream PR is merged and is available for cherry-picking onto pulp 2.6.0.

https://github.com/pulp/pulp/pull/1692

Comment 6 Justin Sherrill 2015-03-06 19:08:34 UTC
Closing again, as this was mistakenly moved back to sat 6.

*** This bug has been marked as a duplicate of bug 1184442 ***