Bug 1378442 - [RFE] Unable to upload source RPM packages
Summary: [RFE] Unable to upload source RPM packages
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Repositories
Version: 6.2.2
Hardware: Unspecified
OS: Unspecified
high with 1 vote vote
Target Milestone: 6.7.0
Assignee: Chris Roberts
QA Contact: vijsingh
URL: https://projects.theforeman.org/issue...
: 1438448 (view as bug list)
Depends On: 1773298 1778055
TreeView+ depends on / blocked
Reported: 2016-09-22 12:24 UTC by Roman Plevka
Modified: 2021-12-10 14:44 UTC (History)
23 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Support has been added for uploading the SRPM file type content using the Satellite API or Hammer CLI.
Clone Of:
Last Closed: 2020-04-14 13:22:16 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 16712 0 Normal Closed Unable to upload source RPM packages 2020-12-14 22:46:53 UTC
Red Hat Knowledge Base (Solution) 3063541 0 None None None 2017-08-28 17:09:56 UTC
Red Hat Product Errata RHSA-2020:1454 0 None None None 2020-04-14 13:22:44 UTC

Description Roman Plevka 2016-09-22 12:24:43 UTC
Description of problem:
There's a pulp error being thrown on uploading a srpm to a yum repository:
"Katello::Errors::PulpError: PLP0047: The importer yum_importer indicated a failed response when uploading rpm unit to repository"


Looks like Pulp does support srpm but satellite most probably calls pulp in a way as it was RPM.

- as a (negative) bonus, the task stays in Paused state and blocks all further tasks related to the product (and can't be cancelled).

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. create a custom product
2. create a custom YUM repository
3. upload some source RPM file to the repo.

Actual results:
Katello::Errors::PulpError: PLP0047: The importer yum_importer indicated a failed response when uploading rpm unit to repository

Expected results:
There should either be a rpm/srpm flag or Satellite should figure out the type of the file and trigger an appropriate action.

Additional info:

Comment 2 Brad Buckingham 2016-09-27 18:58:40 UTC
This bugzilla is valid; however, it is actually an enhancement as SRPMs have never been supported.

Comment 3 Brad Buckingham 2016-09-27 18:59:25 UTC
Created redmine issue http://projects.theforeman.org/issues/16712 from this bug

Comment 7 Craig Donnelly 2017-02-23 01:40:50 UTC
Just a note: If you check the actual error output from the task you can easily tell the issue (For others investigating the error mentioned: Katello::Errors::PulpError: PLP0047: The importer yum_importer indicated a failed response when uploading rpm unit to repository)

           ["Error uploading an RPM.  The specified file is a source rpm"]},

Comment 9 Brad Buckingham 2017-04-04 10:56:44 UTC
*** Bug 1438448 has been marked as a duplicate of this bug. ***

Comment 10 daniel.hanke.extern 2017-08-23 06:58:10 UTC
Still no solution for this?

Comment 20 Brad Buckingham 2019-02-25 22:26:29 UTC
Since Delta RPMs are a different content unit, we have created bug 1682951 to track their inclusion within Satellite 6.

Comment 23 vijsingh 2020-01-21 06:17:29 UTC
ON_QA verified

@Satellite 6.7.0 Snap 9.0


 - All tests passed in automation
 - Functionality working as expected and smooth

Known bug(but not a blocker here): https://bugzilla.redhat.com/show_bug.cgi?id=1778055

Comment 36 errata-xmlrpc 2020-04-14 13:22:16 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


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