Problem:
Since foreman 3.13 the foreman_plugin_dhcp_browser is broken. After disabling and remove packages of ruby-foreman-dhcp-browser, foreman-installer works fine.
Expected outcome:
Error 1: Puppet Exec resource 'foreman-rake-db:migrate' failed. Logs:
/Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]
Adding autorequire relationship with User[foreman]
Starting to evaluate the resource (980 of 1462)
Evaluated in 9.81 seconds
Exec[foreman-rake-db:migrate](provider=posix)
Executing check '/usr/sbin/foreman-rake db:abort_if_pending_migrations'
Executing '/usr/sbin/foreman-rake db:migrate'
/Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]/unless
rake aborted!
NameError: uninitialized constant ForemanDhcpBrowser::Concerns
Did you mean? Connections
/usr/share/foreman/vendor/ruby/3.0.0/gems/foreman_dhcp_browser-0.0.8/lib/foreman_dhcp_browser/engine.rb:13:in `block in <class:Engine>'
/usr/share/foreman/vendor/ruby/3.0.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:427:in `instance_exec'
/usr/share/foreman/vendor/ruby/3.0.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:427:in `block in make_lambda'
/usr/share/foreman/vendor/ruby/3.0.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:198:in `block (2 levels) in halting'
/usr/share/foreman/vendor/ruby/3.0.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:604:in `block (2 levels) in default_terminator'
/usr/share/foreman/vendor/ruby/3.0.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:603:in `catch'
/usr/share/foreman/vendor/ruby/3.0.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:603:in `block in default_terminator'
/usr/share/foreman/vendor/ruby/3.0.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:199:in `block in halting'
/usr/share/foreman/vendor/ruby/3.0.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:512:in `block in invoke_before'
/usr/share/foreman/vendor/ruby/3.0.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:512:in `each'
/usr/share/foreman/vendor/ruby/3.0.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:512:in `invoke_before'
/usr/share/foreman/vendor/ruby/3.0.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:105:in `run_callbacks'
/usr/share/foreman/vendor/ruby/3.0.0/gems/activesupport-6.1.7.10/lib/active_support/reloader.rb:88:in `prepare!'
/usr/share/foreman/vendor/ruby/3.0.0/gems/railties-6.1.7.10/lib/rails/application/finisher.rb:124:in `block in <module:Finisher>'
/usr/share/foreman/vendor/ruby/3.0.0/gems/railties-6.1.7.10/lib/rails/initializable.rb:32:in `instance_exec'
/usr/share/foreman/vendor/ruby/3.0.0/gems/railties-6.1.7.10/lib/rails/initializable.rb:32:in `run'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:45:in `block in run'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:17:in `benchmark'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:45:in `run'
/usr/share/foreman/vendor/ruby/3.0.0/gems/railties-6.1.7.10/lib/rails/initializable.rb:61:in `block in run_initializers'
/usr/share/foreman/vendor/ruby/3.0.0/gems/railties-6.1.7.10/lib/rails/initializable.rb:60:in `run_initializers'
/usr/share/foreman/vendor/ruby/3.0.0/gems/railties-6.1.7.10/lib/rails/application.rb:391:in `initialize!'
/usr/share/foreman/vendor/ruby/3.0.0/gems/railties-6.1.7.10/lib/rails/railtie.rb:207:in `public_send'
/usr/share/foreman/vendor/ruby/3.0.0/gems/railties-6.1.7.10/lib/rails/railtie.rb:207:in `method_missing'
/usr/share/foreman/config/environment.rb:5:in `<top (required)>'
/usr/share/foreman/vendor/ruby/3.0.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/usr/share/foreman/vendor/ruby/3.0.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/usr/share/foreman/vendor/ruby/3.0.0/gems/zeitwerk-2.6.18/lib/zeitwerk/kernel.rb:34:in `require'
/usr/share/foreman/vendor/ruby/3.0.0/gems/activesupport-6.1.7.10/lib/active_support/dependencies.rb:332:in `block in require'
/usr/share/foreman/vendor/ruby/3.0.0/gems/activesupport-6.1.7.10/lib/active_support/dependencies.rb:299:in `load_dependency'
/usr/share/foreman/vendor/ruby/3.0.0/gems/activesupport-6.1.7.10/lib/active_support/dependencies.rb:332:in `require'
/usr/share/foreman/vendor/ruby/3.0.0/gems/railties-6.1.7.10/lib/rails/application.rb:367:in `require_environment!'
/usr/share/foreman/vendor/ruby/3.0.0/gems/railties-6.1.7.10/lib/rails/application.rb:533:in `block in run_tasks_blocks'
/usr/share/foreman/vendor/ruby/3.0.0/gems/rake-13.2.1/exe/rake:27:in `<top (required)>'
Tasks: TOP => db:abort_if_pending_migrations => db:load_config => environment
(See full trace by running task with --trace)
/Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]/returns
rake aborted!
NameError: uninitialized constant ForemanDhcpBrowser::Concerns
Did you mean? Connections
/usr/share/foreman/vendor/ruby/3.0.0/gems/foreman_dhcp_browser-0.0.8/lib/foreman_dhcp_browser/engine.rb:13:in `block in <class:Engine>'
/usr/share/foreman/vendor/ruby/3.0.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:427:in `instance_exec'
/usr/share/foreman/vendor/ruby/3.0.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:427:in `block in make_lambda'
/usr/share/foreman/vendor/ruby/3.0.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:198:in `block (2 levels) in halting'
/usr/share/foreman/vendor/ruby/3.0.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:604:in `block (2 levels) in default_terminator'
/usr/share/foreman/vendor/ruby/3.0.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:603:in `catch'
/usr/share/foreman/vendor/ruby/3.0.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:603:in `block in default_terminator'
/usr/share/foreman/vendor/ruby/3.0.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:199:in `block in halting'
/usr/share/foreman/vendor/ruby/3.0.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:512:in `block in invoke_before'
/usr/share/foreman/vendor/ruby/3.0.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:512:in `each'
/usr/share/foreman/vendor/ruby/3.0.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:512:in `invoke_before'
/usr/share/foreman/vendor/ruby/3.0.0/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:105:in `run_callbacks'
/usr/share/foreman/vendor/ruby/3.0.0/gems/activesupport-6.1.7.10/lib/active_support/reloader.rb:88:in `prepare!'
/usr/share/foreman/vendor/ruby/3.0.0/gems/railties-6.1.7.10/lib/rails/application/finisher.rb:124:in `block in <module:Finisher>'
/usr/share/foreman/vendor/ruby/3.0.0/gems/railties-6.1.7.10/lib/rails/initializable.rb:32:in `instance_exec'
/usr/share/foreman/vendor/ruby/3.0.0/gems/railties-6.1.7.10/lib/rails/initializable.rb:32:in `run'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:45:in `block in run'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:17:in `benchmark'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:45:in `run'
/usr/share/foreman/vendor/ruby/3.0.0/gems/railties-6.1.7.10/lib/rails/initializable.rb:61:in `block in run_initializers'
/usr/share/foreman/vendor/ruby/3.0.0/gems/railties-6.1.7.10/lib/rails/initializable.rb:60:in `run_initializers'
/usr/share/foreman/vendor/ruby/3.0.0/gems/railties-6.1.7.10/lib/rails/application.rb:391:in `initialize!'
/usr/share/foreman/vendor/ruby/3.0.0/gems/railties-6.1.7.10/lib/rails/railtie.rb:207:in `public_send'
/usr/share/foreman/vendor/ruby/3.0.0/gems/railties-6.1.7.10/lib/rails/railtie.rb:207:in `method_missing'
/usr/share/foreman/config/environment.rb:5:in `<top (required)>'
/usr/share/foreman/vendor/ruby/3.0.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/usr/share/foreman/vendor/ruby/3.0.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/usr/share/foreman/vendor/ruby/3.0.0/gems/zeitwerk-2.6.18/lib/zeitwerk/kernel.rb:34:in `require'
/usr/share/foreman/vendor/ruby/3.0.0/gems/activesupport-6.1.7.10/lib/active_support/dependencies.rb:332:in `block in require'
/usr/share/foreman/vendor/ruby/3.0.0/gems/activesupport-6.1.7.10/lib/active_support/dependencies.rb:299:in `load_dependency'
/usr/share/foreman/vendor/ruby/3.0.0/gems/activesupport-6.1.7.10/lib/active_support/dependencies.rb:332:in `require'
/usr/share/foreman/vendor/ruby/3.0.0/gems/railties-6.1.7.10/lib/rails/application.rb:367:in `require_environment!'
/usr/share/foreman/vendor/ruby/3.0.0/gems/railties-6.1.7.10/lib/rails/application.rb:533:in `block in run_tasks_blocks'
/usr/share/foreman/vendor/ruby/3.0.0/gems/rake-13.2.1/exe/rake:27:in `<top (required)>'
Tasks: TOP => db:migrate => db:load_config => environment
(See full trace by running task with --trace)
change from 'notrun' to ['0'] failed: '/usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0]
1 error was detected during installation.
Foreman and Proxy versions:
3.13
Foreman and Proxy plugin versions:
3.13
foreman_dhcp_browser: 0.0.8
The last updates in git are 6 years ago. The plugin is available to install via foreman-installer. And the installer install the package ruby-foreman-dhcp-browser. The project is inside the GitHub foreman group:
theforeman just crashed, puppet doesnât work, I canât run the installer and the only solution would be the new release. So please release 3.13.1 ASAP. Thanks!
2025-01-24 13:34:26 [NOTICE] [root] Loading installer configuration. This will take some time.
2025-01-24 13:34:36 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2025-01-24 13:34:36 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
[2025-01-24 13:34:38.837523 ] ERROR Facter - Error loading fact /opt/puppetlabs/puppet/cache/lib/facter/alert_manager_running.rb: cannot load such file -- puppet
[2025-01-24 13:34:38.892729 ] ERROR Facter - Error loading fact /opt/puppetlabs/puppet/cache/lib/facter/alert_manager_running.rb: cannot load such file -- puppet
[2025-01-24 13:34:38.962939 ] ERROR Facter - Error loading fact /opt/puppetlabs/puppet/cache/lib/facter/package_provider.rb: cannot load such file -- puppet/type
[2025-01-24 13:34:38.972793 ] ERROR Facter - Error loading fact /opt/puppetlabs/puppet/cache/lib/facter/service_provider.rb: cannot load such file -- puppet/type
[2025-01-24 13:34:38.974271 ] ERROR Facter - Error loading fact /opt/puppetlabs/puppet/cache/lib/facter/settings.rb: cannot load such file -- puppet
[2025-01-24 13:34:38.986700 ] ERROR Facter - Error loading fact /opt/puppetlabs/puppet/cache/lib/facter/package_provider.rb: cannot load such file -- puppet/type
[2025-01-24 13:34:38.988029 ] ERROR Facter - Error loading fact /opt/puppetlabs/puppet/cache/lib/facter/service_provider.rb: cannot load such file -- puppet/type
[2025-01-24 13:34:38.989501 ] ERROR Facter - Error loading fact /opt/puppetlabs/puppet/cache/lib/facter/settings.rb: cannot load such file -- puppet
2025-01-24 13:34:39 [NOTICE] [checks] System checks passed
2025-01-24 13:34:48 [NOTICE] [configure] Starting system configuration.
2025-01-24 13:35:04 [NOTICE] [configure] 250 configuration steps out of 1508 steps complete.
2025-01-24 13:35:05 [NOTICE] [configure] 500 configuration steps out of 1510 steps complete.
2025-01-24 13:35:08 [NOTICE] [configure] 750 configuration steps out of 1523 steps complete.
2025-01-24 13:35:08 [NOTICE] [configure] 1000 configuration steps out of 1537 steps complete.
2025-01-24 13:35:31 [NOTICE] [configure] 1250 configuration steps out of 1566 steps complete.
2025-01-24 13:35:35 [NOTICE] [configure] 1500 configuration steps out of 1566 steps complete.
2025-01-24 13:35:49 [ERROR ] [configure] '/usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0]
2025-01-24 13:35:49 [ERROR ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]/returns: change from 'notrun' to ['0'] failed: '/usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0]
2025-01-24 13:36:04 [ERROR ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]: Failed to call refresh: '/usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0]
2025-01-24 13:36:04 [ERROR ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]: '/usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0]
2025-01-24 13:36:15 [NOTICE] [configure] System configuration has finished.
Error 1: Puppet Exec resource 'foreman-rake-db:migrate' failed. Logs:
/Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]
Adding autorequire relationship with User[foreman]
Starting to evaluate the resource (1504 of 1566)
Failed to call refresh: '/usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0]
'/usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0]
Evaluated in 28.97 seconds
Exec[foreman-rake-db:migrate](provider=posix)
Executing check '/usr/sbin/foreman-rake db:abort_if_pending_migrations'
Executing '/usr/sbin/foreman-rake db:migrate'
Executing check '/usr/sbin/foreman-rake db:abort_if_pending_migrations'
Executing '/usr/sbin/foreman-rake db:migrate'
/Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]/unless
rake aborted!
NameError: uninitialized constant ForemanDhcpBrowser::Concerns
Did you mean? Connections
/usr/share/gems/gems/foreman_dhcp_browser-0.0.8/lib/foreman_dhcp_browser/engine.rb:13:in `block in <class:Engine>'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:427:in `instance_exec'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:427:in `block in make_lambda'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:198:in `block (2 levels) in halting'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:604:in `block (2 levels) in default_terminator'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:603:in `catch'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:603:in `block in default_terminator'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:199:in `block in halting'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:512:in `block in invoke_before'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:512:in `each'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:512:in `invoke_before'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:105:in `run_callbacks'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/reloader.rb:88:in `prepare!'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/application/finisher.rb:124:in `block in <module:Finisher>'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/initializable.rb:32:in `instance_exec'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/initializable.rb:32:in `run'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:45:in `block in run'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:17:in `benchmark'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:45:in `run'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/initializable.rb:61:in `block in run_initializers'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/initializable.rb:60:in `run_initializers'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/application.rb:391:in `initialize!'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/railtie.rb:207:in `public_send'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/railtie.rb:207:in `method_missing'
/usr/share/foreman/config/environment.rb:5:in `<top (required)>'
<internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
<internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
/usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/usr/share/gems/gems/zeitwerk-2.6.18/lib/zeitwerk/kernel.rb:34:in `require'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/dependencies.rb:332:in `block in require'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/dependencies.rb:299:in `load_dependency'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/dependencies.rb:332:in `require'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/application.rb:367:in `require_environment!'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/application.rb:533:in `block in run_tasks_blocks'
/usr/share/gems/gems/rake-13.0.3/exe/rake:27:in `<top (required)>'
Tasks: TOP => db:abort_if_pending_migrations => db:load_config => environment
(See full trace by running task with --trace)
rake aborted!
NameError: uninitialized constant ForemanDhcpBrowser::Concerns
Did you mean? Connections
/usr/share/gems/gems/foreman_dhcp_browser-0.0.8/lib/foreman_dhcp_browser/engine.rb:13:in `block in <class:Engine>'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:427:in `instance_exec'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:427:in `block in make_lambda'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:198:in `block (2 levels) in halting'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:604:in `block (2 levels) in default_terminator'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:603:in `catch'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:603:in `block in default_terminator'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:199:in `block in halting'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:512:in `block in invoke_before'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:512:in `each'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:512:in `invoke_before'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:105:in `run_callbacks'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/reloader.rb:88:in `prepare!'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/application/finisher.rb:124:in `block in <module:Finisher>'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/initializable.rb:32:in `instance_exec'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/initializable.rb:32:in `run'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:45:in `block in run'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:17:in `benchmark'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:45:in `run'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/initializable.rb:61:in `block in run_initializers'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/initializable.rb:60:in `run_initializers'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/application.rb:391:in `initialize!'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/railtie.rb:207:in `public_send'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/railtie.rb:207:in `method_missing'
/usr/share/foreman/config/environment.rb:5:in `<top (required)>'
<internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
<internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
/usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/usr/share/gems/gems/zeitwerk-2.6.18/lib/zeitwerk/kernel.rb:34:in `require'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/dependencies.rb:332:in `block in require'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/dependencies.rb:299:in `load_dependency'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/dependencies.rb:332:in `require'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/application.rb:367:in `require_environment!'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/application.rb:533:in `block in run_tasks_blocks'
/usr/share/gems/gems/rake-13.0.3/exe/rake:27:in `<top (required)>'
Tasks: TOP => db:abort_if_pending_migrations => db:load_config => environment
(See full trace by running task with --trace)
/Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]/returns
rake aborted!
NameError: uninitialized constant ForemanDhcpBrowser::Concerns
Did you mean? Connections
/usr/share/gems/gems/foreman_dhcp_browser-0.0.8/lib/foreman_dhcp_browser/engine.rb:13:in `block in <class:Engine>'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:427:in `instance_exec'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:427:in `block in make_lambda'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:198:in `block (2 levels) in halting'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:604:in `block (2 levels) in default_terminator'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:603:in `catch'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:603:in `block in default_terminator'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:199:in `block in halting'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:512:in `block in invoke_before'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:512:in `each'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:512:in `invoke_before'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:105:in `run_callbacks'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/reloader.rb:88:in `prepare!'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/application/finisher.rb:124:in `block in <module:Finisher>'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/initializable.rb:32:in `instance_exec'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/initializable.rb:32:in `run'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:45:in `block in run'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:17:in `benchmark'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:45:in `run'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/initializable.rb:61:in `block in run_initializers'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/initializable.rb:60:in `run_initializers'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/application.rb:391:in `initialize!'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/railtie.rb:207:in `public_send'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/railtie.rb:207:in `method_missing'
/usr/share/foreman/config/environment.rb:5:in `<top (required)>'
<internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
<internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
/usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/usr/share/gems/gems/zeitwerk-2.6.18/lib/zeitwerk/kernel.rb:34:in `require'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/dependencies.rb:332:in `block in require'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/dependencies.rb:299:in `load_dependency'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/dependencies.rb:332:in `require'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/application.rb:367:in `require_environment!'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/application.rb:533:in `block in run_tasks_blocks'
/usr/share/gems/gems/rake-13.0.3/exe/rake:27:in `<top (required)>'
Tasks: TOP => db:migrate => db:load_config => environment
(See full trace by running task with --trace)
change from 'notrun' to ['0'] failed: '/usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0]
rake aborted!
NameError: uninitialized constant ForemanDhcpBrowser::Concerns
Did you mean? Connections
/usr/share/gems/gems/foreman_dhcp_browser-0.0.8/lib/foreman_dhcp_browser/engine.rb:13:in `block in <class:Engine>'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:427:in `instance_exec'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:427:in `block in make_lambda'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:198:in `block (2 levels) in halting'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:604:in `block (2 levels) in default_terminator'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:603:in `catch'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:603:in `block in default_terminator'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:199:in `block in halting'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:512:in `block in invoke_before'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:512:in `each'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:512:in `invoke_before'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/callbacks.rb:105:in `run_callbacks'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/reloader.rb:88:in `prepare!'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/application/finisher.rb:124:in `block in <module:Finisher>'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/initializable.rb:32:in `instance_exec'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/initializable.rb:32:in `run'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:45:in `block in run'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:17:in `benchmark'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:45:in `run'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/initializable.rb:61:in `block in run_initializers'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/initializable.rb:60:in `run_initializers'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/application.rb:391:in `initialize!'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/railtie.rb:207:in `public_send'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/railtie.rb:207:in `method_missing'
/usr/share/foreman/config/environment.rb:5:in `<top (required)>'
<internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
<internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
/usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/usr/share/gems/gems/zeitwerk-2.6.18/lib/zeitwerk/kernel.rb:34:in `require'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/dependencies.rb:332:in `block in require'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/dependencies.rb:299:in `load_dependency'
/usr/share/gems/gems/activesupport-6.1.7.10/lib/active_support/dependencies.rb:332:in `require'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/application.rb:367:in `require_environment!'
/usr/share/gems/gems/railties-6.1.7.10/lib/rails/application.rb:533:in `block in run_tasks_blocks'
/usr/share/gems/gems/rake-13.0.3/exe/rake:27:in `<top (required)>'
Tasks: TOP => db:migrate => db:load_config => environment
(See full trace by running task with --trace)
1 error was detected during installation.
Please address the errors and re-run the installer to ensure the system is properly configured.
Failing to do so is likely to result in broken functionality.
The full log is at /var/log/foreman-installer/foreman.log