Description of problem: When issuing katello-disconnected clean, the pulp dbd doesn't purge existing synced content. Version-Release number of selected component (if applicable): pulp-katello-0.3-4.el6sat.noarch pulp-server-2.4.3-1.el6sat.noarch katello-utils-1.5.16-1.el6sat.noarch How reproducible: Everytime Steps to Reproduce: 1. Setup a content server and sync several repos 2. Issue katello-disconnectec clean command to remove sync'd repos 3. The size of the pulp database does not change in size indicating orphaned content from the repo sync still exists Actual results: See above Expected results: Orphaned content is cleaned from the pulp database. Additional info: N/A
Just a note on the Steps to Reproduce, also add in katello-disconnected disable --all or disable for a specific repo. Either way the content in the pulp DB for the previously sync'd repo isn't removed.
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.
FWIW this doesn't look like a pulp bug. I suspect either the "clean" command doesn't initiate an orphan purge, or it doesn't remove the rpms from all of the repos to which the rpms belong.
The katello-disconnected server synchronization and export functions are being moved into the Satellite server itself. With 6.2, the katello-disconnected command will no longer be delivered and instead will be replaced with a new export and import functions delivered via the UI and hammer CLI. This bug is being closed as "WONTFIX" since it relates only to the existing katello-disconnected tooling. Please check the Satellite docs with the release of Satellite 6.2 on how to use the new content export and import features.