Feature #12446
Add ability to export yum repositories to disk
Description
As a user, I would like Katello to export yum reposoties to disk. This includes both full and incremental date-based exports.
For this feature, the export will just be a dump to disk. Wrapping in tgz or ISO can be added later.
Deliverables for this feature are:
- /export API for kicking off exports of yum repos which includes an optional "since" field for the incremental. If no date is given, perform a full export.
- API wiring to kick off Pulp yum repo exports using the export distributor
- any needed migrations to create export distributors for existing yum repos
- a configurable on-disk export destination, set in the Katello tab under /settings.
The output of this task is to be able to hit the katello API and create an on-disk yum export.
Related issues
Associated revisions
History
#1
Updated by Thomas McKay over 6 years ago
- Blocks Tracker #12107: ISS (Inter-Satellite Sync) Tracker added
#2
Updated by Chris Duryee over 6 years ago
- Status changed from New to Assigned
#3
Updated by The Foreman Bot over 6 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/5583 added
#4
Updated by Chris Duryee over 6 years ago
- Status changed from Ready For Testing to Assigned
#5
Updated by The Foreman Bot over 6 years ago
- Status changed from Assigned to Ready For Testing
#6
Updated by Chris Duryee over 6 years ago
- Status changed from Ready For Testing to Assigned
#7
Updated by The Foreman Bot over 6 years ago
- Status changed from Assigned to Ready For Testing
#8
Updated by Eric Helms over 6 years ago
- Legacy Backlogs Release (now unused) set to 86
- Triaged changed from No to Yes
#9
Updated by Chris Duryee over 6 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|b25847d10d944bf3b29c5cd713c6850aad1c66ae.
Fixes #12446 - Enable exports of yum repo data
The pulp export distributor was previously not enabled by Katello. This patch
does the following:
kicks off a pulp export task, with optional "since" paramerter.
dynflow task also allows for setting a suffix on the export, so multiple repos
can be exported to the same location.
This patch assumes you have a `/tmp/katello-repo-exports` dir. To set it up:
Note that the pulp repo creation call was altered to include the export
distributor, thus requiring VCR tests to be re-recorded.