Satellite 6.10 upgrade shows "414 Request-URI Too Long" error

Solution Verified - Updated -

Issue

  • Upgrading Satellite from 6.9 to 6.10 is failing with the below error in /var/log/foreman/production.log

    2021-12-09T07:44:28 [I|app|] CONTENT_MIGRATION - Importing Repository type=docker duration=1168.93
    2021-12-09T07:44:28 [I|app|] CONTENT_MIGRATION - Importing Content type=docker_manifest duration=1.78
    2021-12-09T07:44:28 [I|app|] CONTENT_MIGRATION - Importing Content type=docker_manifest_list duration=2.0
    2021-12-09T07:44:28 [E|bac|] Error message: the server returns an error
     | HTTP status code: 414
     | Response headers: {"Date"=>"Thu, 09 Dec 2021 03:44:28 GMT", "Server"=>"Apache", "Content-Length"=>"248", "Connection"=>"close", "Content-Type"=>"text/html; charset=iso-8859-1"}
     | Response body: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
     | <html><head>
     | <title>414 Request-URI Too Long</title>
     | </head><body>
     | <h1>Request-URI Too Long</h1>
     | <p>The requested URL's length exceeds the capacity
     | limit for this server.<br />
     | </p>
     | </body></html>
     |  (Pulp2to3MigrationClient::ApiError)
     | /opt/theforeman/tfm/root/usr/share/gems/gems/pulp_2to3_migration_client-0.10.0/lib/pulp_2to3_migration_client/api_client.rb:81:in `call_api'
     | /opt/theforeman/tfm/root/usr/share/gems/gems/pulp_2to3_migration_client-0.10.0/lib/pulp_2to3_migration_client/api/pulp2_content_api.rb:139:in     `list_with_http_info'
    

Environment

  • Red Hat Satellite
    • 6.9 upto 6.9.7
    • 6.10

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