Project

General

Profile

Actions

Bug #18973

closed

Deleting a product results in "product not found" cp errors

Added by John Mitsch almost 7 years ago. Updated over 5 years ago.

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

Description

Product with ID '137654753594' could not be found.

to recreate: create a product, add a repo (not sure if this is necessary), delete the product

Actions::Candlepin::Product::ContentRemove
Input: {"owner"=>"TestOrg",
"product_id"=>"137654753594",
"content_id"=>"1490125253979",
"remote_user"=>"admin",
"remote_cp_user"=>"admin",
"locale"=>"en"}
Output: {}
Exception:
Katello::Errors::CandlepinError: Product with ID '137654753594' could not be found.
Backtrace:
/home/vagrant/katello/app/lib/actions/middleware/propagate_candlepin_errors.rb:21:in `rescue in propagate_candlepin_errors'
/home/vagrant/katello/app/lib/actions/middleware/propagate_candlepin_errors.rb:19:in `propagate_candlepin_errors'
/home/vagrant/katello/app/lib/actions/middleware/propagate_candlepin_errors.rb:9:in `run'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/middleware/stack.rb:22:in `call'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/middleware/stack.rb:26:in `pass'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/middleware.rb:17: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/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/middleware/stack.rb:22:in `call'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/middleware/stack.rb:26:in `pass'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/middleware.rb:17:in `pass'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/action/progress.rb:30:in `with_progress_calculation'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/action/progress.rb:16:in `run'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/middleware/stack.rb:22:in `call'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/middleware/stack.rb:26:in `pass'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/middleware.rb:17: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/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/middleware/stack.rb:22:in `call'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/middleware/stack.rb:26:in `pass'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/middleware.rb:17:in `pass'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/middleware.rb:30:in `run'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/middleware/stack.rb:22:in `call'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/middleware/world.rb:30:in `execute'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/action.rb:511:in `block (2 levels) in execute_run'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/action.rb:510:in `catch'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/action.rb:510:in `block in execute_run'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/action.rb:425:in `call'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/action.rb:425:in `block in with_error_handling'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/action.rb:425:in `catch'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/action.rb:425:in `with_error_handling'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/action.rb:505:in `execute_run'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/action.rb:266:in `execute'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:9:in `block (2 levels) in execute'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/execution_plan/steps/abstract.rb:155:in `call'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/execution_plan/steps/abstract.rb:155:in `with_meta_calculation'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:8:in `block in execute'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:22:in `open_action'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:7:in `execute'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/director.rb:42:in `execute'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/executors/parallel/worker.rb:11:in `on_message'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-edge-0.2.3/lib/concurrent/actor/context.rb:46:in `on_envelope'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-edge-0.2.3/lib/concurrent/actor/behaviour/executes_context.rb:7:in `on_envelope'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-edge-0.2.3/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.22/lib/dynflow/actor.rb:26:in `on_envelope'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-edge-0.2.3/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-edge-0.2.3/lib/concurrent/actor/behaviour/awaits.rb:15:in `on_envelope'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-edge-0.2.3/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-edge-0.2.3/lib/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-edge-0.2.3/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-edge-0.2.3/lib/concurrent/actor/behaviour/buffer.rb:38:in `process_envelope'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-edge-0.2.3/lib/concurrent/actor/behaviour/buffer.rb:31:in `process_envelopes?'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-edge-0.2.3/lib/concurrent/actor/behaviour/buffer.rb:20:in `on_envelope'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-edge-0.2.3/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-edge-0.2.3/lib/concurrent/actor/behaviour/termination.rb:55:in `on_envelope'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-edge-0.2.3/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-edge-0.2.3/lib/concurrent/actor/behaviour/removes_child.rb:10:in `on_envelope'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-edge-0.2.3/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-edge-0.2.3/lib/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-edge-0.2.3/lib/concurrent/actor/core.rb:161:in `process_envelope'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-edge-0.2.3/lib/concurrent/actor/core.rb:95:in `block in on_envelope'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-edge-0.2.3/lib/concurrent/actor/core.rb:118:in `block (2 levels) in schedule_execution'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-1.0.3/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `block in synchronize'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-1.0.3/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `synchronize'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-1.0.3/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `synchronize'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-edge-0.2.3/lib/concurrent/actor/core.rb:115:in `block in schedule_execution'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-1.0.3/lib/concurrent/executor/serialized_execution.rb:18:in `call'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-1.0.3/lib/concurrent/executor/serialized_execution.rb:18:in `call'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-1.0.3/lib/concurrent/executor/serialized_execution.rb:96:in `work'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-1.0.3/lib/concurrent/executor/serialized_execution.rb:77:in `block in call_job'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-1.0.3/lib/concurrent/executor/ruby_thread_pool_executor.rb:348:in `call'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-1.0.3/lib/concurrent/executor/ruby_thread_pool_executor.rb:348:in `run_task'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-1.0.3/lib/concurrent/executor/ruby_thread_pool_executor.rb:337:in `block (3 levels) in create_worker'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-1.0.3/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `loop'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-1.0.3/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `block (2 levels) in create_worker'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-1.0.3/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `catch'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/concurrent-ruby-1.0.3/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `block in create_worker'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/logging-2.2.0/lib/logging/diagnostic_context.rb:474:in `call'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/logging-2.2.0/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'

Actions #1

Updated by John Mitsch almost 7 years ago

found in latest dev env

Actions #2

Updated by John Mitsch almost 7 years ago

  • Category set to Repositories
  • Assignee set to John Mitsch
  • translation missing: en.field_release set to 114
Actions #3

Updated by John Mitsch almost 7 years ago

  • Target version set to 181
Actions #4

Updated by The Foreman Bot almost 7 years ago

  • Status changed from New to Ready For Testing
  • translation missing: en.field_release deleted (114)
  • Pull request https://github.com/Katello/katello/pull/6753 added
Actions #5

Updated by Justin Sherrill almost 7 years ago

  • translation missing: en.field_release set to 211
Actions #6

Updated by John Mitsch almost 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF