Project

General

Profile

Actions

Bug #13511

open

repository export of a repo w/o rpm packages errors

Added by Thomas McKay almost 9 years ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Inter Server Sync
Target version:
-
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

The "export_distributor" is only associated with repos that contain RPMs. If it only has puppet (and, I assume, the same for docker) then crashes here

app/lib/actions/pulp/repository/distributor_publish.rb

        def distributor_id(pulp_id, distributor_type_id)
          distributor = repo(pulp_id)["distributors"].find do |dist|
            dist["distributor_type_id"] == distributor_type_id
          end
 -->      distributor['id']
        end

This error is fixable once this PR goes in:
https://github.com/Katello/katello/pull/5711


Related issues 2 (1 open1 closed)

Blocks Katello - Tracker #12107: ISS (Inter-Satellite Sync) TrackerNewThomas McKay

Actions
Blocked by Katello - Feature #12570: As a user, I would like to create ISO files of exported reposClosed11/23/2015Actions
Actions

Also available in: Atom PDF