Error during upload Product (Repository type file)

Can not upload files in Product (Repository type file).
Yum repository is working.

Error output:

Any ideas?

Expected outcome:

Foreman and Proxy versions:

  • foreman-2.3.2-1.el7.noarch
  • katello-3.18.1-1.el7.noarch

Pulp server version2.21.5

Supported Content Types
deb (supported, but overridden to use Pulp 2)
yum (supported, but overridden to use Pulp 2)

Foreman and Proxy plugin versions:

Distribution and version:

Other relevant data:

Hi @senetm ! Is there a chance that you upgraded from Foreman 2.3.x to 2.3.2 without running the foreman-installer? I wonder if there are any other stack traces in journalctl related to this error (not including what you’ve shared from /var/log/foreman/production.log)

Hi…i have upgraded from Foreman 2.2.x direct to 2.3.2 with foreman-installer. I have try to migrate from pulp2 to pulp3 and unfortionaly not successful.

Thank you. This is the most interesting part of your pastebin:

Response body: {"detail":"You do not have permission to perform this action."}undefined method each’ for nil:NilClass`

When you perform the file upload do you see a stack trace in journalctl related to this error? The one you shared is from the Forman app in /var/log/foreman/production.log which relates to the Ruby stack. I’m looking for a Python stack trace in particular.

Also, what error did you encounter with the pulp 2->3 migration? Could be related.

Hi…on journalctl there is nothing related to this.
I have lots of this errors:

Feb 24 10:55:09 qdrouterd[66860]: 2021-02-24 10:55:09.879056 +0100 SERVER (info) [C231479] Accepted connection to :5647 from xx.xx.xx.172:59278
Feb 24 10:55:09 qdrouterd[66860]: 2021-02-24 10:55:09.894206 +0100 ROUTER (info) [C231479] Connection Opened: dir=in host=xx.xx.xx.172:59278 vhost= encrypted=TLSv1/SSLv3 auth=ANONYMOUS user=anonymous container_id=5d8653b7-9792-4e1e-bed3-e13ec0860419 props=

By migrating i get this:

Another thing that i have with pulp is that he stops working time to time with error:

Component Status Message
candlepin OK
candlepin_auth OK
foreman_tasks OK
katello_events OK 106 Processed, 1 Failed
candlepin_events OK 1788 Processed, 2 Failed
pulp3 OK
pulp FAIL Not all necessary pulp workers running at https://foreman.lan/pulp/api/v2.
pulp_auth FAIL Skipped pulp_auth check after failed pulp check