Project

General

Profile

Feature #12570

As a user, I would like to create ISO files of exported repos

Added by Chris Duryee over 3 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Many users would prefer if repo exports were created in ISO format.

Pulp currently supports ISO exports, but the exports are based on individual repos or repo groups. Katello should be able to re-use this (possibly creating a one-off repo group and then removing at the end of the task).

The API should support passing in a "size" field for the ISO size that passes through to Pulp. We may also want to map a few strings to common sizes:

DVD - 4.7GB
BD-R - 25GB
BD-R_DL - 50GB
BD-R_QL - 100GB


Related issues

Blocks Katello - Tracker #12107: ISS (Inter-Satellite Sync) TrackerNew2015-10-08

Blocks Katello - Bug #13511: repository export of a repo w/o rpm packages errorsNew2016-02-01

Associated revisions

Revision 6145070e (diff)
Added by Chris Duryee over 3 years ago

Fixes #12570: export of content views

This patch allows for exporting content view versions via a new `/export`
endpoint. Exports have the following optional parameters:

  • `export_to_iso` - export to ISO or directory
  • `iso_mb_size` - maximum size of each ISO in set (only is valid when
    `export_to_iso` is true)
  • `since` - timestamp of content; will force "incremental" format

Additionally, it allows for incremental imports on sync if the `incremental`
flag is passed through. Incremental imports are different than typical syncs
because of the different file format that Pulp outputs. For example, instead of
a yum repo, it will be a bare directory with RPMs and some json files with RPM
and errata information.

Content view version export works by creating a temporary repo group in Pulp,
exporting that group, and then deleting the temporary group. We cannot do it
repo by repo since the ISO needs to contain all of the repos on the same image.

The default setting for pulp_export_dir has been changed to live under
Rails.root, so it plays better with selinux.

Revision 036ba520
Added by Justin Sherrill over 3 years ago

Merge pull request #5711 from beav/cv_export

Fixes #12570: export of content views

Revision 493a0dec (diff)
Added by Chris Duryee over 3 years ago

Refs #12570 - Hammer commands for repo and CVV export

This adds two commands to hammer which support repo and CVV export.

Revision ca5af6b2
Added by Adam Price over 3 years ago

Merge pull request #348 from beav/export

Refs #12570 - Hammer commands for repo and CVV export

History

#1 Updated by Chris Duryee over 3 years ago

#2 Updated by Eric Helms over 3 years ago

  • Legacy Backlogs Release (now unused) set to 86
  • Triaged changed from No to Yes

#3 Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5711 added

#4 Updated by The Foreman Bot over 3 years ago

  • Pull request https://github.com/Katello/hammer-cli-katello/pull/348 added

#5 Updated by Chris Duryee over 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#6 Updated by Eric Helms over 3 years ago

  • Blocks Bug #13511: repository export of a repo w/o rpm packages errors added

Also available in: Atom PDF