Bug #31416
closeddb seed fails with 'Unknown remote execution feature katello_module_stream_action'
Description
If katello gets loaded before remote execution, it can fail with:
Foreman::Exception: ERF42-9500 [Foreman::Exception]: Unknown remote execution feature katello_module_stream_action
/home/vagrant/git/foreman_remote_execution/app/models/remote_execution_feature.rb:23:in `feature'
/home/vagrant/git/foreman_remote_execution/app/models/job_template.rb:171:in `sync_feature'
/home/vagrant/git/katello/db/seeds.d/150-module_job_templates.rb:6:in `block (2 levels) in <top (required)>'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/audited-4.9.0/lib/audited/auditor.rb:376:in `without_auditing'
/home/vagrant/git/katello/db/seeds.d/150-module_job_templates.rb:3:in `block in <top (required)>'
/home/vagrant/git/foreman/app/models/concerns/foreman/thread_session.rb:108:in `as'
/home/vagrant/git/foreman/app/models/concerns/foreman/thread_session.rb:114:in `as_anonymous_admin'
/home/vagrant/git/katello/db/seeds.d/150-module_job_templates.rb:2:in `<top (required)>'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in `load'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in `load'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:318:in `block in load'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:291:in `load_dependency'
/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:318:in `load'
/home/vagrant/git/foreman/app/services/foreman_seeder.rb:46:in `block (2 levels) in execute'
/home/vagrant/git/foreman/app/models/concerns/foreman/thread_session.rb:108:in `as'
/home/vagrant/git/foreman/app/models/concerns/foreman/thread_session.rb:114:in `as_anonymous_admin'
/home/vagrant/git/foreman/app/services/foreman_seeder.rb:45:in `block in execute'
/home/vagrant/git/foreman/app/services/foreman_seeder.rb:39:in `each'
/home/vagrant/git/foreman/app/services/foreman_seeder.rb:39:in `execute'
/home/vagrant/git/foreman/db/seeds.rb:14:in `<top (required)>'
Updated by Justin Sherrill about 4 years ago
- Pull request https://github.com/Katello/katello/pull/9025 added
Updated by Justin Sherrill about 4 years ago
- Status changed from New to Closed
- Target version set to Katello 4.0.0
Updated by Jonathon Turel almost 4 years ago
- Target version changed from Katello 4.0.0 to Katello 3.18.3