Project

General

Profile

Actions

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.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Inter Server Sync
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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

Related issues 1 (0 open1 closed)

Blocks Katello - Tracker #29977: Import/Export StoriesResolved

Actions
Actions #1

Updated by Partha Aji over 4 years ago

Actions #2

Updated by Partha Aji over 4 years ago

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
Actions #3

Updated by Jonathon Turel over 4 years ago

  • Target version set to Katello 4.0.0
Actions #4

Updated by Jonathon Turel over 4 years ago

  • Triaged changed from No to Yes
Actions #5

Updated by Chris Roberts over 4 years ago

  • Target version changed from Katello 4.0.0 to Katello 3.17.0
Actions #6

Updated by Chris Roberts about 4 years ago

  • Target version changed from Katello 3.17.0 to Katello 3.18.0
Actions #7

Updated by Jonathon Turel almost 4 years ago

  • 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!

Actions

Also available in: Atom PDF