Project

General

Profile

Actions

Bug #29360

closed

Too-large request sent to Pulp2to3MigrationClient during katello:pulp3_migration

Added by Ian Ballou about 4 years ago. Updated about 3 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

I hit this issue in a pretty specific situation. My environment had two file repos synced with this URL: http://quartet.usersys.redhat.com/pub/fake-repos/large_file/

I also had a content view with 3 versions, each having this large file repo.

I deleted every repo and content view version (trying to make orphaned content) and then tried katello:pulp3_migration. I hit this error:

[vagrant@centos7-katello-nightly-3 ~]$ sudo foreman-rake katello:pulp3_migration
rake aborted!
ForemanTasks::TaskError: Task b7e58204-6555-493b-aaa6-e1b46aaedba6: Dynflow::Errors::UnknownError[Pulp2to3MigrationClient::ApiError]: Error message: the server returns an error
HTTP status code: 400
Response headers: {"date"=>"Mon, 16 Mar 2020 21:28:09 GMT", "server"=>"Apache", "content-type"=>"text/html; charset=UTF-8", "content-length"=>"163", "via"=>"1.1 centos7-katello-nightly-3.cannolo.example.com", "connection"=>"close"}
Response body: <html>
  <head>
    <title>Bad Request</title>
  </head>
  <body>
    <h1><p>Bad Request</p></h1>
    Request Line is too large (7970 &gt; 4094)
  </body>
</html>
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.16.0.pre.master/lib/katello/tasks/pulp3_migration.rake:13:in `block (2 levels) in <top (required)>'
/opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-12.3.0/exe/rake:27:in `<top (required)>'
Tasks: TOP => katello:pulp3_migration
(See full trace by running task with --trace)

I recreated the error in the Rails console like so:

