Project

General

Profile

Actions

Bug #35442

closed

Syncable exports not properly validated

Added by Partha Aji almost 2 years ago. Updated almost 2 years 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

Also available in: Atom PDF