-
Bug
-
Resolution: Done-Errata
-
Normal
-
6.17.0, 6.16.5.1, 6.18.0
-
Rocket
-
5
-
False
-
ansible-collection-redhat-satellite-5.1.2
-
Moderate
-
sat-rocket
-
None
-
None
-
None
-
No Coverage
Description of problem:
Using ansible collection redhat.satellite.content_upload in a playbook to upload custom RPMs is showed the error from Ansible
fatal: [localhost]: FAILED! => {"ansible_facts":
, "changed": false, "error": "500 Internal Server Error\nIf you are the administrator of this website, then please read this web application's log file and/or the web server's log file to find out what went wrong.", "msg": "Error while performing update on content_uploads: 500 Server Error: Internal Server Error for url: https://satellite.example.com/katello/api/repositories/29371/content_uploads/019758c2-6c7e-7c66-ba65-be2a745dce8d"}
From production.log
2025-06-03T13:20:20 [I|app|54054ca4] Started PUT "/katello/api/repositories/21768/content_uploads/01973585-5123-7615-8f61-ea5ee985b2cb" for X.X.X.X at 2025-06-03 13:20:20 +0200 2025-06-03T13:20:20 [F|app|54054ca4] 54054ca4 | Rack::QueryParser::QueryLimitError (total query size (5295998) exceeds limit (4194304)): 54054ca4 | 54054ca4 | app/controllers/concerns/foreman/controller/filter_parameters.rb:15:in `process_action' 54054ca4 | katello (4.14.0.13) lib/katello/middleware/organization_created_enforcer.rb:18:in `call' 54054ca4 | katello (4.14.0.13) lib/katello/middleware/event_daemon.rb:10:in `call' 54054ca4 | lib/foreman/middleware/libvirt_connection_cleaner.rb:9:in `call' 54054ca4 | lib/foreman/middleware/telemetry.rb:10:in `call' 54054ca4 | lib/foreman/middleware/logging_context_session.rb:22:in `call' 54054ca4 | lib/foreman/middleware/logging_context_request.rb:11:in `call' 54054ca4 | katello (4.14.0.13) lib/katello/prevent_json_parsing.rb:12:in `call'
How reproducible:
Use the ansible collection redhat.satellite.content_upload in a playbook to upload RPMs
Actual behavior:
Is not possible to upload a custom repos
Expected behavior:
Using ansible collection redhat.satellite.content_upload I will not receive error message
Business Impact / Additional info:
- clones
-
SAT-34857 [Satellite 6] Ansible Satellite Collection repository (redhat.satellite.content_upload)
-
- Release Pending
-
- is blocked by
-
SAT-34793 content_upload - lower chunk size to 1MB to avoid generating too big request by evgeni · Pull Request #1872 · theforeman/foreman-ansible-modules · GitHub
-
- Closed
-
- links to
-
RHBA-2025:151800 Satellite 6.17.2 Async Update