irb(main):015:0> ::Katello::FileUnit.where(:migrated_pulp3_href => nil)
=> #<ActiveRecord::Relation [#<Katello::FileUnit id: 1, created_at: "2020-03-16 16:01:25", updated_at: "2020-03-16 16:01:25", pulp_id: "/pulp/api/v3/content/file/files/2c69ee03-e687-4313...", name: "35689", checksum: "9f59a0641b8a7848452719b1e90624f84d80be6310fb7118f9...", path: "35689", migrated_pulp3_href: nil>, #<Katello::FileUnit id: 2, created_at: "2020-03-16 16:01:25", updated_at: "2020-03-16 16:01:25", pulp_id: "/pulp/api/v3/content/file/files/2ddf5ec4-6d37-454b...", name: "10440", checksum: "5b8850b8ef0f5addb47a772d75dcfcd370a9cbfeefa9d53a45...", path: "10440", migrated_pulp3_href: nil>, #<Katello::FileUnit id: 3, created_at: "2020-03-16 16:01:25", updated_at: "2020-03-16 16:01:25", pulp_id: "/pulp/api/v3/content/file/files/5b5941a1-af0b-47ce...", name: "14221", checksum: "e892e084e3956eee21fd52d1daa2a67daf90bd77d80daa32ef...", path: "14221", migrated_pulp3_href: nil>, #<Katello::FileUnit id: 4, created_at: "2020-03-16 16:01:25", updated_at: "2020-03-16 16:01:25", pulp_id: "/pulp/api/v3/content/file/files/7974bc79-9c0d-4467...", name: "55172", checksum: "52b920ea83fb66b5bc91ba6fe1c29bc6f8b21c65c0e35c5871...", path: "55172", migrated_pulp3_href: nil>, #<Katello::FileUnit id: 5, created_at: "2020-03-16 16:01:25", updated_at: "2020-03-16 16:01:25", pulp_id: "/pulp/api/v3/content/file/files/61f2585b-b936-41cb...", name: "24571", checksum: "22c6580001d68bf813770a0027504cfe561aba11083bfa4c21...", path: "24571", migrated_pulp3_href: nil>, #<Katello::FileUnit id: 6, created_at: "2020-03-16 16:01:25", updated_at: "2020-03-16 16:01:25", pulp_id: "/pulp/api/v3/content/file/files/9ce8e88a-aaa1-4218...", name: "25771", checksum: "e8e02ee843065c3166425f2242deee27c1e3697cd615506909...", path: "25771", migrated_pulp3_href: nil>, #<Katello::FileUnit id: 7, created_at: "2020-03-16 16:01:25", updated_at: "2020-03-16 16:01:25", pulp_id: "/pulp/api/v3/content/file/files/7ae58e78-b10a-4a5d...", name: "64608", checksum: "49e19949f177cb981acf74bd554cac692d6291a78125c750af...", path: "64608", migrated_pulp3_href: nil>, #<Katello::FileUnit id: 8, created_at: "2020-03-16 16:01:25", updated_at: "2020-03-16 16:01:25", pulp_id: "/pulp/api/v3/content/file/files/9f79c4d6-6f5c-4069...", name: "50039", checksum: "8461a0d270b6db87153f813c9156530f285008848cfef5f674...", path: "50039", migrated_pulp3_href: nil>, #<Katello::FileUnit id: 9, created_at: "2020-03-16 16:01:25", updated_at: "2020-03-16 16:01:26", pulp_id: "/pulp/api/v3/content/file/files/73cc04d8-a94f-4ef8...", name: "30182", checksum: "ae53b9771f94d4aa4760b6071213797456d027ed69dc8bd120...", path: "30182", migrated_pulp3_href: nil>, #<Katello::FileUnit id: 10, created_at: "2020-03-16 16:01:26", updated_at: "2020-03-16 16:01:26", pulp_id: "/pulp/api/v3/content/file/files/428d27e9-bcc6-471a...", name: "34288", checksum: "197d6e20273ba80188a988bd207ceb057c069c94447383411c...", path: "34288", migrated_pulp3_href: nil>, ...]>
irb(main):016:0> ::Katello::FileUnit.where(:migrated_pulp3_href => nil).count
=> 67985
irb(main):017:0> Pulp2to3MigrationClient::Pulp2contentApi.new(Pulp2to3MigrationClient::ApiClient.new(SmartProxy.first.pulp3_configuration(Pulp2to3MigrationClient::Configuration))).list
=> #<Pulp2to3MigrationClient::InlineResponse2001:0x000000000fa99020 @count=0, @results=[]>
irb(main):018:0> Pulp2to3MigrationClient::Pulp2contentApi.new(Pulp2to3MigrationClient::ApiClient.new(SmartProxy.first.pulp3_configuration(Pulp2to3MigrationClient::Configuration))).list(pulp2_id__in: ::Katello::FileUnit.where(:migrated_pulp3_href => nil).map { |unit| unit.pulp_id }.join(','))
Traceback (most recent call last):
        2: from lib/tasks/console.rake:5:in `block in <top (required)>'
        1: from (irb):18
Pulp2to3MigrationClient::ApiError (Error message: the server returns an error)
HTTP status code: 414
Response headers: {"date"=>"Mon, 16 Mar 2020 21:31:40 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>

The migration succeeded after deleting all file units and running both katello:delete_orphaned_content and katello:correct_repositories.
My environment did have some troubles, like for some reason not every file was synced correctly (you can see there isn't actually 70K files like there should be). Regardless it should be investigated.


Related issues 1 (1 open0 closed)

Blocks Katello - Tracker #26987: Pulp3 Main trackerNew

Actions
Actions #1

Updated by Ian Ballou about 4 years ago

katello:delete_orphaned_content might be the solution to this, need to verify.

Actions #2

Updated by Ian Ballou about 4 years ago

Actions #3

Updated by Chris Roberts about 4 years ago

  • Target version set to Katello 3.15.0
  • Triaged changed from No to Yes
Actions #4

Updated by Ian Ballou about 4 years ago

  • Status changed from New to Rejected

Closing this as unreproducible.

Actions #5

Updated by Jonathon Turel about 4 years ago

  • Target version changed from Katello 3.15.0 to Katello Recycle Bin
Actions #6

Updated by Ian Ballou about 3 years ago

Not sure if it's worth reopening this, but I hit it again:

Action:

Actions::Pulp3::ImportMigration

Input:

{"reimport_all"=>false,
 "dependency"=>
  {"pulp_tasks"=>
    [{"pulp_href"=>"/pulp/api/v3/tasks/a5648d0b-bd54-43d7-8478-cb24793607c2/",
      "pulp_created"=>"2021-02-10T17:35:20.623+00:00",
      "state"=>"completed",
      "name"=>"pulp_2to3_migration.app.tasks.migrate.migrate_from_pulp2",
      "logging_cid"=>"b05a210dbdad4c50a69b76369bb5e5bb",
      "started_at"=>"2021-02-10T17:35:20.772+00:00",
      "finished_at"=>"2021-02-10T17:36:48.138+00:00",
      "worker"=>"/pulp/api/v3/workers/e918140b-f86c-4a5f-b689-bfc27b8707cc/",
      "child_tasks"=>
       ["/pulp/api/v3/tasks/b21c223d-0adc-4f0c-b5fd-c7d199a89a6b/",
        "/pulp/api/v3/tasks/7e7c70be-227b-4c66-ab95-24d023a5e4d1/"],
      "task_group"=>
       "/pulp/api/v3/task-groups/c7301bfa-d996-4a56-86ed-b12869e50eef/",
      "progress_reports"=>
       [{"message"=>"Pre-migrating Pulp 2 ISO content (general info)",
         "code"=>"premigrating.content.general",
         "state"=>"completed",
         "total"=>20251,
         "done"=>20251},
        {"message"=>"Pre-migrating Pulp 2 ISO content (detail info)",
         "code"=>"premigrating.content.detail",
         "state"=>"completed",
         "total"=>20251,
         "done"=>20251},
        {"message"=>"Creating repositories in Pulp 3",
         "code"=>"creating.repositories",
         "state"=>"completed",
         "total"=>2,
         "done"=>2},
        {"message"=>"Migrating importers to Pulp 3",
         "code"=>"migrating.importers",
         "state"=>"completed",
         "total"=>2,
         "done"=>2},
        {"message"=>"Migrating iso content to Pulp 3 iso",
         "code"=>"migrating.iso.content",
         "state"=>"completed",
         "total"=>20251,
         "done"=>20251},
        {"message"=>"Migrating content to Pulp 3",
         "code"=>"migrating.content",
         "state"=>"completed",
         "total"=>20251,
         "done"=>20251},
        {"message"=>"Processing Pulp 2 repositories, importers, distributors",
         "code"=>"processing.repositories",
         "state"=>"completed",
         "total"=>2,
         "done"=>2}],
      "created_resources"=>
       ["/pulp/api/v3/task-groups/c7301bfa-d996-4a56-86ed-b12869e50eef/"],
      "reserved_resources_record"=>["pulp_2to3_migration"]}],
   "task_groups"=>
    [{"pulp_href"=>
       "/pulp/api/v3/task-groups/c7301bfa-d996-4a56-86ed-b12869e50eef/",
      "description"=>"Migration Sub-tasks",
      "all_tasks_dispatched"=>true,
      "waiting"=>0,
      "skipped"=>0,
      "running"=>0,
      "completed"=>3,
      "canceled"=>0,
      "failed"=>0,
      "group_progress_reports"=>
       [{"message"=>"Repo version creation",
         "code"=>"create.repo_version",
         "total"=>2,
         "done"=>2},
        {"message"=>"Distribution creation",
         "code"=>"create.distribution",
         "total"=>2,
         "done"=>2}]}],
   "poll_attempts"=>{"total"=>28, "failed"=>0}},
 "remote_user"=>"admin",
 "remote_cp_user"=>"admin",
 "current_request_id"=>nil,
 "current_timezone"=>"UTC",
 "current_user_id"=>1,
 "current_organization_id"=>nil,
 "current_location_id"=>nil}

Output:

{}

Exception:

Dynflow::Errors::UnknownError[Pulp2to3MigrationClient::ApiError]: Error message: the server returns an error
HTTP status code: 400
Response headers: {"date"=>"Wed, 10 Feb 2021 17:37:31 GMT", "server"=>"Apache", "content-type"=>"text/html; charset=UTF-8", "content-length"=>"163", "via"=>"1.1 centos7-katello-devel-2.cannolo.example.com", "connection"=>"close"}
Response body: <html>
  <head>
    <title>Bad Request</title>
  </head>
  <body>
    <h1><p>Bad Request</p></h1>
    Request Line is too large (7970 &gt; 4094)
  </body>
</html>

Backtrace:

/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/pulp_2to3_migration_client-0.6.0/lib/pulp_2to3_migration_client/api_client.rb:81:in `call_api'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/pulp_2to3_migration_client-0.6.0/lib/pulp_2to3_migration_client/api/pulp2_content_api.rb:119:in `list_with_http_info'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/pulp_2to3_migration_client-0.6.0/lib/pulp_2to3_migration_client/api/pulp2_content_api.rb:43:in `list'
/home/vagrant/katello/app/services/katello/pulp3/migration.rb:315:in `block in import_content_type'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activerecord-6.0.3.4/lib/active_record/relation/batches.rb:136:in `block in find_in_batches'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activerecord-6.0.3.4/lib/active_record/relation/batches.rb:238:in `block in in_batches'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activerecord-6.0.3.4/lib/active_record/relation/batches.rb:222:in `loop'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activerecord-6.0.3.4/lib/active_record/relation/batches.rb:222:in `in_batches'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activerecord-6.0.3.4/lib/active_record/relation/batches.rb:135:in `find_in_batches'
/home/vagrant/katello/app/services/katello/pulp3/migration.rb:312:in `import_content_type'
/home/vagrant/katello/app/services/katello/pulp3/migration.rb:106:in `block (4 levels) in import_pulp3_content'
/home/vagrant/katello/app/lib/katello/logging.rb:6:in `time'
/home/vagrant/katello/app/services/katello/pulp3/migration.rb:105:in `block (3 levels) in import_pulp3_content'
/home/vagrant/katello/app/services/katello/pulp3/migration.rb:104:in `each'
/home/vagrant/katello/app/services/katello/pulp3/migration.rb:104:in `block (2 levels) in import_pulp3_content'
/home/vagrant/katello/app/services/katello/pulp3/migration.rb:99:in `each'
/home/vagrant/katello/app/services/katello/pulp3/migration.rb:99:in `block in import_pulp3_content'
/home/vagrant/katello/app/lib/katello/logging.rb:6:in `time'
/home/vagrant/katello/app/services/katello/pulp3/migration.rb:98:in `import_pulp3_content'
/home/vagrant/katello/app/lib/actions/pulp3/import_migration.rb:11:in `run'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/action.rb:571:in `block (3 levels) in execute_run'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:27:in `pass'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:19:in `pass'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:32:in `run'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:23:in `call'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:27:in `pass'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:19:in `pass'
/home/vagrant/katello/app/lib/actions/middleware/remote_action.rb:16:in `block in run'
/home/vagrant/katello/app/lib/actions/middleware/remote_action.rb:40:in `block in as_remote_user'
/home/vagrant/katello/app/models/katello/concerns/user_extensions.rb:21:in `cp_config'
/home/vagrant/katello/app/lib/actions/middleware/remote_action.rb:27:in `as_cp_user'
/home/vagrant/katello/app/lib/actions/middleware/remote_action.rb:39:in `as_remote_user'
/home/vagrant/katello/app/lib/actions/middleware/remote_action.rb:16:in `run'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:23:in `call'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:27:in `pass'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:19:in `pass'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/foreman-tasks-3.0.3/app/lib/actions/middleware/rails_executor_wrap.rb:14:in `block in run'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activesupport-6.0.3.4/lib/active_support/execution_wrapper.rb:88:in `wrap'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/foreman-tasks-3.0.3/app/lib/actions/middleware/rails_executor_wrap.rb:13:in `run'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:23:in `call'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:27:in `pass'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:19:in `pass'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/action/progress.rb:31:in `with_progress_calculation'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/action/progress.rb:17:in `run'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:23:in `call'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:27:in `pass'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:19:in `pass'
/home/vagrant/katello/app/lib/actions/middleware/keep_locale.rb:11:in `block in run'
/home/vagrant/katello/app/lib/actions/middleware/keep_locale.rb:22:in `with_locale'
/home/vagrant/katello/app/lib/actions/middleware/keep_locale.rb:11:in `run'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:23:in `call'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:27:in `pass'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:19:in `pass'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/foreman-tasks-3.0.3/app/lib/actions/middleware/keep_current_request_id.rb:15:in `block in run'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/foreman-tasks-3.0.3/app/lib/actions/middleware/keep_current_request_id.rb:49:in `restore_current_request_id'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/foreman-tasks-3.0.3/app/lib/actions/middleware/keep_current_request_id.rb:15:in `run'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:23:in `call'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:27:in `pass'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:19:in `pass'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/foreman-tasks-3.0.3/app/lib/actions/middleware/keep_current_timezone.rb:15:in `block in run'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/foreman-tasks-3.0.3/app/lib/actions/middleware/keep_current_timezone.rb:44:in `restore_curent_timezone'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/foreman-tasks-3.0.3/app/lib/actions/middleware/keep_current_timezone.rb:15:in `run'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:23:in `call'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:27:in `pass'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:19:in `pass'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/foreman-tasks-3.0.3/app/lib/actions/middleware/keep_current_user.rb:15:in `block in run'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/foreman-tasks-3.0.3/app/lib/actions/middleware/keep_current_user.rb:44:in `restore_curent_user'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/foreman-tasks-3.0.3/app/lib/actions/middleware/keep_current_user.rb:15:in `run'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:23:in `call'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:27:in `pass'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:19:in `pass'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/foreman-tasks-3.0.3/app/lib/actions/middleware/keep_current_taxonomies.rb:15:in `block in run'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/foreman-tasks-3.0.3/app/lib/actions/middleware/keep_current_taxonomies.rb:45:in `restore_current_taxonomies'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/foreman-tasks-3.0.3/app/lib/actions/middleware/keep_current_taxonomies.rb:15:in `run'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:23:in `call'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:27:in `pass'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:19:in `pass'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:32:in `run'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:23:in `call'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/middleware/world.rb:31:in `execute'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/action.rb:570:in `block (2 levels) in execute_run'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/action.rb:569:in `catch'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/action.rb:569:in `block in execute_run'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/action.rb:472:in `block in with_error_handling'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/action.rb:472:in `catch'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/action.rb:472:in `with_error_handling'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/action.rb:564:in `execute_run'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/action.rb:285:in `execute'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:18:in `block (2 levels) in execute'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/execution_plan/steps/abstract.rb:167:in `with_meta_calculation'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:17:in `block in execute'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:32:in `open_action'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:16:in `execute'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/director.rb:68:in `execute'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/executors/parallel/worker.rb:15:in `block in on_message'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/executors.rb:18:in `run_user_code'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/executors/parallel/worker.rb:14:in `on_message'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/context.rb:46:in `on_envelope'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/behaviour/executes_context.rb:7:in `on_envelope'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/actor.rb:106:in `on_envelope'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/behaviour/awaits.rb:15:in `on_envelope'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/actor.rb:47:in `block in on_envelope'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/actor.rb:59:in `with_backtrace'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/dynflow-1.4.7/lib/dynflow/actor.rb:47:in `on_envelope'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/behaviour/buffer.rb:38:in `process_envelope'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/behaviour/buffer.rb:31:in `process_envelopes?'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/behaviour/buffer.rb:20:in `on_envelope'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/behaviour/termination.rb:55:in `on_envelope'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/behaviour/removes_child.rb:10:in `on_envelope'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/core.rb:162:in `process_envelope'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/core.rb:96:in `block in on_envelope'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/core.rb:119:in `block (2 levels) in schedule_execution'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/concurrent-ruby-1.1.8/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:41:in `block in synchronize'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/concurrent-ruby-1.1.8/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:41:in `synchronize'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/concurrent-ruby-1.1.8/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:41:in `synchronize'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/core.rb:116:in `block in schedule_execution'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/concurrent-ruby-1.1.8/lib/concurrent-ruby/concurrent/executor/serialized_execution.rb:18:in `call'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/concurrent-ruby-1.1.8/lib/concurrent-ruby/concurrent/executor/serialized_execution.rb:96:in `work'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/concurrent-ruby-1.1.8/lib/concurrent-ruby/concurrent/executor/serialized_execution.rb:77:in `block in call_job'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/concurrent-ruby-1.1.8/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:363:in `run_task'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/concurrent-ruby-1.1.8/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:352:in `block (3 levels) in create_worker'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/concurrent-ruby-1.1.8/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:335:in `loop'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/concurrent-ruby-1.1.8/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:335:in `block (2 levels) in create_worker'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/concurrent-ruby-1.1.8/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:334:in `catch'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/concurrent-ruby-1.1.8/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:334:in `block in create_worker'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/logging-2.3.0/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
Actions #7

