Project

Profile

Help

Issue #3090

Updated by daviddavis about 3 years ago

This is a regression that was originally fixed in https://pulp.plan.io/issues/2543. See comments below for the commit that broke this.

Steps to reproduce:

<pre>
touch meerkat-2.1.0.noarch.rpm
pulp-admin rpm repo uploads rpm -f meerkat-2.1.0.noarch.rpm --repo-id zoo
</pre>

I'd expect an error message along the lines of "couldn't parse rpm". Instead, the error message is:

<pre>
Task Failed

The importer yum_importer indicated a failed response when uploading rpm unit to
repository test.

unexpected error occurred importing uploaded file: 'primary'
</pre>

This was working at one point when https://pulp.plan.io/issues/2543 was fixed.

Back