Project

General

Profile

Bug #20234

NameError: uninitialized constant Katello::Host::HostInfo during engine load

Added by Justin Sherrill about 4 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Tests
Target version:
Difficulty:
trivial
Triaged:
Bugzilla link:

Description

00:03:46.286 NameError: uninitialized constant Katello::Host::HostInfo
00:03:46.287 /var/lib/workspace/workspace/test_develop_pr_katello/database/postgresql/ruby/2.2/slave/fast/plugin/app/models/katello/host/info_provider.rb:3:in `<module:Host>'
00:03:46.287 /var/lib/workspace/workspace/test_develop_pr_katello/database/postgresql/ruby/2.2/slave/fast/plugin/app/models/katello/host/info_provider.rb:2:in `<module:Katello>'
00:03:46.287 /var/lib/workspace/workspace/test_develop_pr_katello/database/postgresql/ruby/2.2/slave/fast/plugin/app/models/katello/host/info_provider.rb:1:in `<top (required)>'
00:03:46.287 /var/lib/workspace/workspace/test_develop_pr_katello/database/postgresql/ruby/2.2/slave/fast/plugin/lib/katello/plugin.rb:259:in `block in <top (required)>'
00:03:46.287 /var/lib/workspace/workspace/test_develop_pr_katello/database/postgresql/ruby/2.2/slave/fast/app/registries/foreman/plugin.rb:66:in `instance_eval'
00:03:46.287 /var/lib/workspace/workspace/test_develop_pr_katello/database/postgresql/ruby/2.2/slave/fast/app/registries/foreman/plugin.rb:66:in `register'
00:03:46.287 /var/lib/workspace/workspace/test_develop_pr_katello/database/postgresql/ruby/2.2/slave/fast/plugin/lib/katello/plugin.rb:3:in `<top (required)>'
00:03:46.287 /usr/local/rvm/gems/ruby-2.2.5@test_develop_pr_katello-2/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
00:03:46.287 /usr/local/rvm/gems/ruby-2.2.5@test_develop_pr_katello-2/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
00:03:46.287 /var/lib/workspace/workspace/test_develop_pr_katello/database/postgresql/ruby/2.2/slave/fast/plugin/lib/katello/engine.rb:101:in `block in <class:Engine>'
00:03:46.287 /usr/local/rvm/gems/ruby-2.2.5@test_develop_pr_katello-2/gems/railties-4.2.8/lib/rails/initializable.rb:30:in `instance_exec'
00:03:46.287 /usr/local/rvm/gems/ruby-2.2.5@test_develop_pr_katello-2/gems/railties-4.2.8/lib/rails/initializable.rb:30:in `run'
00:03:46.287 /usr/local/rvm/gems/ruby-2.2.5@test_develop_pr_katello-2/gems/railties-4.2.8/lib/rails/initializable.rb:55:in `block in run_initializers'
00:03:46.287 /usr/local/rvm/gems/ruby-2.2.5@test_develop_pr_katello-2/gems/railties-4.2.8/lib/rails/initializable.rb:54:in `run_initializers'
00:03:46.287 /usr/local/rvm/gems/ruby-2.2.5@test_develop_pr_katello-2/gems/railties-4.2.8/lib/rails/application.rb:352:in `initialize!'
00:03:46.287 /usr/local/rvm/gems/ruby-2.2.5@test_develop_pr_katello-2/gems/railties-4.2.8/lib/rails/railtie.rb:194:in `public_send'
00:03:46.287 /usr/local/rvm/gems/ruby-2.2.5@test_develop_pr_katello-2/gems/railties-4.2.8/lib/rails/railtie.rb:194:in `method_missing'
00:03:46.287 /var/lib/workspace/workspace/test_develop_pr_katello/database/postgresql/ruby/2.2/slave/fast/config/environment.rb:5:in `<top (required)>'

seen as part of https://github.com/theforeman/foreman/pull/4288

Associated revisions

Revision 4cc182fc (diff)
Added by Justin Sherrill about 4 years ago

Fixes #20234 - Add root reference to HostInfo

Revision 564ca702 (diff)
Added by Justin Sherrill about 4 years ago

Refs #20234 - require host_info on load

History

#1 Updated by The Foreman Bot about 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6854 added

#2 Updated by Justin Sherrill about 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#3 Updated by The Foreman Bot about 4 years ago

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

#4 Updated by Justin Sherrill about 4 years ago

  • Legacy Backlogs Release (now unused) set to 250

Also available in: Atom PDF