Uploading an RPM to a custom repo using the redhat.satellite.content_upload Ansible Collection returns 500 Internal Server Error after upgrade from Red Hat Satellite 6.15 to 6.16

Solution Verified - Updated -

Issue

  • Non-admin Satellite user can't upload an RPM to custom repo by using the redhat.satellite.content_upload Ansible Collection in an Ansible playbook after upgrade from Red Hat Satellite 6.15 to 6.16

  • Getting below 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"}
    
  • Getting below errors from Satellite

    Rack::QueryParser::QueryLimitError (total query size (5295998) exceeds limit (4194304)):
    

    OR

    ActionController::BadRequest (Invalid request parameters: total query size (5141526) exceeds limit (4194304)):
    

Environment

  • Red Hat Satellite 6.16 , 6.17

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content