Project

General

Profile

Actions

Bug #11325

closed

Pulp errors on content view published with including package or package group filters

Added by John Mitsch over 9 years ago. Updated over 6 years ago.

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

Description

Pulp will sometimes throw errors while publishing a Content View with an include package group or package filter.

Steps to reproduce

1) Create a Product and add this repository http://download.devel.redhat.com/cds/prod/content/dist/rhel/server/6/6.7/x86_64/kickstart/

2) Add the repository to a Content View and add an including package group filter with package groups in it.

3) Publish Content View

In my experience, content view will either pause and error or will publish successfully and the traceback will be in the server. If it does pause and error, it can be resumed and will publish successfully

Error:
2015-08-11T09:47:13 [foreman-tasks/action] [W] PLP0000: database error: Can't canonicalize query: BadValue $in needs an array (Katello::Errors::PulpError)
Traceback

|
2015-08-11T09:47:13 [foreman-tasks/action] [W] Polling failed, attempt no. 1, retrying in 0.5
2015-08-11T09:47:13 [foreman-tasks/action] [W] PLP0000: database error: Can't canonicalize query: BadValue $in needs an array (Katello::Errors::PulpError) | /home/vagrant/katello/app/lib/actions/pulp/abstract_async_task.rb:107:in `block in external_task=' | /home/vagrant/katello/app/lib/actions/pulp/abstract_async_task.rb:105:in `each' | /home/vagrant/katello/app/lib/actions/pulp/abstract_async_task.rb:105:in `external_task=' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/action/polling.rb:98:in `poll_external_task_with_rescue' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/action/polling.rb:21:in `run' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/action/cancellable.rb:9:in `run' | /home/vagrant/katello/app/lib/actions/pulp/abstract_async_task.rb:45:in `run' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/action.rb:502:in `block (3 levels) in execute_run' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/middleware/stack.rb:26:in `call' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/middleware/stack.rb:26:in `pass' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/middleware.rb:16:in `pass' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/middleware.rb:29:in `run' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/middleware/stack.rb:22:in `call' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/middleware/stack.rb:26:in `pass' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/middleware.rb:16: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:46:in `block (2 levels) in as_remote_user' | /home/vagrant/katello/app/lib/katello/util/thread_session.rb:72:in `pulp_config' | /home/vagrant/katello/app/lib/actions/middleware/remote_action.rb:32:in `as_pulp_user' | /home/vagrant/katello/app/lib/actions/middleware/remote_action.rb:45:in `block in as_remote_user' | /home/vagrant/katello/app/lib/katello/util/thread_session.rb:79: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:44:in `as_remote_user' | /home/vagrant/katello/app/lib/actions/middleware/remote_action.rb:16:in `run' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/middleware/stack.rb:22:in `call' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/middleware/stack.rb:26:in `pass' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/middleware.rb:16:in `pass' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/action/progress.rb:30:in `with_progress_calculation' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/action/progress.rb:16:in `run' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/middleware/stack.rb:22:in `call' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/middleware/stack.rb:26:in `pass' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/middleware.rb:16: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-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/middleware/stack.rb:22:in `call' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/middleware/world.rb:30:in `execute' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/action.rb:501:in `block (2 levels) in execute_run' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/action.rb:500:in `catch' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/action.rb:500:in `block in execute_run' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/action.rb:417:in `call' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/action.rb:417:in `block in with_error_handling' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/action.rb:417:in `catch' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/action.rb:417:in `with_error_handling' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/action.rb:495:in `execute_run' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/action.rb:262:in `execute' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:9:in `block (2 levels) in execute' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/execution_plan/steps/abstract.rb:155:in `call' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/execution_plan/steps/abstract.rb:155:in `with_meta_calculation' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:8:in `block in execute' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:22:in `open_action' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:7:in `execute' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/executors/parallel/worker.rb:15:in `block in on_message' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:74:in `block in assigns' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:73:in `tap' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:73:in `assigns' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/algebrick-0.7.3/lib/algebrick/matching.rb:56:in `match_value' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/algebrick-0.7.3/lib/algebrick/matching.rb:36:in `block in match?' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/algebrick-0.7.3/lib/algebrick/matching.rb:35:in `each' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/algebrick-0.7.3/lib/algebrick/matching.rb:35:in `match?' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/algebrick-0.7.3/lib/algebrick/matching.rb:23:in `match' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/executors/parallel/worker.rb:12:in `on_message' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/concurrent-ruby-edge-0.1.1/lib/concurrent/actor/context.rb:47:in `on_envelope' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/concurrent-ruby-edge-0.1.1/lib/concurrent/actor/behaviour/executes_context.rb:7:in `on_envelope' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/concurrent-ruby-edge-0.1.1/lib/concurrent/actor/behaviour/abstract.rb:26:in `pass' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.8.2/lib/dynflow/actor.rb:26:in `on_envelope' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/concurrent-ruby-edge-0.1.1/lib/concurrent/actor/behaviour/abstract.rb:26:in `pass' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/concurrent-ruby-edge-0.1.1/lib/concurrent/actor/behaviour/awaits.rb:15:in `on_envelope' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/concurrent-ruby-edge-0.1.1/lib/concurrent/actor/behaviour/abstract.rb:26:in `pass' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/concurrent-ruby-edge-0.1.1/lib/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/concurrent-ruby-edge-0.1.1/lib/concurrent/actor/behaviour/abstract.rb:26:in `pass' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/concurrent-ruby-edge-0.1.1/lib/concurrent/actor/behaviour/buffer.rb:38:in `process_envelope' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/concurrent-ruby-edge-0.1.1/lib/concurrent/actor/behaviour/buffer.rb:31:in `process_envelopes?' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/concurrent-ruby-edge-0.1.1/lib/concurrent/actor/behaviour/buffer.rb:20:in `on_envelope' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/concurrent-ruby-edge-0.1.1/lib/concurrent/actor/behaviour/abstract.rb:26:in `pass' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/concurrent-ruby-edge-0.1.1/lib/concurrent/actor/behaviour/termination.rb:55:in `on_envelope' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/concurrent-ruby-edge-0.1.1/lib/concurrent/actor/behaviour/abstract.rb:26:in `pass' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/concurrent-ruby-edge-0.1.1/lib/concurrent/actor/behaviour/removes_child.rb:10:in `on_envelope' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/concurrent-ruby-edge-0.1.1/lib/concurrent/actor/behaviour/abstract.rb:26:in `pass' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/concurrent-ruby-edge-0.1.1/lib/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/concurrent-ruby-edge-0.1.1/lib/concurrent/actor/core.rb:161:in `process_envelope' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/concurrent-ruby-edge-0.1.1/lib/concurrent/actor/core.rb:95:in `block in on_envelope' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/concurrent-ruby-edge-0.1.1/lib/concurrent/actor/core.rb:118:in `block (2 levels) in schedule_execution' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/concurrent-ruby-0.9.1/lib/concurrent/synchronization/monitor_object.rb:18:in `block in synchronize' | /home/vagrant/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/concurrent-ruby-0.9.1/lib/concurrent/synchronization/monitor_object.rb:18:in `synchronize' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/concurrent-ruby-edge-0.1.1/lib/concurrent/actor/core.rb:115:in `block in schedule_execution' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/concurrent-ruby-0.9.1/lib/concurrent/executor/serialized_execution.rb:19:in `call' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/concurrent-ruby-0.9.1/lib/concurrent/executor/serialized_execution.rb:19:in `call' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/concurrent-ruby-0.9.1/lib/concurrent/executor/serialized_execution.rb:97:in `work' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/concurrent-ruby-0.9.1/lib/concurrent/executor/serialized_execution.rb:78:in `block in call_job' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/concurrent-ruby-0.9.1/lib/concurrent/executor/ruby_thread_pool_executor.rb:331:in `call' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/concurrent-ruby-0.9.1/lib/concurrent/executor/ruby_thread_pool_executor.rb:331:in `run_task' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/concurrent-ruby-0.9.1/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `block (3 levels) in create_worker' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/concurrent-ruby-0.9.1/lib/concurrent/executor/ruby_thread_pool_executor.rb:303:in `loop' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/concurrent-ruby-0.9.1/lib/concurrent/executor/ruby_thread_pool_executor.rb:303:in `block (2 levels) in create_worker' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/concurrent-ruby-0.9.1/lib/concurrent/executor/ruby_thread_pool_executor.rb:302:in `catch' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/concurrent-ruby-0.9.1/lib/concurrent/executor/ruby_thread_pool_executor.rb:302:in `block in create_worker' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/logging-2.0.0/lib/logging/diagnostic_context.rb:448:in `call' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/logging-2.0.0/lib/logging/diagnostic_context.rb:448:in `block in create_with_logging_context'
Actions

Also available in: Atom PDF