|
# foreman-rake --trace db:migrate
|
|
** Invoke db:migrate (first_time)
|
|
** Invoke environment (first_time)
|
|
** Execute environment
|
|
API controllers newer than Apipie cache! Run apipie:cache rake task to regenerate cache.
|
|
rake aborted!
|
|
ArgumentError: wrong number of arguments (1 for 0)
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/foreman_ansible-1.0/lib/foreman_ansible/engine.rb:37:in `rescue in block in <class:Engine>'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/foreman_ansible-1.0/lib/foreman_ansible/engine.rb:28:in `block in <class:Engine>'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:446:in `instance_exec'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:446:in `block in make_lambda'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:192:in `call'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:192:in `block in simple'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `call'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `block in call'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `each'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `call'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_prepare_callbacks'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/reloader.rb:83:in `prepare!'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/reloader.rb:55:in `prepare!'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/application/finisher.rb:50:in `block in <module:Finisher>'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/initializable.rb:30:in `instance_exec'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/initializable.rb:30:in `run'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/initializable.rb:55:in `block in run_initializers'
|
|
/usr/lib/ruby/2.1.0/tsort.rb:226:in `block in tsort_each'
|
|
/usr/lib/ruby/2.1.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
|
|
/usr/lib/ruby/2.1.0/tsort.rb:427:in `each_strongly_connected_component_from'
|
|
/usr/lib/ruby/2.1.0/tsort.rb:347:in `block in each_strongly_connected_component'
|
|
/usr/lib/ruby/2.1.0/tsort.rb:345:in `each'
|
|
/usr/lib/ruby/2.1.0/tsort.rb:345:in `call'
|
|
/usr/lib/ruby/2.1.0/tsort.rb:345:in `each_strongly_connected_component'
|
|
/usr/lib/ruby/2.1.0/tsort.rb:224:in `tsort_each'
|
|
/usr/lib/ruby/2.1.0/tsort.rb:205:in `tsort_each'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/initializable.rb:54:in `run_initializers'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/application.rb:352:in `initialize!'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/railtie.rb:194:in `public_send'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/railtie.rb:194:in `method_missing'
|
|
/usr/share/foreman/config/environment.rb:5:in `<top (required)>'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `block in require'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in `load_dependency'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `require'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/application.rb:328:in `require_environment!'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/application.rb:457:in `block in run_tasks_blocks'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:250:in `call'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:250:in `block in execute'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:250:in `each'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:250:in `execute'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:194:in `block in invoke_with_call_chain'
|
|
/usr/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:187:in `invoke_with_call_chain'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:216:in `block in invoke_prerequisites'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:214:in `each'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:214:in `invoke_prerequisites'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:193:in `block in invoke_with_call_chain'
|
|
/usr/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:187:in `invoke_with_call_chain'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:180:in `invoke'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:152:in `invoke_task'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:108:in `block (2 levels) in top_level'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:108:in `each'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:108:in `block in top_level'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:117:in `run_with_threads'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:102:in `top_level'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:80:in `block in run'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:178:in `standard_exception_handling'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:77:in `run'
|
|
/usr/bin/rake:27:in `<main>'
|
|
Host::Managed is using attr_accessible so must either be converted to strong parameters, or add the protected_attributes gem
|
|
/usr/share/foreman/config/initializers/active_record_extensions.rb:21:in `attr_accessible'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/foreman_ansible-1.0/app/models/concerns/foreman_ansible/host_managed_extensions.rb:11:in `block in <module:HostManagedExtensions>'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/concern.rb:120:in `class_eval'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/concern.rb:120:in `append_features'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/foreman_ansible-1.0/lib/foreman_ansible/engine.rb:32:in `include'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/foreman_ansible-1.0/lib/foreman_ansible/engine.rb:32:in `block in <class:Engine>'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:446:in `instance_exec'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:446:in `block in make_lambda'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:192:in `call'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:192:in `block in simple'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `call'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `block in call'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `each'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `call'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_prepare_callbacks'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/reloader.rb:83:in `prepare!'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/reloader.rb:55:in `prepare!'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/application/finisher.rb:50:in `block in <module:Finisher>'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/initializable.rb:30:in `instance_exec'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/initializable.rb:30:in `run'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/initializable.rb:55:in `block in run_initializers'
|
|
/usr/lib/ruby/2.1.0/tsort.rb:226:in `block in tsort_each'
|
|
/usr/lib/ruby/2.1.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
|
|
/usr/lib/ruby/2.1.0/tsort.rb:427:in `each_strongly_connected_component_from'
|
|
/usr/lib/ruby/2.1.0/tsort.rb:347:in `block in each_strongly_connected_component'
|
|
/usr/lib/ruby/2.1.0/tsort.rb:345:in `each'
|
|
/usr/lib/ruby/2.1.0/tsort.rb:345:in `call'
|
|
/usr/lib/ruby/2.1.0/tsort.rb:345:in `each_strongly_connected_component'
|
|
/usr/lib/ruby/2.1.0/tsort.rb:224:in `tsort_each'
|
|
/usr/lib/ruby/2.1.0/tsort.rb:205:in `tsort_each'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/initializable.rb:54:in `run_initializers'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/application.rb:352:in `initialize!'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/railtie.rb:194:in `public_send'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/railtie.rb:194:in `method_missing'
|
|
/usr/share/foreman/config/environment.rb:5:in `<top (required)>'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `block in require'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in `load_dependency'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `require'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/application.rb:328:in `require_environment!'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/application.rb:457:in `block in run_tasks_blocks'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:250:in `call'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:250:in `block in execute'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:250:in `each'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:250:in `execute'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:194:in `block in invoke_with_call_chain'
|
|
/usr/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:187:in `invoke_with_call_chain'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:216:in `block in invoke_prerequisites'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:214:in `each'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:214:in `invoke_prerequisites'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:193:in `block in invoke_with_call_chain'
|
|
/usr/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:187:in `invoke_with_call_chain'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:180:in `invoke'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:152:in `invoke_task'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:108:in `block (2 levels) in top_level'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:108:in `each'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:108:in `block in top_level'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:117:in `run_with_threads'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:102:in `top_level'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:80:in `block in run'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:178:in `standard_exception_handling'
|
|
/usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:77:in `run'
|
|
/usr/bin/rake:27:in `<main>'
|
|
Tasks: TOP => db:migrate => environment
|