Red Hat Bugzilla – Bug 819985
When a repo is unassociated from a CDS the content should be cleaned off the CDS
Last modified: 2012-08-24 07:54:31 EDT
When a repo is unassociated from a CDS the content should be cleaned off the CDS. Optionally, we could have this behavior controlled by a parameter.
This bug is for RHUI. Make sure any commits are pulled down to the rhui branch.
It would be nice if this could get done in Sprint 36 because the RHUI side of things will require changes to our documentation.
Need to make sure the commit from Bug 800525 is pulled down into the rhui branch.
*** Bug 840477 has been marked as a duplicate of this bug. ***
cherry picked 1f52c49d459ed20c8971724147e961aa438df467 into pulp rhui branch
Created attachment 601930 [details]
Verifying screen log
Having been deleted on the RHUA node, a repo is now deleted on CDS upon sync, too. The content is cached though (should be OK IMHO). See the screen log attached.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
For ISO versions prior to 2.1 for Red Hat Update Infrastructure (RHUI), contents are not removed from the CDS after a repository is unassociated from the CDS. Unassociated rpms still exists at /var/lib/pulp-cds/packages/. Fixed in cdslib.py, unassociated rpms are removed.
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.