Project

General

Profile

Bug #35442

Syncable exports not properly validated

Added by Partha Aji 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Inter Server Sync
Target version:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Description of problem:
Syncable exports are only available for yum and file repos. However the code tries to syncably export ansible repos also.

Found in - Katello 4.6

Steps to Reproduce:
1. Create and sync an ansible repo
2. Export the ansible repo syncably via the following command `hammer content-export complete repository --id=<ansible id> --format=syncable`

Actual results:
Misleading error along "This repo is not marked immediate and hence cant be exported"

Expected results:
Cannot Sync Ansible. Only yum or file is available

Additional info:
On a library export or a content view with a yum, file, ansible repositories the syncable export complains the same and ignores files and ansible.
We'd like it to ignore ansible with a better message but export file and yum.

Associated revisions

Revision 19056c10 (diff)
Added by Partha Aji 3 months ago

Refs #35442 - Properly vets repository exports (#863)

Revision 2166e5e3 (diff)
Added by Partha Aji 3 months ago

Fixes #35442 - Correctly validates non yum repo export (#10254)

History

#1 Updated by Partha Aji 3 months ago

  • Bugzilla link set to 2122090

#2 Updated by The Foreman Bot 3 months ago

  • Assignee set to Partha Aji
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/10254 added

#3 Updated by The Foreman Bot 3 months ago

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

#4 Updated by Ian Ballou 3 months ago

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

#5 Updated by The Foreman Bot 3 months ago

  • Fixed in Releases Katello 4.7.0 added

#6 Updated by Partha Aji 3 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF