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 ***