Project

General

Profile

Actions

Bug #17610

closed

CV Publish failing for combination of repos

Added by Partha Aji almost 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Content Views
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

  • Create a new COntent view
  • Add a yum repo + ostree repo or yum repo and a file repo or a yum repo and docker repo
  • Publish the CV

Expected:
Publish properly working

Actual:
Publish fails in the CopyRpm phase with a comment

 data: {}
 description: The target importer does not support the types from the source
 sub_errors: []

What you also note is that CopyRpm call is getting run on ostree/file repos

source_pulp_id: Default_Organization-yawn-ostree
target_pulp_id: Default_Organization-future-1_0-wow-partello
clauses: 
remote_user: admin
remote_cp_user: admin
locale: en

While CopyOstreeBranch needs to be running.

This bug is related to this change -> https://github.com/Katello/katello/commit/e5586b7e6bfd07455997fdb1d7651650f9a83154#diff-516603408c98ec56e67c629e9de94587R19

Basically the CloneToVersion treats a bunch of repositories as the same type. This means in a cv with yum and docker repos, Docker repos may get copied to yum repos which wil cause th eabove failure

Actions

Also available in: Atom PDF