Updated by Ian Ballou about 3 years ago

Example call that causes the error:

192.168.122.132 - admin [10/Feb/2021:17:37:31 +0000] "GET /pulp/api/v3/pulp2content/?pulp2_id__in=%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Fbd616dbc-09fb-4936-a208-096025bfaa07%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Fedc110b2-0208-4f19-b26d-3aea5cc6d58d%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F36a7ddaf-55da-46e5-ba39-3aa04902ee99%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Fd3083237-bc29-4517-9e8c-7ca08b4f5a9a%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Fad12257f-f3fd-4997-821d-3f2c57eda3fd%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Fbfdfa860-cdc6-4e0e-ac4c-5cf3751faf46%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Fffb26373-b1a2-43cf-8aea-c0aa44058083%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Fb8476869-ec59-407f-b867-5ac5d24827a5%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F90a94652-65f6-43d3-82d5-53df8b0c5ec1%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F59d3cd62-c165-49f2-ba1f-76289f6c5fdf%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Fee2451b9-2c2f-4465-a257-f4ca0824859f%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F4e09ad60-0550-4156-81c0-2dc210175adf%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Fe0aed530-9c46-480c-8f42-c1ac1751d291%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Fe755eb1a-3c90-4890-8445-3dacc74fb728%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Fe0404924-0d68-4cdb-a075-ef6a4a001684%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F9f4d2aa6-2e95-4265-b0c1-ed77c0ada11d%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Fdc4f2d38-64ec-4c65-8966-75d52048d372%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F75df3f39-5cfc-426b-8c7f-6d83e73f9414%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F998dd3db-5a49-4977-b688-6386962a029d%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F90e732c4-9df7-4df6-a5f6-aa34bf4b49c7%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F3419a6d5-6d44-4077-9e1f-81f46b076767%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F1b28204d-9e6e-4667-95f6-d597cf8a7615%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Fc02da486-fc0a-4462-96c3-64627f23854d%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F89b39bda-c3e1-4e25-9935-0b64e9f96c3f%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F376bc218-bdb9-4d09-9774-06365b90095b%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Fb135080e-7a27-4d82-b0e5-91810358d73b%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F080077bb-68be-40c5-bb64-0b371cf37fea%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Fd65ae6c5-1d6d-40c2-add2-2fefc1f83490%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F2684f2ec-cb3d-40b6-8218-af6f7c731b95%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F291f85e1-de90-4ce9-9257-6ed572af8a3c%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Fa634ad83-2344-4f54-950c-5ea07de50696%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F24fe3e08-286c-4232-b2aa-7370db53574e%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Fadea0fc8-d4ab-49f0-9f14-4d1e27e298e3%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F4be48e07-ecc0-438e-b22a-6fde76c7f29c%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Fa39dd410-6609-46dd-bd55-ed61702c9ae8%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F07ac3f00-f21d-4fd0-a30d-2c5c19ca0f59%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F6b9977c4-843b-4559-b330-9f2535d296db%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F3b58f187-2888-4f9a-9323-1f36dc267dcf%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Fc1673fb3-22c5-4cf3-8d2b-c9006c44a6b2%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F0777df9e-75ec-4f8c-87cb-9968c48db66a%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F574cdbf4-676d-488c-946d-e9e03b411888%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Fac9807a7-e3fc-416e-9bde-ad71904f7ad4%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Fd243a6b4-68af-4195-b602-f69434331e63%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F64065d8f-d4dd-44d2-a5fb-ae2709637f36%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Fa05f7f5f-5ce6-484d-b960-d61f5d0a89d7%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F90c5cf20-b971-4239-8fe0-600350ec69a4%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F7adbe275-a1c3-4d3c-b70b-33a0fbe509c9%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F3fc783c2-d38b-4b21-8451-ad0aace9dd50%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F1f0903c4-16f6-43d1-8f8f-692732f717b8%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Faf2600ff-fe10-4121-8e9c-6d81bcc9c59b%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F2c763c6f-f89a-4473-ad64-5dc4e341be44%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Fd63f97f8-2769-4700-8848-4a2491cc7d03%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F6b75675f-840d-42f3-99b7-29c31c391943%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F89bd9cd8-5a22-4268-80b7-aaa91cec52f5%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Ff5b1a8e9-412d-43f7-85b4-898dc8b2598b%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F5a74fbaf-2542-42f1-8621-00179cf14348%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F7d9765a2-5b1c-444d-a699-12bd34a92457%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F3b5c78d4-0fd4-4f47-b71a-d1caef2df1a4%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Fc1f8ea83-cc03-4f83-acd0-0461660718ff%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Fb0366e24-af73-4d97-89cf-3f02bc057156%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F5ea44168-2373-4629-ab67-f6026d1b9fcc%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F1a9de998-d70a-4217-8d5b-59b131a8c104%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F686b2174-2d13-4811-9fc0-b96e7fb310d8%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Feeb4910d-e7e9-4f7d-be31-9a1fbb18b951%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Fd1df679a-f0fe-4927-894d-0777c7fedfbf%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F2d26f428-1e43-4ccb-8d71-aedfb87e40da%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Fb6147163-a0a1-41fd-a0ed-cf108284e02e%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F24f14935-63a8-407d-a4ba-adb63a8633c5%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F9b72846d-5fa8-4f94-b96a-b65185407b44%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Fc786b4a2-e7ee-457e-83bd-df95f7be1577%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F1459e313-fff6-4333-9b45-29ef2d5b3878%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Ffbdaddef-c638-40ff-b693-c90fcf2daf98%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F2c052f12-fbf5-4e55-8191-282db88c3cc7%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F0f504a31-4bfd-4762-853b-7d5022e1b8e8%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F12579cb2-d1d6-4c68-add8-56b0ff481938%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F01cd00f9-e95c-4e11-aaf2-fee72d9c90a2%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Fa1b2a5da-4f04-46ae-872a-e65a9d990b08%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Fb87e31b7-1749-41ae-a928-1d2ab5236481%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Fa64f9aff-f663-490d-97e0-3e8f81ad4f2c%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F9db4a998-1fcb-433b-aa39-60964f3f6137%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Fe85edb48-192e-42b6-85ff-abf10990d714%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Fefc827c5-bf96-4a35-b79e-182a9ab6c741%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F0e51fd2c-c744-4746-aca1-20310d5d5fd4%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F14a3ae5c-e735-46a3-ad29-60683ed8f6a8%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F667953a0-df2c-478a-b4b7-a53e0fafa4a6%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2Fb67bcc33-635f-4fa9-ae6d-1d8b96216558%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F8935d8b0-f74b-4df1-b931-64afd594fe03%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F4955d390-7515-44ce-ac67-27a066dafe18%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F64b42359-cd13-49cc-8079-01e77b6026a3%2F%2C%2Fpulp%2Fapi%2Fv3%2Fcontent%2Ffile%2Ffiles%2F119f76f2-e058-412e-b853-18d05d0b9097%2F HTTP/1.1" 400 163 "-" "OpenAPI-Generator/0.6.0/ruby" 

Actions #8

Updated by Ian Ballou about 3 years ago

The error seems to be caused by gunicorn instead of apache:

curl https://`hostname`/pulp/api/v3/status?foo=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 6000 | head -n 1)

causes

Request Line is too large (6037 &gt; 4094)

...

curl https://`hostname`/foo?foo=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 21000 | head -n 1)

causes

The requested URL's length exceeds the capacity
limit for this server.
Actions #10

Updated by Ian Ballou about 3 years ago

Note: The hrefs fed to `pulp2_id__in` are Pulp 3 hrefs. Is Pulp 3 content leaking into import_content_type? I think only pulp 2 IDs should go there.

When my migration is normally working, there are no Pulp 3 hrefs being fed into `pulp2_id__in`.

Edit: This whole error was almost definitely caused by Pulp 3 content being synced before switching back to Pulp 2. That is something no normal user should ever run into.

Actions

Also available in: Atom PDF