Project

General

Profile

Actions

Bug #35442

closed

Syncable exports not properly validated

Added by Partha Aji over 1 year ago. Updated over 1 year ago.

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

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.

Actions #1

Updated by Partha Aji over 1 year ago

  • Bugzilla link set to 2122090
Actions #2

Updated by The Foreman Bot over 1 year ago

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

Updated by The Foreman Bot over 1 year ago

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

Updated by Ian Ballou over 1 year ago

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

Updated by The Foreman Bot over 1 year ago

  • Fixed in Releases Katello 4.7.0 added
Actions #6

Updated by Partha Aji over 1 year ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF