Instantly share code, notes, and snippets.

Embed
What would you like to do?
[root@foreman ~]# foreman-rake apipie:cache --trace
** Invoke apipie:cache (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute apipie:cache
2017-12-29 12:32:22 +0100 | Started
2017-12-29 12:32:24 +0100 | Documents loaded...
2017-12-29 12:32:24 +0100 | Processing docs for
rake aborted!
NoMethodError: undefined method `rebuild_methods' for #<Class:0x0000000906db60>
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/dynamic_matchers.rb:26:in `method_missing'
/usr/share/foreman/app/models/host/managed.rb:490:in `valid_rebuild_only_values'
/usr/share/foreman/config/initializers/apipie.rb:25:in `block (2 levels) in <top (required)>'
/usr/share/foreman/config/initializers/apipie.rb:33:in `call'
/usr/share/foreman/config/initializers/apipie.rb:33:in `block (3 levels) in <top (required)>'
/usr/share/foreman/config/initializers/apipie.rb:33:in `each'
/usr/share/foreman/config/initializers/apipie.rb:33:in `map'
/usr/share/foreman/config/initializers/apipie.rb:33:in `block (2 levels) in <top (required)>'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.4/lib/apipie/application.rb:365:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.4/lib/apipie/application.rb:365:in `translate'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.4/lib/apipie/method_description.rb:131:in `block in method_apis_to_json'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.4/lib/apipie/method_description.rb:127:in `each'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.4/lib/apipie/method_description.rb:127:in `each'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.4/lib/apipie/method_description.rb:127:in `collect'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.4/lib/apipie/method_description.rb:127:in `method_apis_to_json'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.4/lib/apipie/method_description.rb:149:in `to_json'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.4/lib/apipie/resource_description.rb:97:in `block in to_json'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.4/lib/apipie/resource_description.rb:97:in `each'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.4/lib/apipie/resource_description.rb:97:in `collect'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.4/lib/apipie/resource_description.rb:97:in `to_json'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.4/lib/apipie/application.rb:264:in `block in to_json'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.4/lib/apipie/application.rb:263:in `each'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.4/lib/apipie/application.rb:263:in `inject'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.4/lib/apipie/application.rb:263:in `to_json'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.4/lib/apipie/apipie_module.rb:13:in `to_json'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.4/lib/tasks/apipie.rake:77:in `block (4 levels) in <top (required)>'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.4/lib/tasks/apipie.rake:66:in `each'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.4/lib/tasks/apipie.rake:66:in `block (3 levels) in <top (required)>'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.4/lib/tasks/apipie.rake:192:in `with_loaded_documentation'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.4/lib/tasks/apipie.rake:64:in `block (2 levels) in <top (required)>'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/task.rb:240:in `call'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/task.rb:240:in `block in execute'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/task.rb:235:in `each'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/task.rb:235:in `execute'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/task.rb:179:in `block in invoke_with_call_chain'
/opt/rh/rh-ruby22/root/usr/share/ruby/monitor.rb:211:in `mon_synchronize'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/task.rb:165:in `invoke'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:150:in `invoke_task'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:106:in `each'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:106:in `block in top_level'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:115:in `run_with_threads'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:100:in `top_level'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:78:in `block in run'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:75:in `run'
/opt/rh/rh-ruby22/root/usr/bin/rake:33:in `<main>'
Tasks: TOP => apipie:cache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment