-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
rake aborted!
ActiveRecord::RecordInvalid: Validation failed: Remote execution features is invalid
/usr/share/gems/gems/activerecord-6.1.6/lib/active_record/validations.rb:80:in `raise_validation_error'
/usr/share/gems/gems/activerecord-6.1.6/lib/active_record/validations.rb:53:in `save!'
/usr/share/gems/gems/activerecord-6.1.6/lib/active_record/transactions.rb:302:in `block in save!'
/usr/share/gems/gems/activerecord-6.1.6/lib/active_record/transactions.rb:354:in `block in with_transaction_returning_status'
/usr/share/gems/gems/activerecord-6.1.6/lib/active_record/connection_adapters/abstract/database_statements.rb:318:in `transaction'
/usr/share/gems/gems/activerecord-6.1.6/lib/active_record/transactions.rb:350:in `with_transaction_returning_status'
/usr/share/gems/gems/activerecord-6.1.6/lib/active_record/transactions.rb:302:in `save!'
/usr/share/gems/gems/activerecord-6.1.6/lib/active_record/suppressor.rb:48:in `save!'
/usr/share/gems/gems/foreman_remote_execution-7.1.0/app/models/job_template.rb:72:in `import_raw!'
/usr/share/gems/gems/foreman_rh_cloud-5.0.37/db/seeds.d/50_job_templates.rb:6:in `block (3 levels) in <top (required)>'
/usr/share/gems/gems/foreman_rh_cloud-5.0.37/db/seeds.d/50_job_templates.rb:5:in `each'
/usr/share/gems/gems/foreman_rh_cloud-5.0.37/db/seeds.d/50_job_templates.rb:5:in `block (2 levels) in <top (required)>'
/usr/share/gems/gems/audited-4.10.0/lib/audited/auditor.rb:395:in `without_auditing'
/usr/share/gems/gems/foreman_rh_cloud-5.0.37/db/seeds.d/50_job_templates.rb:4:in `block in <top (required)>'
/usr/share/foreman/app/models/concerns/foreman/thread_session.rb:108:in `as'
/usr/share/foreman/app/models/concerns/foreman/thread_session.rb:114:in `as_anonymous_admin'
/usr/share/gems/gems/foreman_rh_cloud-5.0.37/db/seeds.d/50_job_templates.rb:3:in `<top (required)>'
/usr/share/gems/gems/activesupport-6.1.6/lib/active_support/dependencies.rb:326:in `load'
/usr/share/gems/gems/activesupport-6.1.6/lib/active_support/dependencies.rb:326:in `block in load'
/usr/share/gems/gems/activesupport-6.1.6/lib/active_support/dependencies.rb:299:in `load_dependency'
/usr/share/gems/gems/activesupport-6.1.6/lib/active_support/dependencies.rb:326:in `load'
/usr/share/foreman/app/services/foreman_seeder.rb:51:in `block (3 levels) in execute'
/usr/share/foreman/app/models/concerns/foreman/thread_session.rb:108:in `as'
/usr/share/foreman/app/models/concerns/foreman/thread_session.rb:114:in `as_anonymous_admin'
/usr/share/foreman/app/services/foreman_seeder.rb:50:in `block (2 levels) in execute'
/usr/share/foreman/app/services/foreman_seeder.rb:44:in `each'
/usr/share/foreman/app/services/foreman_seeder.rb:44:in `block in execute'
/usr/share/foreman/app/services/foreman/advisory_lock_manager.rb:21:in `block in with_transaction_lock'
/usr/share/gems/gems/activerecord-6.1.6/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in `block in transaction'
/usr/share/gems/gems/activerecord-6.1.6/lib/active_record/connection_adapters/abstract/transaction.rb:319:in `block in within_new_transaction'
/usr/share/gems/gems/activesupport-6.1.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
/usr/share/gems/gems/activesupport-6.1.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
/usr/share/gems/gems/activesupport-6.1.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
/usr/share/gems/gems/activesupport-6.1.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
/usr/share/gems/gems/activesupport-6.1.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
/usr/share/gems/gems/activerecord-6.1.6/lib/active_record/connection_adapters/abstract/transaction.rb:317:in `within_new_transaction'
/usr/share/gems/gems/activerecord-6.1.6/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in `transaction'
/usr/share/gems/gems/activerecord-6.1.6/lib/active_record/transactions.rb:209:in `transaction'
/usr/share/foreman/app/services/foreman/advisory_lock_manager.rb:17:in `with_transaction_lock'
/usr/share/foreman/app/services/foreman_seeder.rb:38:in `execute'
/usr/share/foreman/db/seeds.rb:15:in `<top (required)>'
/usr/share/gems/gems/activesupport-6.1.6/lib/active_support/dependencies.rb:326:in `load'
/usr/share/gems/gems/activesupport-6.1.6/lib/active_support/dependencies.rb:326:in `block in load'
/usr/share/gems/gems/activesupport-6.1.6/lib/active_support/dependencies.rb:299:in `load_dependency'
/usr/share/gems/gems/activesupport-6.1.6/lib/active_support/dependencies.rb:326:in `load'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:38:in `block in load'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:17:in `benchmark'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:38:in `load'
/usr/share/gems/gems/railties-6.1.6/lib/rails/engine.rb:566:in `block in load_seed'
/usr/share/gems/gems/activesupport-6.1.6/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
/usr/share/gems/gems/activesupport-6.1.6/lib/active_support/execution_wrapper.rb:91:in `wrap'
/usr/share/gems/gems/railties-6.1.6/lib/rails/engine.rb:640:in `block (2 levels) in <class:Engine>'
/usr/share/gems/gems/activesupport-6.1.6/lib/active_support/callbacks.rb:126:in `instance_exec'
/usr/share/gems/gems/activesupport-6.1.6/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
/usr/share/gems/gems/activesupport-6.1.6/lib/active_support/callbacks.rb:137:in `run_callbacks'
/usr/share/gems/gems/railties-6.1.6/lib/rails/engine.rb:566:in `load_seed'
/usr/share/gems/gems/activerecord-6.1.6/lib/active_record/tasks/database_tasks.rb:450:in `load_seed'
/usr/share/gems/gems/activerecord-6.1.6/lib/active_record/railties/databases.rake:392:in `block (2 levels) in <top (required)>'
/usr/share/gems/gems/rake-13.0.1/exe/rake:27:in `<top (required)>'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels