Project

General

Profile

Bug #27101

hammer content view version export does not returns correct repository.

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:

If we try to export the content-view version which has some repositories with download policy "immediate" and some has "on-demand". In this case, it fails with the error -
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Could not export the content view:
Error: All exported repositories must be set to an immediate download policy and re-synced.
The following repositories need action:
Red Hat Satellite Tools 6.5 for RHEL 7 Server RPMs x86_64, Red Hat Enterprise Linux 7 Server RPMs x86_64 7Server
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

It should only return the repositories name in need action those download policy is "On-demand".

Actual results:
Return all the repositories in the content-view version.

Expected results:
Should only report the repositories with download policy "On-demand".

Associated revisions

Revision 938591cd (diff)
Added by Suraj Patil 4 months ago

Fixes #27101 - Content View version export error message fix (#655)

  • Fixes #27101 - Content View version export error message fix
  • Fixes #27101 - Content View version export error message fix
  • Fixes #27101 - Content View version export error message 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/655 added

#2 Updated by Anonymous 4 months ago

  • Status changed from Ready For Testing to Closed

#3 Updated by Ian Ballou 4 months ago

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

Also available in: Atom PDF