Bug 1311741 - repository export of a repo w/o rpm packages errors
Summary: repository export of a repo w/o rpm packages errors
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Inter Satellite Sync
Version: 6.0.4
Hardware: Unspecified
OS: Unspecified
unspecified
high vote
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-24 20:59 UTC by Tom McKay
Modified: 2018-09-04 17:44 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-04 17:44:36 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 13511 0 Normal New repository export of a repo w/o rpm packages errors 2020-07-31 00:55:13 UTC

Description Tom McKay 2016-02-24 20:59:13 UTC
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

<pre>
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
</pre>

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

Comment 1 Tom McKay 2016-02-24 20:59:15 UTC
Created from redmine issue http://projects.theforeman.org/issues/13511

Comment 3 Bryan Kearney 2016-07-26 15:25:24 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 4 Bryan Kearney 2016-07-26 15:35:18 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 6 Bryan Kearney 2016-08-10 19:14:11 UTC
Upstream bug component is Inter Satellite Sync

Comment 7 Bryan Kearney 2016-08-10 20:15:10 UTC
Upstream bug component is Content Management

Comment 8 Bryan Kearney 2016-08-10 22:14:49 UTC
Upstream bug component is Inter Satellite Sync

Comment 9 Bryan Kearney 2018-09-04 17:44:36 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.


Note You need to log in before you can comment on or make changes to this bug.