Bug #30000
closed
As a user, I can use CLI to export a unfiltered non-composite content view version to an export file with yum content.
Added by Partha Aji over 4 years ago.
Updated almost 4 years ago.
Category:
Inter Server Sync
|
Description
hammer content-view version export --export-dir export_directory --name=cv-foo --version=1.0 --disconnected-server-name=disconnected.example.com
Make api call to pulp (create exporter and repository versions in the cvv)
* One call to create-exporter, include all repositories in the version
* One call to initiate the export, including specific repository-versions if/as desired
* Pulp exports each repository version to a file. Grab the filenames and checksums from the output of the export task.
CLI also generates a metadata json file containing the following information
* CV Name,
* Version
* Repositories belonging to this version
* Names and Checksums of the exported files
* Rpms and errata_ids in those repositories.
Make an entry in the ContentViewExportHistory along the lines of
ID | server name | content view | version | Date | Description
========================================================
1 | disconnected.example.com || foo | 1.0 | 01/01/2020 | None
* Verify the full export
* Verify filtered non composite
* Verify composite
Formatting corrections
hammer content-view version export --export-dir export_directory --name=cv-foo --version=1.0 --disconnected-server-name=disconnected.example.com
Make api call to pulp (create exporter and repository versions in the cvv)
- One call to create-exporter, include all repositories in the version
- One call to initiate the export, including specific repository-versions if/as desired
- Pulp exports each repository version to a file. Grab the filenames and checksums from the output of the export task.
CLI also generates a metadata json file containing the following information
- CV Name,
- Version
- Repositories belonging to this version
- Names and Checksums of the exported files
- Rpms and errata_ids in those repositories.
Make an entry in the ContentViewExportHistory along the lines of
ID | server name | content view | version | Date | Description
========================================================
1 | disconnected.example.com || foo | 1.0 | 01/01/2020 | None
- Verify the full export
- Verify filtered non composite
- Verify composite
- Target version set to Katello 4.0.0
- Triaged changed from No to Yes
- Target version changed from Katello 4.0.0 to Katello 3.17.0
- Target version changed from Katello 3.17.0 to Katello 3.18.0
- Status changed from New to Rejected
- Target version changed from Katello 3.18.0 to Katello Recycle Bin
Partha let me know if I closed this incorrectly!
Also available in: Atom
PDF