Project

General

Profile

Bug #27039

hammer content view version export fails.

Added by Suraj Patil 4 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hammer
Target version:
Difficulty:
trivial
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Description of problem:
Hammer content view version export fails with the below error.

[root@satellite]# hammer content-view version export --export-dir /var/export --id 2
tar: Cowardly refusing to create an empty archive
Try `tar --help' or `tar --usage' for more information.

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

It fails when there is no repository added in the content-view, One of the customer has published the content without any repository and was trying to export it.

Actual results:
tar: Cowardly refusing to create an empty archive
Try `tar --help' or `tar --usage' for more information.

Expected results:
Should report that there is no repository added in the content view

Associated revisions

Revision 39aa28d1 (diff)
Added by Suraj Patil 4 months ago

Fixes #27039 - Content View version Export Condition Fix (#651)

  • Fixes #27039 - Content View version Export Condition Fix

History

#1 Updated by The Foreman Bot 4 months ago

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

#2 Updated by James Jeffers 4 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.13.0

#3 Updated by Anonymous 4 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF