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 1295889

Summary: katello-disconnected export doesn't clear out cache
Product: Red Hat Satellite Reporter: Thom Carlin <tcarlin>
Component: Inter Satellite SyncAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: cduryee, jmatthew, tcarlin
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1297883 (view as bug list) Environment:
Last Closed: 2016-09-27 11:37:38 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: 1297883    

Description Thom Carlin 2016-01-05 17:21:44 UTC
Description of problem:

katello-disconnected does not clear out /var/lib/pulp/published/yum/http/repos between runs

Version-Release number of selected component (if applicable):

TP2

How reproducible:

100%

Steps to Reproduce:
1. Setup desired repositories for disconnected (as per manual)
2. katello-disconnected export --repos rhel-6-server-rpms-6Server-x86_64 --target /locationA
3. katello-disconnected export --repos rhel-6-server-rhev-mgmt-agent-rpms-6Server-x86_64 --target /locationB
4. Examine content-export-xx files

Actual results:

/locationB/content-export-xx tar archive includes BOTH rhel-6-server-rpms-6Server-x86_64 AND rhel-6-server-rhev-mgmt-agent-rpms-6Server-x86_64

Expected results:

/locationB/content-export-xx tar archive includes ONLY rhel-6-server-rhev-mgmt-agent-rpms-6Server-x86_64

Additional info:

Workaround is to clear out /var/lib/pulp/published/yum/http/repos

Comment 1 Thom Carlin 2016-01-05 17:40:59 UTC
Pulp version 2.6.0.17-.el7sat from rhel-7-server-satellite-6.1-rpms

Comment 4 Bryan Kearney 2016-07-26 19:07:20 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 7 Chris Duryee 2016-09-27 11:37:38 UTC
Thom,

katello-disconnected was replaced by inter-server sync in Satellite 6.2, and is no longer available.

I am marking as closed/currentrelease since 6.2 uses a different import/export process, but feel free to re-open if you need this fixed in 6.1 still.