Project

General

Profile

Bug #31416

db seed fails with 'Unknown remote execution feature katello_module_stream_action'

Added by Justin Sherrill over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Tooling
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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)>'

Associated revisions

Revision c9693c16 (diff)
Added by Shimon Shtein over 2 years ago

Fixes #31416 - Make sure remote execution plugin is already loaded before katello

History

#1 Updated by Justin Sherrill over 2 years ago

  • Pull request https://github.com/Katello/katello/pull/9025 added

#2 Updated by Justin Sherrill over 2 years ago

  • Category set to Tooling

#3 Updated by Justin Sherrill over 2 years ago

  • Target version set to Katello 4.0.0
  • Status changed from New to Closed

#4 Updated by Jonathon Turel over 2 years ago

  • Triaged changed from No to Yes

#5 Updated by Jonathon Turel about 2 years ago

  • Target version changed from Katello 4.0.0 to Katello 3.18.3

Also available in: Atom PDF