Bug 1311741

Summary: repository export of a repo w/o rpm packages errors
Product: Red Hat Satellite Reporter: Tom McKay <tomckay>
Component: Inter Satellite SyncAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.4CC: bkearney, cduryee
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/13511
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-04 17:44:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.