Unable to upload .deb package in custom repository

Problem:

We created a custom product and repository in our Foreman 3.1, in order to upload in it some debian packages that we need to install on clients.
We are facing that error message when trying to upload a debian package into that repository :

Error during upload: Task 6cd30d38-9b9a-4186-82e7-497fd7f18f2f: Katello::Errors::Pulp3Error: {‘non_field_errors’: [ErrorDetail(string=‘Invalid relative_path provided, filename does not match.’, code=‘invalid’)]}

I tried with different packages, but the result seems to be the same.

Expected outcome:

Upload should work

Foreman and Proxy versions:

Foreman 3.1
Katello 4.3
Pulpcore 3.17

Foreman and Proxy plugin versions:

|foreman-tasks|5.2.2|
|foreman_host_reports|2.0.4|
|foreman_remote_execution|5.0.3|
|katello|4.3.0|

Distribution and version:

Foreman 3.1
Katello 4.3

Other relevant data:

Repository has been created with deb type, no upstream URL, no HTTP proxy, no sync plan, no GPG key

I can reproduce this on nightly so it seems to have been broken for a while.

I have opened an issue for this.

1 Like