Project

General

Profile

Actions

Bug #17628

closed

incremental update fails with "NoMethodError: undefined method `each' for #<Katello::KTEnvironment:>"

Added by Justin Sherrill almost 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Content Views
Target version:
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

Description

Likely due to the multi-environment promote changes. traceback:

2016-12-11T11:15:46 9eedf268 [app] [E] NoMethodError: undefined method `each' for #<Katello::KTEnvironment:0x007fbd6d5de288>
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activemodel-4.2.7.1/lib/active_model/attribute_methods.rb:433:in `method_missing'
 | /home/vagrant/git/katello/app/lib/actions/katello/content_view/promote.rb:13:in `plan'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.17/lib/dynflow/action.rb:461:in `block (3 levels) in execute_plan'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.17/lib/dynflow/middleware/stack.rb:26:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.17/lib/dynflow/middleware/stack.rb:26:in `pass'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.17/lib/dynflow/middleware.rb:17:in `pass'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/foreman-tasks-0.8.5/app/lib/actions/middleware/keep_current_user.rb:25:in `block in plan'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/foreman-tasks-0.8.5/app/lib/actions/middleware/keep_current_user.rb:41:in `with_current_user'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/foreman-tasks-0.8.5/app/lib/actions/middleware/keep_current_user.rb:24:in `plan'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.17/lib/dynflow/middleware/stack.rb:22:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.17/lib/dynflow/middleware/stack.rb:26:in `pass'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.17/lib/dynflow/middleware.rb:17:in `pass'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.17/lib/dynflow/middleware.rb:34:in `plan'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.17/lib/dynflow/middleware/stack.rb:22:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.17/lib/dynflow/middleware/stack.rb:26:in `pass'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.17/lib/dynflow/middleware.rb:17:in `pass'
 | /home/vagrant/git/katello/app/lib/actions/middleware/keep_locale.rb:7:in `plan'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.17/lib/dynflow/middleware/stack.rb:22:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.17/lib/dynflow/middleware/stack.rb:26:in `pass'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.17/lib/dynflow/middleware.rb:17:in `pass'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.17/lib/dynflow/middleware.rb:34:in `plan'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.17/lib/dynflow/middleware/stack.rb:22:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.17/lib/dynflow/middleware/world.rb:30:in `execute'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.17/lib/dynflow/action.rb:460:in `block (2 levels) in execute_plan'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.17/lib/dynflow/execution_plan.rb:301:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.17/lib/dynflow/execution_plan.rb:301:in `switch_flow'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.17/lib/dynflow/action.rb:364:in `concurrence'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.17/lib/dynflow/action.rb:459:in `block in execute_plan'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.17/lib/dynflow/action.rb:419:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.17/lib/dynflow/action.rb:419:in `block in with_error_handling'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.17/lib/dynflow/action.rb:419:in `catch'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.17/lib/dynflow/action.rb:419:in `with_error_handling'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.17/lib/dynflow/action.rb:458:in `execute_plan'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.17/lib/dynflow/action.rb:260:in `execute'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.17/lib/dynflow/execution_plan/steps/plan_step.rb:54:in `block in execute'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.17/lib/dynflow/execution_plan/steps/abstract.rb:155:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.17/lib/dynflow/execution_plan/steps/abstract.rb:155:in `with_meta_calculation'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.17/lib/dynflow/execution_plan/steps/plan_step.rb:53:in `execute'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.17/lib/dynflow/action.rb:392:in `plan_action'
 | /home/vagrant/git/katello/app/lib/actions/katello/content_view_version/incremental_update.rb:202:in `block (2 levels) in promote'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activerecord-4.2.7.1/lib/active_record/relation/delegation.rb:46:in `each'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activerecord-4.2.7.1/lib/active_record/relation/delegation.rb:46:in `each'
 | /home/vagrant/git/katello/app/lib/actions/katello/content_view_version/incremental_update.rb:201:in `block in promote'
Actions #1

Updated by The Foreman Bot almost 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6491 added
Actions #2

Updated by Justin Sherrill almost 8 years ago

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

Updated by Brad Buckingham almost 8 years ago

  • Target version set to 147
Actions #4

Updated by Justin Sherrill almost 8 years ago

  • Translation missing: en.field_release set to 188
Actions

Also available in: Atom PDF