Project

General

Profile

Bug #17330 » seed-failure.log

Guido Günther, 11/14/2016 03:39 PM

 
Seeding /var/scratch/src/foreman/foreman/db/seeds.d/03-auth_sources.rb
Seeding /var/scratch/src/foreman/foreman/db/seeds.d/03-permissions.rb
Seeding /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb
2016-11-14T21:36:36 [app] [W] unknown class ExternalUsergroups, ignoring
| NameError: uninitialized constant ExternalUsergroups
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:261:in `const_get'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:261:in `block in constantize'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `each'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `inject'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `constantize'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/core_ext/string/inflections.rb:66:in `constantize'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:82:in `get_resource_class'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:106:in `resource_class'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:113:in `granular?'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:165:in `build_taxonomy_search'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:164:in `block in halting'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `block in call'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `each'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `call'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_validation_callbacks'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activemodel-4.2.7.1/lib/active_model/validations/callbacks.rb:113:in `run_validations!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activemodel-4.2.7.1/lib/active_model/validations.rb:338:in `valid?'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/validations.rb:58:in `valid?'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/validations.rb:83:in `perform_validations'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/validations.rb:43:in `save!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:291:in `block in save!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:220:in `transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:348:in `with_transaction_returning_status'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:291:in `save!'
| /var/scratch/src/foreman/foreman/db/seeds.rb:48:in `block in create_filters'
| /var/scratch/src/foreman/foreman/db/seeds.rb:39:in `each'
| /var/scratch/src/foreman/foreman/db/seeds.rb:39:in `create_filters'
| /var/scratch/src/foreman/foreman/db/seeds.rb:60:in `create_role'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:63:in `block (2 levels) in <top (required)>'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:62:in `each'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:62:in `block in <top (required)>'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/audited-4.2.2/lib/audited/auditor.rb:251:in `without_auditing'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:61:in `<top (required)>'
| /var/scratch/src/foreman/foreman/db/seeds.rb:81:in `block in <top (required)>'
| /var/scratch/src/foreman/foreman/db/seeds.rb:79:in `each'
| /var/scratch/src/foreman/foreman/db/seeds.rb:79:in `<top (required)>'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/railties-4.2.7.1/lib/rails/engine.rb:547:in `load_seed'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:251:in `load_seed'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:183:in `block (2 levels) in <top (required)>'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:240:in `block in execute'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:235:in `each'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:235:in `execute'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:179:in `block in invoke_with_call_chain'
| /usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:172:in `invoke_with_call_chain'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:165:in `invoke'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:150:in `invoke_task'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `block (2 levels) in top_level'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `each'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `block in top_level'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:115:in `run_with_threads'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:100:in `top_level'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:78:in `block in run'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:176:in `standard_exception_handling'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:75:in `run'
| /var/scratch/src/foreman/foreman/bin/rake:9:in `<top (required)>'
| /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
| /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
| -e:1:in `<main>'
2016-11-14T21:36:36 [app] [W] unknown class ExternalUsergroups, ignoring
| NameError: uninitialized constant ExternalUsergroups
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:261:in `const_get'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:261:in `block in constantize'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `each'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `inject'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `constantize'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/core_ext/string/inflections.rb:66:in `constantize'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:82:in `get_resource_class'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:106:in `resource_class'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:113:in `granular?'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:166:in `build_taxonomy_search'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:164:in `block in halting'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `block in call'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `each'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `call'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_validation_callbacks'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activemodel-4.2.7.1/lib/active_model/validations/callbacks.rb:113:in `run_validations!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activemodel-4.2.7.1/lib/active_model/validations.rb:338:in `valid?'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/validations.rb:58:in `valid?'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/validations.rb:83:in `perform_validations'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/validations.rb:43:in `save!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:291:in `block in save!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:220:in `transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:348:in `with_transaction_returning_status'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:291:in `save!'
| /var/scratch/src/foreman/foreman/db/seeds.rb:48:in `block in create_filters'
| /var/scratch/src/foreman/foreman/db/seeds.rb:39:in `each'
| /var/scratch/src/foreman/foreman/db/seeds.rb:39:in `create_filters'
| /var/scratch/src/foreman/foreman/db/seeds.rb:60:in `create_role'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:63:in `block (2 levels) in <top (required)>'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:62:in `each'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:62:in `block in <top (required)>'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/audited-4.2.2/lib/audited/auditor.rb:251:in `without_auditing'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:61:in `<top (required)>'
| /var/scratch/src/foreman/foreman/db/seeds.rb:81:in `block in <top (required)>'
| /var/scratch/src/foreman/foreman/db/seeds.rb:79:in `each'
| /var/scratch/src/foreman/foreman/db/seeds.rb:79:in `<top (required)>'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/railties-4.2.7.1/lib/rails/engine.rb:547:in `load_seed'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:251:in `load_seed'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:183:in `block (2 levels) in <top (required)>'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:240:in `block in execute'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:235:in `each'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:235:in `execute'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:179:in `block in invoke_with_call_chain'
| /usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:172:in `invoke_with_call_chain'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:165:in `invoke'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:150:in `invoke_task'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `block (2 levels) in top_level'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `each'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `block in top_level'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:115:in `run_with_threads'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:100:in `top_level'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:78:in `block in run'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:176:in `standard_exception_handling'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:75:in `run'
| /var/scratch/src/foreman/foreman/bin/rake:9:in `<top (required)>'
| /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
| /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
| -e:1:in `<main>'
2016-11-14T21:36:36 [app] [W] unknown class ExternalUsergroups, ignoring
| NameError: uninitialized constant ExternalUsergroups
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:261:in `const_get'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:261:in `block in constantize'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `each'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `inject'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `constantize'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/core_ext/string/inflections.rb:66:in `constantize'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:82:in `get_resource_class'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:106:in `resource_class'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:113:in `granular?'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:124:in `allows_organization_filtering?'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:120:in `allows_taxonomies_filtering?'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:216:in `enforce_override_flag'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:164:in `block in halting'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `block in call'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `each'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `call'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_validation_callbacks'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activemodel-4.2.7.1/lib/active_model/validations/callbacks.rb:113:in `run_validations!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activemodel-4.2.7.1/lib/active_model/validations.rb:338:in `valid?'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/validations.rb:58:in `valid?'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/validations.rb:83:in `perform_validations'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/validations.rb:43:in `save!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:291:in `block in save!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:220:in `transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:348:in `with_transaction_returning_status'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:291:in `save!'
| /var/scratch/src/foreman/foreman/db/seeds.rb:48:in `block in create_filters'
| /var/scratch/src/foreman/foreman/db/seeds.rb:39:in `each'
| /var/scratch/src/foreman/foreman/db/seeds.rb:39:in `create_filters'
| /var/scratch/src/foreman/foreman/db/seeds.rb:60:in `create_role'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:63:in `block (2 levels) in <top (required)>'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:62:in `each'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:62:in `block in <top (required)>'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/audited-4.2.2/lib/audited/auditor.rb:251:in `without_auditing'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:61:in `<top (required)>'
| /var/scratch/src/foreman/foreman/db/seeds.rb:81:in `block in <top (required)>'
| /var/scratch/src/foreman/foreman/db/seeds.rb:79:in `each'
| /var/scratch/src/foreman/foreman/db/seeds.rb:79:in `<top (required)>'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/railties-4.2.7.1/lib/rails/engine.rb:547:in `load_seed'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:251:in `load_seed'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:183:in `block (2 levels) in <top (required)>'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:240:in `block in execute'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:235:in `each'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:235:in `execute'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:179:in `block in invoke_with_call_chain'
| /usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:172:in `invoke_with_call_chain'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:165:in `invoke'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:150:in `invoke_task'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `block (2 levels) in top_level'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `each'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `block in top_level'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:115:in `run_with_threads'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:100:in `top_level'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:78:in `block in run'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:176:in `standard_exception_handling'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:75:in `run'
| /var/scratch/src/foreman/foreman/bin/rake:9:in `<top (required)>'
| /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
| /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
| -e:1:in `<main>'
2016-11-14T21:36:36 [app] [W] unknown class ExternalUsergroups, ignoring
| NameError: uninitialized constant ExternalUsergroups
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:261:in `const_get'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:261:in `block in constantize'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `each'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `inject'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `constantize'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/core_ext/string/inflections.rb:66:in `constantize'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:82:in `get_resource_class'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:106:in `resource_class'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:113:in `granular?'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:128:in `allows_location_filtering?'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:120:in `allows_taxonomies_filtering?'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:216:in `enforce_override_flag'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:164:in `block in halting'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `block in call'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `each'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `call'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_validation_callbacks'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activemodel-4.2.7.1/lib/active_model/validations/callbacks.rb:113:in `run_validations!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activemodel-4.2.7.1/lib/active_model/validations.rb:338:in `valid?'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/validations.rb:58:in `valid?'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/validations.rb:83:in `perform_validations'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/validations.rb:43:in `save!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:291:in `block in save!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:220:in `transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:348:in `with_transaction_returning_status'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:291:in `save!'
| /var/scratch/src/foreman/foreman/db/seeds.rb:48:in `block in create_filters'
| /var/scratch/src/foreman/foreman/db/seeds.rb:39:in `each'
| /var/scratch/src/foreman/foreman/db/seeds.rb:39:in `create_filters'
| /var/scratch/src/foreman/foreman/db/seeds.rb:60:in `create_role'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:63:in `block (2 levels) in <top (required)>'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:62:in `each'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:62:in `block in <top (required)>'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/audited-4.2.2/lib/audited/auditor.rb:251:in `without_auditing'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:61:in `<top (required)>'
| /var/scratch/src/foreman/foreman/db/seeds.rb:81:in `block in <top (required)>'
| /var/scratch/src/foreman/foreman/db/seeds.rb:79:in `each'
| /var/scratch/src/foreman/foreman/db/seeds.rb:79:in `<top (required)>'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/railties-4.2.7.1/lib/rails/engine.rb:547:in `load_seed'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:251:in `load_seed'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:183:in `block (2 levels) in <top (required)>'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:240:in `block in execute'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:235:in `each'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:235:in `execute'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:179:in `block in invoke_with_call_chain'
| /usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:172:in `invoke_with_call_chain'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:165:in `invoke'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:150:in `invoke_task'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `block (2 levels) in top_level'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `each'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `block in top_level'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:115:in `run_with_threads'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:100:in `top_level'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:78:in `block in run'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:176:in `standard_exception_handling'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:75:in `run'
| /var/scratch/src/foreman/foreman/bin/rake:9:in `<top (required)>'
| /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
| /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
| -e:1:in `<main>'
2016-11-14T21:36:36 [app] [W] unknown class ExternalUsergroups, ignoring
| NameError: uninitialized constant ExternalUsergroups
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:261:in `const_get'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:261:in `block in constantize'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `each'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `inject'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `constantize'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/core_ext/string/inflections.rb:66:in `constantize'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:82:in `get_resource_class'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:106:in `resource_class'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:31:in `skip_taxonomy_escalation_check?'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:27:in `ensure_taxonomies_not_escalated'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:182:in `block in conditional'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `block in call'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `each'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `call'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_validate_callbacks'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activemodel-4.2.7.1/lib/active_model/validations.rb:399:in `run_validations!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activemodel-4.2.7.1/lib/active_model/validations/callbacks.rb:113:in `block in run_validations!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:117:in `call'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_validation_callbacks'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activemodel-4.2.7.1/lib/active_model/validations/callbacks.rb:113:in `run_validations!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activemodel-4.2.7.1/lib/active_model/validations.rb:338:in `valid?'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/validations.rb:58:in `valid?'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/validations.rb:83:in `perform_validations'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/validations.rb:43:in `save!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:291:in `block in save!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:220:in `transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:348:in `with_transaction_returning_status'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:291:in `save!'
| /var/scratch/src/foreman/foreman/db/seeds.rb:48:in `block in create_filters'
| /var/scratch/src/foreman/foreman/db/seeds.rb:39:in `each'
| /var/scratch/src/foreman/foreman/db/seeds.rb:39:in `create_filters'
| /var/scratch/src/foreman/foreman/db/seeds.rb:60:in `create_role'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:63:in `block (2 levels) in <top (required)>'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:62:in `each'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:62:in `block in <top (required)>'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/audited-4.2.2/lib/audited/auditor.rb:251:in `without_auditing'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:61:in `<top (required)>'
| /var/scratch/src/foreman/foreman/db/seeds.rb:81:in `block in <top (required)>'
| /var/scratch/src/foreman/foreman/db/seeds.rb:79:in `each'
| /var/scratch/src/foreman/foreman/db/seeds.rb:79:in `<top (required)>'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/railties-4.2.7.1/lib/rails/engine.rb:547:in `load_seed'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:251:in `load_seed'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:183:in `block (2 levels) in <top (required)>'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:240:in `block in execute'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:235:in `each'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:235:in `execute'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:179:in `block in invoke_with_call_chain'
| /usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:172:in `invoke_with_call_chain'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:165:in `invoke'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:150:in `invoke_task'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `block (2 levels) in top_level'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `each'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `block in top_level'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:115:in `run_with_threads'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:100:in `top_level'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:78:in `block in run'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:176:in `standard_exception_handling'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:75:in `run'
| /var/scratch/src/foreman/foreman/bin/rake:9:in `<top (required)>'
| /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
| /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
| -e:1:in `<main>'
2016-11-14T21:36:36 [app] [W] unknown class ExternalUsergroups, ignoring
| NameError: uninitialized constant ExternalUsergroups
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:261:in `const_get'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:261:in `block in constantize'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `each'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `inject'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `constantize'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/core_ext/string/inflections.rb:66:in `constantize'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:82:in `get_resource_class'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:106:in `resource_class'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:10:in `validate'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:455:in `public_send'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:455:in `block in make_lambda'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:192:in `block in simple'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `block in call'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `each'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `call'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_validate_callbacks'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activemodel-4.2.7.1/lib/active_model/validations.rb:399:in `run_validations!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activemodel-4.2.7.1/lib/active_model/validations/callbacks.rb:113:in `block in run_validations!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:117:in `call'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_validation_callbacks'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activemodel-4.2.7.1/lib/active_model/validations/callbacks.rb:113:in `run_validations!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activemodel-4.2.7.1/lib/active_model/validations.rb:338:in `valid?'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/validations.rb:58:in `valid?'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/validations.rb:83:in `perform_validations'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/validations.rb:43:in `save!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:291:in `block in save!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:220:in `transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:348:in `with_transaction_returning_status'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:291:in `save!'
| /var/scratch/src/foreman/foreman/db/seeds.rb:48:in `block in create_filters'
| /var/scratch/src/foreman/foreman/db/seeds.rb:39:in `each'
| /var/scratch/src/foreman/foreman/db/seeds.rb:39:in `create_filters'
| /var/scratch/src/foreman/foreman/db/seeds.rb:60:in `create_role'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:63:in `block (2 levels) in <top (required)>'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:62:in `each'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:62:in `block in <top (required)>'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/audited-4.2.2/lib/audited/auditor.rb:251:in `without_auditing'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:61:in `<top (required)>'
| /var/scratch/src/foreman/foreman/db/seeds.rb:81:in `block in <top (required)>'
| /var/scratch/src/foreman/foreman/db/seeds.rb:79:in `each'
| /var/scratch/src/foreman/foreman/db/seeds.rb:79:in `<top (required)>'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/railties-4.2.7.1/lib/rails/engine.rb:547:in `load_seed'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:251:in `load_seed'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:183:in `block (2 levels) in <top (required)>'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:240:in `block in execute'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:235:in `each'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:235:in `execute'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:179:in `block in invoke_with_call_chain'
| /usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:172:in `invoke_with_call_chain'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:165:in `invoke'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:150:in `invoke_task'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `block (2 levels) in top_level'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `each'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `block in top_level'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:115:in `run_with_threads'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:100:in `top_level'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:78:in `block in run'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:176:in `standard_exception_handling'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:75:in `run'
| /var/scratch/src/foreman/foreman/bin/rake:9:in `<top (required)>'
| /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
| /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
| -e:1:in `<main>'
2016-11-14T21:36:36 [app] [W] unknown class ExternalUsergroups, ignoring
| NameError: uninitialized constant ExternalUsergroups
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:261:in `const_get'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:261:in `block in constantize'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `each'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `inject'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `constantize'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/core_ext/string/inflections.rb:66:in `constantize'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:82:in `get_resource_class'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:106:in `resource_class'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:113:in `granular?'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:124:in `allows_organization_filtering?'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:154:in `inherit_taxonomies!'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:150:in `enforce_inherited_taxonomies'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:164:in `block in halting'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `block in call'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `each'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `call'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_save_callbacks'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/callbacks.rb:302:in `create_or_update'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/persistence.rb:142:in `save!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/bullet-5.4.2/lib/bullet/active_record42.rb:50:in `save_with_bullet!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/validations.rb:43:in `save!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:291:in `block in save!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:220:in `transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:348:in `with_transaction_returning_status'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:291:in `save!'
| /var/scratch/src/foreman/foreman/db/seeds.rb:48:in `block in create_filters'
| /var/scratch/src/foreman/foreman/db/seeds.rb:39:in `each'
| /var/scratch/src/foreman/foreman/db/seeds.rb:39:in `create_filters'
| /var/scratch/src/foreman/foreman/db/seeds.rb:60:in `create_role'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:63:in `block (2 levels) in <top (required)>'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:62:in `each'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:62:in `block in <top (required)>'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/audited-4.2.2/lib/audited/auditor.rb:251:in `without_auditing'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:61:in `<top (required)>'
| /var/scratch/src/foreman/foreman/db/seeds.rb:81:in `block in <top (required)>'
| /var/scratch/src/foreman/foreman/db/seeds.rb:79:in `each'
| /var/scratch/src/foreman/foreman/db/seeds.rb:79:in `<top (required)>'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/railties-4.2.7.1/lib/rails/engine.rb:547:in `load_seed'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:251:in `load_seed'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:183:in `block (2 levels) in <top (required)>'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:240:in `block in execute'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:235:in `each'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:235:in `execute'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:179:in `block in invoke_with_call_chain'
| /usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:172:in `invoke_with_call_chain'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:165:in `invoke'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:150:in `invoke_task'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `block (2 levels) in top_level'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `each'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `block in top_level'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:115:in `run_with_threads'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:100:in `top_level'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:78:in `block in run'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:176:in `standard_exception_handling'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:75:in `run'
| /var/scratch/src/foreman/foreman/bin/rake:9:in `<top (required)>'
| /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
| /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
| -e:1:in `<main>'
2016-11-14T21:36:36 [app] [W] unknown class ExternalUsergroups, ignoring
| NameError: uninitialized constant ExternalUsergroups
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:261:in `const_get'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:261:in `block in constantize'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `each'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `inject'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `constantize'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/core_ext/string/inflections.rb:66:in `constantize'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:82:in `get_resource_class'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:106:in `resource_class'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:113:in `granular?'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:128:in `allows_location_filtering?'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:155:in `inherit_taxonomies!'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:150:in `enforce_inherited_taxonomies'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:164:in `block in halting'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `block in call'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `each'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `call'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_save_callbacks'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/callbacks.rb:302:in `create_or_update'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/persistence.rb:142:in `save!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/bullet-5.4.2/lib/bullet/active_record42.rb:50:in `save_with_bullet!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/validations.rb:43:in `save!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:291:in `block in save!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:220:in `transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:348:in `with_transaction_returning_status'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:291:in `save!'
| /var/scratch/src/foreman/foreman/db/seeds.rb:48:in `block in create_filters'
| /var/scratch/src/foreman/foreman/db/seeds.rb:39:in `each'
| /var/scratch/src/foreman/foreman/db/seeds.rb:39:in `create_filters'
| /var/scratch/src/foreman/foreman/db/seeds.rb:60:in `create_role'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:63:in `block (2 levels) in <top (required)>'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:62:in `each'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:62:in `block in <top (required)>'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/audited-4.2.2/lib/audited/auditor.rb:251:in `without_auditing'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:61:in `<top (required)>'
| /var/scratch/src/foreman/foreman/db/seeds.rb:81:in `block in <top (required)>'
| /var/scratch/src/foreman/foreman/db/seeds.rb:79:in `each'
| /var/scratch/src/foreman/foreman/db/seeds.rb:79:in `<top (required)>'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/railties-4.2.7.1/lib/rails/engine.rb:547:in `load_seed'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:251:in `load_seed'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:183:in `block (2 levels) in <top (required)>'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:240:in `block in execute'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:235:in `each'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:235:in `execute'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:179:in `block in invoke_with_call_chain'
| /usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:172:in `invoke_with_call_chain'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:165:in `invoke'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:150:in `invoke_task'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `block (2 levels) in top_level'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `each'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `block in top_level'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:115:in `run_with_threads'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:100:in `top_level'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:78:in `block in run'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:176:in `standard_exception_handling'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:75:in `run'
| /var/scratch/src/foreman/foreman/bin/rake:9:in `<top (required)>'
| /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
| /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
| -e:1:in `<main>'
2016-11-14T21:36:36 [app] [W] unknown class ExternalUsergroups, ignoring
| NameError: uninitialized constant ExternalUsergroups
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:261:in `const_get'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:261:in `block in constantize'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `each'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `inject'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `constantize'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/core_ext/string/inflections.rb:66:in `constantize'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:82:in `get_resource_class'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:106:in `resource_class'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:113:in `granular?'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:165:in `build_taxonomy_search'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:156:in `inherit_taxonomies!'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:150:in `enforce_inherited_taxonomies'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:164:in `block in halting'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `block in call'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `each'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `call'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_save_callbacks'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/callbacks.rb:302:in `create_or_update'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/persistence.rb:142:in `save!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/bullet-5.4.2/lib/bullet/active_record42.rb:50:in `save_with_bullet!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/validations.rb:43:in `save!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:291:in `block in save!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:220:in `transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:348:in `with_transaction_returning_status'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:291:in `save!'
| /var/scratch/src/foreman/foreman/db/seeds.rb:48:in `block in create_filters'
| /var/scratch/src/foreman/foreman/db/seeds.rb:39:in `each'
| /var/scratch/src/foreman/foreman/db/seeds.rb:39:in `create_filters'
| /var/scratch/src/foreman/foreman/db/seeds.rb:60:in `create_role'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:63:in `block (2 levels) in <top (required)>'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:62:in `each'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:62:in `block in <top (required)>'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/audited-4.2.2/lib/audited/auditor.rb:251:in `without_auditing'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:61:in `<top (required)>'
| /var/scratch/src/foreman/foreman/db/seeds.rb:81:in `block in <top (required)>'
| /var/scratch/src/foreman/foreman/db/seeds.rb:79:in `each'
| /var/scratch/src/foreman/foreman/db/seeds.rb:79:in `<top (required)>'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/railties-4.2.7.1/lib/rails/engine.rb:547:in `load_seed'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:251:in `load_seed'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:183:in `block (2 levels) in <top (required)>'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:240:in `block in execute'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:235:in `each'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:235:in `execute'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:179:in `block in invoke_with_call_chain'
| /usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:172:in `invoke_with_call_chain'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:165:in `invoke'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:150:in `invoke_task'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `block (2 levels) in top_level'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `each'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `block in top_level'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:115:in `run_with_threads'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:100:in `top_level'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:78:in `block in run'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:176:in `standard_exception_handling'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:75:in `run'
| /var/scratch/src/foreman/foreman/bin/rake:9:in `<top (required)>'
| /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
| /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
| -e:1:in `<main>'
2016-11-14T21:36:36 [app] [W] unknown class ExternalUsergroups, ignoring
| NameError: uninitialized constant ExternalUsergroups
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:261:in `const_get'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:261:in `block in constantize'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `each'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `inject'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `constantize'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/core_ext/string/inflections.rb:66:in `constantize'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:82:in `get_resource_class'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:106:in `resource_class'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:113:in `granular?'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:166:in `build_taxonomy_search'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:156:in `inherit_taxonomies!'
| /var/scratch/src/foreman/foreman/app/models/filter.rb:150:in `enforce_inherited_taxonomies'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:164:in `block in halting'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `block in call'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `each'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:504:in `call'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_save_callbacks'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/callbacks.rb:302:in `create_or_update'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/persistence.rb:142:in `save!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/bullet-5.4.2/lib/bullet/active_record42.rb:50:in `save_with_bullet!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/validations.rb:43:in `save!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:291:in `block in save!'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:220:in `transaction'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:348:in `with_transaction_returning_status'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:291:in `save!'
| /var/scratch/src/foreman/foreman/db/seeds.rb:48:in `block in create_filters'
| /var/scratch/src/foreman/foreman/db/seeds.rb:39:in `each'
| /var/scratch/src/foreman/foreman/db/seeds.rb:39:in `create_filters'
| /var/scratch/src/foreman/foreman/db/seeds.rb:60:in `create_role'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:63:in `block (2 levels) in <top (required)>'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:62:in `each'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:62:in `block in <top (required)>'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/audited-4.2.2/lib/audited/auditor.rb:251:in `without_auditing'
| /var/scratch/src/foreman/foreman/db/seeds.d/03-roles.rb:61:in `<top (required)>'
| /var/scratch/src/foreman/foreman/db/seeds.rb:81:in `block in <top (required)>'
| /var/scratch/src/foreman/foreman/db/seeds.rb:79:in `each'
| /var/scratch/src/foreman/foreman/db/seeds.rb:79:in `<top (required)>'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/railties-4.2.7.1/lib/rails/engine.rb:547:in `load_seed'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:251:in `load_seed'
| /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:183:in `block (2 levels) in <top (required)>'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:240:in `block in execute'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:235:in `each'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:235:in `execute'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:179:in `block in invoke_with_call_chain'
| /usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:172:in `invoke_with_call_chain'
| /usr/lib/ruby/vendor_ruby/rake/task.rb:165:in `invoke'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:150:in `invoke_task'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `block (2 levels) in top_level'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `each'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `block in top_level'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:115:in `run_with_threads'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:100:in `top_level'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:78:in `block in run'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:176:in `standard_exception_handling'
| /usr/lib/ruby/vendor_ruby/rake/application.rb:75:in `run'
| /var/scratch/src/foreman/foreman/bin/rake:9:in `<top (required)>'
| /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
| /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
| -e:1:in `<main>'
Seeding /var/scratch/src/foreman/foreman/db/seeds.d/04-admin.rb
2016-11-14T21:36:38 [app] [D] Setting current user thread-local variable to foreman_admin
2016-11-14T21:36:38 [app] [D] Setting current user thread-local variable to foreman_api_admin
2016-11-14T21:36:38 [app] [D] Setting current user thread-local variable to foreman_admin
2016-11-14T21:36:38 [app] [D] Setting current user thread-local variable to foreman_api_admin
Running via Spring preloader in process 28304
rake aborted!
TypeError: can't dup NilClass
/var/scratch/src/foreman/foreman/db/seeds.d/04-admin.rb:38:in `dup'
/var/scratch/src/foreman/foreman/db/seeds.d/04-admin.rb:38:in `block (2 levels) in <top (required)>'
/var/scratch/src/foreman/foreman/app/models/concerns/foreman/thread_session.rb:72:in `as'
/var/scratch/src/foreman/foreman/app/models/concerns/foreman/thread_session.rb:78:in `as_anonymous_admin'
/var/scratch/src/foreman/foreman/db/seeds.d/04-admin.rb:33:in `block in <top (required)>'
/var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/audited-4.2.2/lib/audited/auditor.rb:251:in `without_auditing'
/var/scratch/src/foreman/foreman/db/seeds.d/04-admin.rb:32:in `<top (required)>'
/var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:268:in `load'
/var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:268:in `block in load'
/var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in `load_dependency'
/var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:268:in `load'
/var/scratch/src/foreman/foreman/db/seeds.rb:81:in `block in <top (required)>'
/var/scratch/src/foreman/foreman/db/seeds.rb:79:in `each'
/var/scratch/src/foreman/foreman/db/seeds.rb:79:in `<top (required)>'
/var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:268:in `load'
/var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:268:in `block in load'
/var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in `load_dependency'
/var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:268:in `load'
/var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/railties-4.2.7.1/lib/rails/engine.rb:547:in `load_seed'
/var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:251:in `load_seed'
/var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:183:in `block (2 levels) in <top (required)>'
/var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:268:in `load'
/var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:268:in `block in load'
/var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in `load_dependency'
/var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:268:in `load'
-e:1:in `<main>'
Tasks: TOP => db:seed
(See full trace by running task with --trace)
    (1-1/1)