Project

General

Profile

Actions

Bug #35590

closed

Pulpcore 3.21 - Upload rpm fails

Added by Samir Jha about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Uploading RPMS is failing on 3.21 with :

21:12:26 rails.1   | 2022-10-03T21:12:26 [I|app|7cb36935] Started POST "/katello/api/v2/repositories/1/upload_content" for 192.168.122.1 at 2022-10-03 21:12:26 +0000
21:12:26 rails.1   | 2022-10-03T21:12:26 [I|app|7cb36935] Processing by Katello::Api::V2::RepositoriesController#upload_content as HTML
21:12:26 rails.1   | 2022-10-03T21:12:26 [I|app|7cb36935]   Parameters: {"content"=>[#<ActionDispatch::Http::UploadedFile:0x0000562fcfea1820 @tempfile=#<Tempfile:/tmp/RackMultipart20221003-108772-15mgh2l.rpm>, @original_filename="redhat-internal-cert-install-0.1-25.el7.noarch.rpm", @content_type="application/x-rpm", @headers="Content-Disposition: form-data; name=\"content[]\"; filename=\"redhat-internal-cert-install-0.1-25.el7.noarch.rpm\"\r\nContent-Type: application/x-rpm\r\n">], "authenticity_token"=>"MzjZrDAv8O6Xin+Lost5d8YJRY65bdVlNMvHP5cEnJCFROkwAUqIqLLDTHRTUo1DI5R5R22/HnMV1RQOs/nFpg==", "api_version"=>"v2", "id"=>"1"}
21:12:26 rails.1   | 2022-10-03T21:12:26 [I|bac|7cb36935] Task {label: , execution_plan_id: dac5fcd6-1274-4bce-befa-10fe323a3905} state changed: pending 
21:12:26 rails.1   | 2022-10-03T21:12:26 [I|bac|7cb36935] Task {label: Actions::Katello::Repository::UploadFiles, id: be886651-f354-4516-8514-5fc37e2d000a, execution_plan_id: dac5fcd6-1274-4bce-befa-10fe323a3905} state changed: planning 
21:12:26 rails.1   | WARNING: `Faraday::Connection#basic_auth` is deprecated; it will be removed in version 2.0.
21:12:26 rails.1   | While initializing your connection, use `#request(:basic_auth, ...)` instead.
21:12:26 rails.1   | See https://lostisland.github.io/faraday/middleware/authentication for more usage info.
21:12:26 rails.1   | WARNING: `Faraday::Connection#basic_auth` is deprecated; it will be removed in version 2.0.
21:12:26 rails.1   | While initializing your connection, use `#request(:basic_auth, ...)` instead.
21:12:26 rails.1   | See https://lostisland.github.io/faraday/middleware/authentication for more usage info.
21:12:26 rails.1   | 2022-10-03T21:12:26 [I|bac|7cb36935] Task {label: Actions::Katello::Repository::UploadFiles, id: be886651-f354-4516-8514-5fc37e2d000a, execution_plan_id: dac5fcd6-1274-4bce-befa-10fe323a3905} state changed: planned 
21:12:26 rails.1   | 2022-10-03T21:12:26 [W|bac|173265bf] Changing request id 173265bf-07b4-400c-b636-eccff43c167c to saved id 7cb36935-6a59-4bbb-8722-34486a1bbd39
21:12:26 rails.1   | 2022-10-03T21:12:26 [W|bac|173265bf] Changing request id 173265bf-07b4-400c-b636-eccff43c167c to saved id 7cb36935-6a59-4bbb-8722-34486a1bbd39
21:12:26 rails.1   | 2022-10-03T21:12:26 [W|bac|173265bf] Changing request id 173265bf-07b4-400c-b636-eccff43c167c to saved id 7cb36935-6a59-4bbb-8722-34486a1bbd39
21:12:26 rails.1   | 2022-10-03T21:12:26 [W|bac|173265bf] Changing request id 173265bf-07b4-400c-b636-eccff43c167c to saved id 7cb36935-6a59-4bbb-8722-34486a1bbd39
21:12:26 rails.1   | 2022-10-03T21:12:26 [W|bac|173265bf] Changing request id 173265bf-07b4-400c-b636-eccff43c167c to saved id 7cb36935-6a59-4bbb-8722-34486a1bbd39
21:12:26 rails.1   | 2022-10-03T21:12:26 [W|bac|173265bf] Changing request id 173265bf-07b4-400c-b636-eccff43c167c to saved id 7cb36935-6a59-4bbb-8722-34486a1bbd39
21:12:26 rails.1   | 2022-10-03T21:12:26 [W|bac|173265bf] Changing request id 173265bf-07b4-400c-b636-eccff43c167c to saved id 7cb36935-6a59-4bbb-8722-34486a1bbd39
21:12:26 rails.1   | 2022-10-03T21:12:26 [W|bac|173265bf] Changing request id 173265bf-07b4-400c-b636-eccff43c167c to saved id 7cb36935-6a59-4bbb-8722-34486a1bbd39
21:12:26 rails.1   | 2022-10-03T21:12:26 [W|bac|173265bf] Changing request id 173265bf-07b4-400c-b636-eccff43c167c to saved id 7cb36935-6a59-4bbb-8722-34486a1bbd39
21:12:26 rails.1   | 2022-10-03T21:12:26 [W|bac|173265bf] Changing request id 173265bf-07b4-400c-b636-eccff43c167c to saved id 7cb36935-6a59-4bbb-8722-34486a1bbd39
21:12:26 rails.1   | 2022-10-03T21:12:26 [W|bac|173265bf] Changing request id 173265bf-07b4-400c-b636-eccff43c167c to saved id 7cb36935-6a59-4bbb-8722-34486a1bbd39
21:12:26 rails.1   | 2022-10-03T21:12:26 [W|bac|173265bf] Changing request id 173265bf-07b4-400c-b636-eccff43c167c to saved id 7cb36935-6a59-4bbb-8722-34486a1bbd39
21:12:26 rails.1   | 2022-10-03T21:12:26 [W|bac|173265bf] Changing request id 173265bf-07b4-400c-b636-eccff43c167c to saved id 7cb36935-6a59-4bbb-8722-34486a1bbd39
21:12:26 rails.1   | 2022-10-03T21:12:26 [W|bac|173265bf] Changing request id 173265bf-07b4-400c-b636-eccff43c167c to saved id 7cb36935-6a59-4bbb-8722-34486a1bbd39
21:12:26 rails.1   | 2022-10-03T21:12:26 [W|bac|173265bf] Changing request id 173265bf-07b4-400c-b636-eccff43c167c to saved id 7cb36935-6a59-4bbb-8722-34486a1bbd39
21:12:26 rails.1   | 2022-10-03T21:12:26 [I|bac|7cb36935] Task {label: Actions::Katello::Repository::UploadFiles, id: be886651-f354-4516-8514-5fc37e2d000a, execution_plan_id: dac5fcd6-1274-4bce-befa-10fe323a3905} state changed: running 
21:12:26 rails.1   | 2022-10-03T21:12:26 [W|bac|173265bf] Changing request id 173265bf-07b4-400c-b636-eccff43c167c to saved id 7cb36935-6a59-4bbb-8722-34486a1bbd39
21:12:26 rails.1   | WARNING: `Faraday::Connection#basic_auth` is deprecated; it will be removed in version 2.0.
21:12:26 rails.1   | While initializing your connection, use `#request(:basic_auth, ...)` instead.
21:12:26 rails.1   | See https://lostisland.github.io/faraday/middleware/authentication for more usage info.
21:12:27 rails.1   | WARNING: `Faraday::Connection#basic_auth` is deprecated; it will be removed in version 2.0.
21:12:27 rails.1   | While initializing your connection, use `#request(:basic_auth, ...)` instead.
21:12:27 rails.1   | See https://lostisland.github.io/faraday/middleware/authentication for more usage info.
21:12:27 rails.1   | WARNING: `Faraday::Connection#basic_auth` is deprecated; it will be removed in version 2.0.
21:12:27 rails.1   | While initializing your connection, use `#request(:basic_auth, ...)` instead.
21:12:27 rails.1   | See https://lostisland.github.io/faraday/middleware/authentication for more usage info.
21:12:27 rails.1   | WARNING: `Faraday::Connection#basic_auth` is deprecated; it will be removed in version 2.0.
21:12:27 rails.1   | While initializing your connection, use `#request(:basic_auth, ...)` instead.
21:12:27 rails.1   | See https://lostisland.github.io/faraday/middleware/authentication for more usage info.
21:12:27 rails.1   | WARNING: `Faraday::Connection#basic_auth` is deprecated; it will be removed in version 2.0.
21:12:27 rails.1   | While initializing your connection, use `#request(:basic_auth, ...)` instead.
21:12:27 rails.1   | See https://lostisland.github.io/faraday/middleware/authentication for more usage info.
21:12:27 rails.1   | WARNING: `Faraday::Connection#basic_auth` is deprecated; it will be removed in version 2.0.
21:12:27 rails.1   | While initializing your connection, use `#request(:basic_auth, ...)` instead.
21:12:27 rails.1   | See https://lostisland.github.io/faraday/middleware/authentication for more usage info.
21:12:27 rails.1   | WARNING: `Faraday::Connection#basic_auth` is deprecated; it will be removed in version 2.0.
21:12:27 rails.1   | While initializing your connection, use `#request(:basic_auth, ...)` instead.
21:12:27 rails.1   | See https://lostisland.github.io/faraday/middleware/authentication for more usage info.
21:12:27 rails.1   | WARNING: `Faraday::Connection#basic_auth` is deprecated; it will be removed in version 2.0.
21:12:27 rails.1   | While initializing your connection, use `#request(:basic_auth, ...)` instead.
21:12:27 rails.1   | See https://lostisland.github.io/faraday/middleware/authentication for more usage info.
21:12:27 rails.1   | 2022-10-03T21:12:27 [E|bac|7cb36935] wrong number of arguments (given 2, expected 0..1) (ArgumentError)
21:12:27 rails.1   |  7cb36935 | /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/pulp_rpm_client-3.18.5/lib/pulp_rpm_client/api/content_packages_api.rb:31:in `create'
21:12:27 rails.1   |  7cb36935 | /home/vagrant/katello/app/services/katello/pulp3/pulp_content_unit.rb:21:in `content_api_create'
21:12:27 rails.1   |  7cb36935 | /home/vagrant/katello/app/lib/actions/pulp3/repository/save_artifact.rb:29:in `invoke_external_task'
21:12:27 rails.1   |  7cb36935 | /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/dynflow-1.6.7/lib/dynflow/action/polling.rb:84:in `initiate_external_action'
21:12:27 rails.1   |  7cb36935 | /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/dynflow-1.6.7/lib/dynflow/action/polling.rb:19:in `run'
21:12:27 rails.1   |  7cb36935 | /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/dynflow-1.6.7/lib/dynflow/action/cancellable.rb:14:in `run'
21:12:27 rails.1   |  7cb36935 | /home/vagrant/katello/app/lib/actions/pulp3/abstract_async_task.rb:10:in `run'
21:12:27 rails.1   |  7cb36935 | /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/dynflow-1.6.7/lib/dynflow/action.rb:582:in `block (3 levels) in execute_run'
21:12:27 rails.1   |  7cb36935 | /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/dynflow-1.6.7/lib/dynflow/middleware/stack.rb:27:in `pass'
21:12:27 rails.1   |  7cb36935 | /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/dynflow-1.6.7/lib/dynflow/middleware.rb:19:in `pass'
21:12:27 rails.1   |  7cb36935 | /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/dynflow-1.6.7/lib/dynflow/middleware.rb:32:in `run'
21:12:27 rails.1   |  7cb36935 | /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/dynflow-1.6.7/lib/dynflow/middleware/stack.rb:23:in `call'
21:12:27 rails.1   |  7cb36935 | /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/dynflow-1.6.7/lib/dynflow/middleware/stack.rb:27:in `pass'
21:12:27 rails.1   |  7cb36935 | /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/dynflow-1.6.7/lib/dynflow/middleware.rb:19:in `pass'
21:12:27 rails.1   |  7cb36935 | /home/vagrant/katello/app/lib/actions/middleware/remote_action.rb:16:in `block in run'
21:12:27 rails.1   |  7cb36935 | /home/vagrant/katello/app/lib/actions/middleware/remote_action.rb:40:in `block in as_remote_user'
21:12:27 rails.1   |  7cb36935 | /home/vagrant/katello/app/models/katello/concerns/user_extensions.rb:21:in `cp_config'
21:12:27 rails.1   |  7cb36935 | /home/vagrant/katello/app/lib/actions/middleware/remote_action.rb:27:in `as_cp_user'
21:12:27 rails.1   |  7cb36935 | /home/vagrant/katello/app/lib/actions/middleware/remote_action.rb:39:in `as_remote_user'
21:12:27 rails.1   |  7cb36935 | /home/vagrant/katello/app/lib/actions/middleware/remote_action.rb:16:in `run'

Actions

Also available in: Atom PDF