Bug 1170325 - katello-disconnected clean option doesn't remove orphaned data from pulp
Summary: katello-disconnected clean option doesn't remove orphaned data from pulp
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Inter Satellite Sync
Version: 6.0.4
Hardware: All
OS: Linux
unspecified
high
Target Milestone: Unspecified
Assignee: Katello Bug Bin
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-03 19:47 UTC by Brett Thurber
Modified: 2016-02-08 18:24 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-08 18:24:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Brett Thurber 2014-12-03 19:47:54 UTC
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

Comment 1 Brett Thurber 2014-12-03 19:54:20 UTC
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.

Comment 2 RHEL Program Management 2014-12-03 20:13:58 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 4 Michael Hrivnak 2015-10-02 13:50:32 UTC
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.

Comment 5 Bryan Kearney 2016-02-08 18:24:13 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.