Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-34857

[Satellite 6] Ansible Satellite Collection repository (redhat.satellite.content_upload)

XMLWordPrintable

    • Rocket
    • 1
    • False
    • ansible-collection-redhat-satellite-5.4.0
    • Moderate
    • Satellite Rocket Sprint 1, Satellite Rocket Sprint 2
    • sat-rocket
    • Bug Fix
    • Hide
      Cause:
      Consequence:
      Fix:
      Result:
      Show
      Cause: Consequence: Fix: Result:
    • Rejected
    • Automated

      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":

      {"discovered_interpreter_python": "/usr/libexec/platform-python"}

      , "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:

       

              egolov@redhat.com Evgeni Golov
              rhn-support-gformisa Giovanni Formisano
              Shubham Ganar Shubham Ganar
              Lena Ansorgová (zuansorg) Lena Ansorgová (zuansorg)
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: