Project

General

Profile

Bug #13511

repository export of a repo w/o rpm packages errors

Added by Thomas McKay over 3 years ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Inter Server Sync
Target version:
Difficulty:
easy
Triaged:
Yes
Bugzilla link:
Pull request:
Team Backlog:
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

Blocks Katello - Tracker #12107: ISS (Inter-Satellite Sync) TrackerNew2015-10-08

Blocked by Katello - Feature #12570: As a user, I would like to create ISO files of exported reposClosed2015-11-23

History

#1 Updated by Thomas McKay over 3 years ago

#2 Updated by Eric Helms over 3 years ago

  • Category set to Inter Server Sync
  • Legacy Backlogs Release (now unused) set to 86

#3 Updated by Thomas McKay over 3 years ago

  • Bugzilla link set to 1311741

#4 Updated by Eric Helms over 3 years ago

  • Blocked by Feature #12570: As a user, I would like to create ISO files of exported repos added

#5 Updated by Eric Helms over 3 years ago

  • Legacy Backlogs Release (now unused) changed from 86 to 144

#6 Updated by Eric Helms about 3 years ago

  • Legacy Backlogs Release (now unused) changed from 144 to 168

#7 Updated by Eric Helms about 3 years ago

  • Legacy Backlogs Release (now unused) deleted (168)

#8 Updated by Justin Sherrill about 3 years ago

  • Legacy Backlogs Release (now unused) set to 114
  • Difficulty set to easy

Also available in: Atom PDF