Problem:
foreman-installer --tuning default --scenario katello
2023-07-13 15:08:18 [NOTICE] [root] Loading installer configuration. This will take some time.
2023-07-13 15:08:21 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2023-07-13 15:08:21 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
2023-07-13 15:08:28 [NOTICE] [configure] Starting system configuration.
2023-07-13 15:11:38 [NOTICE] [configure] 250 configuration steps out of 1737 steps complete.
2023-07-13 15:14:41 [NOTICE] [configure] 500 configuration steps out of 1737 steps complete.
2023-07-13 15:14:45 [NOTICE] [configure] 750 configuration steps out of 1742 steps complete.
2023-07-13 15:14:45 [NOTICE] [configure] 1000 configuration steps out of 1747 steps complete.
2023-07-13 15:14:46 [NOTICE] [configure] 1250 configuration steps out of 1748 steps complete.
2023-07-13 15:16:55 [ERROR ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: Failed to call refresh: â/usr/sbin/foreman-rake db:seedâ returned 1 instead of one of [0]
2023-07-13 15:16:55 [ERROR ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: â/usr/sbin/foreman-rake db:seedâ returned 1 instead of one of [0]
2023-07-13 15:16:55 [NOTICE] [configure] 1500 configuration steps out of 1749 steps complete.
2023-07-13 15:17:05 [NOTICE] [configure] System configuration has finished.
Expected outcome:
/usr/sbin/foreman-rake db:seed --trace
Rubocop not loaded.
** Invoke db:seed (first_time)
** Invoke db:load_config (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
ActiveModel::UnknownAttributeError: unknown attribute âdescriptionâ for Setting::GitTemplates.
/usr/share/gems/gems/activemodel-6.1.7.3/lib/active_model/attribute_assignment.rb:51:in _assign_attribute' /usr/share/gems/gems/activerecord-6.1.7.3/lib/active_record/attribute_assignment.rb:21:in
block in _assign_attributesâ
/usr/share/gems/gems/activerecord-6.1.7.3/lib/active_record/attribute_assignment.rb:13:in each' /usr/share/gems/gems/activerecord-6.1.7.3/lib/active_record/attribute_assignment.rb:13:in
_assign_attributesâ
/usr/share/gems/gems/activemodel-6.1.7.3/lib/active_model/attribute_assignment.rb:34:in assign_attributes' /usr/share/gems/gems/activerecord-6.1.7.3/lib/active_record/core.rb:525:in
initializeâ
/usr/share/gems/gems/activerecord-6.1.7.3/lib/active_record/inheritance.rb:72:in new' /usr/share/gems/gems/activerecord-6.1.7.3/lib/active_record/inheritance.rb:72:in
newâ
/usr/share/gems/gems/activerecord-6.1.7.3/lib/active_record/persistence.rb:54:in create!' /usr/share/gems/gems/foreman_git_templates-1.0.6/app/models/setting/git_templates.rb:16:in
block (2 levels) in load_defaultsâ
/usr/share/gems/gems/foreman_git_templates-1.0.6/app/models/setting/git_templates.rb:16:in each' /usr/share/gems/gems/foreman_git_templates-1.0.6/app/models/setting/git_templates.rb:16:in
block in load_defaultsâ
/usr/share/gems/gems/activerecord-6.1.7.3/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in block in transaction' /usr/share/gems/gems/activerecord-6.1.7.3/lib/active_record/connection_adapters/abstract/transaction.rb:319:in
block in within_new_transactionâ
/usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in block (2 levels) in synchronize' /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in
handle_interruptâ
/usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in block in synchronize' /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in
handle_interruptâ
/usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in synchronize' /usr/share/gems/gems/activerecord-6.1.7.3/lib/active_record/connection_adapters/abstract/transaction.rb:317:in
within_new_transactionâ
/usr/share/gems/gems/activerecord-6.1.7.3/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in transaction' /usr/share/gems/gems/activerecord-6.1.7.3/lib/active_record/transactions.rb:209:in
transactionâ
/usr/share/gems/gems/foreman_git_templates-1.0.6/app/models/setting/git_templates.rb:15:in load_defaults' /usr/share/foreman/app/services/setting_registry.rb:114:in
eachâ
/usr/share/foreman/app/services/setting_registry.rb:114:in load' /usr/share/foreman/config/initializers/foreman.rb:37:in
block in <top (required)>â
/usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:427:in instance_exec' /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:427:in
block in make_lambdaâ
/usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:198:in block (2 levels) in halting' /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:604:in
block (2 levels) in default_terminatorâ
/usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:603:in catch' /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:603:in
block in default_terminatorâ
/usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:199:in block in halting' /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:512:in
block in invoke_beforeâ
/usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:512:in each' /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:512:in
invoke_beforeâ
/usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:105:in run_callbacks' /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/reloader.rb:88:in
prepare!â
/usr/share/gems/gems/railties-6.1.7.3/lib/rails/application/finisher.rb:124:in block in <module:Finisher>' /usr/share/gems/gems/railties-6.1.7.3/lib/rails/initializable.rb:32:in
instance_execâ
/usr/share/gems/gems/railties-6.1.7.3/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.3/lib/rails/initializable.rb:61:in block in run_initializers' /usr/share/ruby/tsort.rb:228:in
block in tsort_eachâ
/usr/share/ruby/tsort.rb:350:in block (2 levels) in each_strongly_connected_component' /usr/share/ruby/tsort.rb:431:in
each_strongly_connected_component_fromâ
/usr/share/ruby/tsort.rb:349:in block in each_strongly_connected_component' /usr/share/ruby/tsort.rb:347:in
eachâ
/usr/share/ruby/tsort.rb:347:in call' /usr/share/ruby/tsort.rb:347:in
each_strongly_connected_componentâ
/usr/share/ruby/tsort.rb:226:in tsort_each' /usr/share/ruby/tsort.rb:205:in
tsort_eachâ
/usr/share/gems/gems/railties-6.1.7.3/lib/rails/initializable.rb:60:in run_initializers' /usr/share/gems/gems/railties-6.1.7.3/lib/rails/application.rb:391:in
initialize!â
/usr/share/gems/gems/railties-6.1.7.3/lib/rails/railtie.rb:207:in public_send' /usr/share/gems/gems/railties-6.1.7.3/lib/rails/railtie.rb:207:in
method_missingâ
/usr/share/foreman/config/environment.rb:5:in <top (required)>' /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:83:in
requireâ
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:83:in require' /usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in
requireâ
/usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/dependencies.rb:332:in block in require' /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/dependencies.rb:299:in
load_dependencyâ
/usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/dependencies.rb:332:in require' /usr/share/gems/gems/railties-6.1.7.3/lib/rails/application.rb:367:in
require_environment!â
/usr/share/gems/gems/railties-6.1.7.3/lib/rails/application.rb:533:in block in run_tasks_blocks' /usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:281:in
block in executeâ
/usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:281:in each' /usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:281:in
executeâ
/usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:219:in block in invoke_with_call_chain' /usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:199:in
synchronizeâ
/usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:199:in invoke_with_call_chain' /usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:243:in
block in invoke_prerequisitesâ
/usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:241:in each' /usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:241:in
invoke_prerequisitesâ
/usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:218:in block in invoke_with_call_chain' /usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:199:in
synchronizeâ
/usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:199:in invoke_with_call_chain' /usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:243:in
block in invoke_prerequisitesâ
/usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:241:in each' /usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:241:in
invoke_prerequisitesâ
/usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:218:in block in invoke_with_call_chain' /usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:199:in
synchronizeâ
/usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:199:in invoke_with_call_chain' /usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:188:in
invokeâ
/usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:160:in invoke_task' /usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:116:in
block (2 levels) in top_levelâ
/usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:116:in each' /usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:116:in
block in top_levelâ
/usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:125:in run_with_threads' /usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:110:in
top_levelâ
/usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:83:in block in run' /usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:186:in
standard_exception_handlingâ
/usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:80:in run' /usr/share/gems/gems/rake-13.0.1/exe/rake:27:in
<top (required)>â
/usr/bin/rake:23:in load' /usr/bin/rake:23:in
â
Tasks: TOP => db:seed => db:load_config => environment
Foreman and Proxy versions:
Foreman Version 3.6.1 © 2009-2023
Foreman and Proxy plugin versions:
Name | Description | Author | Version |
---|---|---|---|
foreman-tasks | The goal of this plugin is to unify the way of showing task statuses across the Foreman instance. It defines Task model for keeping the information about the tasks and Lock for assigning the tasks to resources. The locking allows dealing with preventing multiple colliding tasks to be run on the same resource. It also optionally provides Dynflow infrastructure for using it for managing the tasks. | Ivan NeÄas | 7.2.1 |
foreman_acd | Foreman plugin to provide application centric deployment and self service portal | ATIX AG | 0.9.4 |
foreman_ansible | Ansible integration with Foreman | Daniel Lobato Garcia | 11.2.0 |
foreman_azure_rm | This gem provides Azure Resource Manager as a compute resource for The Foreman | Aditi Puntambekar, Shimon Shtein, and Tyler Gregory | 2.2.9 |
foreman_bootdisk | Plugin for Foreman that creates iPXE-based boot disks to provision hosts without the need for PXE infrastructure. | Dominic Cleal | 21.0.4 |
foreman_column_view | Displays an additional column in the Foreman Hosts view and/or additional entries in the Host show page | Greg Sutcliffe | 0.4.0 |
foreman_discovery | MaaS Discovery Plugin engine for Foreman | Aditi Puntambekar, alongoldboim, Alon Goldboim, amirfefer, Amit Karsale, Amit Upadhye, Amos Benari, Avi Sharvit, Bryan Kearney, bshuster, Daniel Lobato, Daniel Lobato Garcia, Daniel Lobato GarcĂa, Danny Smit, David Davis, Djebran Lezzoum, Dominic Cleal, Dominik Matoulek, Eric D. Helms, Ewoud Kohl van Wijngaarden, Frank Wall, Greg Sutcliffe, ChairmanTubeAmp, Ido Kanner, imriz, Imri Zvik, Ivan NeÄas, Jan Matusz, John Mazzie, Joseph Mitchell Magen, June Zhang, kgaikwad, Lars Berntzon, ldjebran, Leos Stejskal, Lukas Zapletal, LukĂĄĆĄ Zapletal, Marek Hulan, Marek HulĂĄn, MariaAga, Martin BaÄovskĂœ, Matt Jarvis, Michael Moll, Nick, odovzhenko, Ohad Levy, Ondrej Prazak, OndĆej Ezr, Ori Rabin, orrabin, Partha Aji, Petr Chalupa, Phirince Philip, Rahul Bajaj, Robert Antoni Buj Gelonch, Ron Lavi, Scubafloyd, Sean OâKeeffe, Sebastian GraÌĂl, Shimon Shtein, Shlomi Zadok, Stephen Benjamin, Swapnil Abnave, Thomas Gelf, Timo Goebel, Tomas Strych, Tom Caspy, Tomer Brisker, and Yann CĂ©zard | 22.0.4 |
foreman_expire_hosts | A Foreman plugin that allows hosts to expire at a configurable date. Hosts will be shut down and automatically deleted after a grace period. | Nagarjuna Rachaneni and Timo Goebel | 8.1.0 |
foreman_hooks | Plugin engine for Foreman that enables running custom hook scripts on Foreman events | Dominic Cleal | 0.3.17 |
foreman_kubevirt | Provision and manage Kubevirt Virtual Machines from Foreman. | Moti Asayag | 0.1.9 |
foreman_leapp | A Foreman plugin to support inplace RHEL upgrades with Leapp utility. | Foreman Leapp team | 0.1.13 |
foreman_openscap | Foreman plug-in for managing security compliance reports | slukasik@redhat.com | 6.0.0 |
foreman_remote_execution | A plugin bringing remote execution to the Foreman, completing the config management functionality with remote management functionality. | Foreman Remote Execution team | 9.1.0 |
foreman_setup | Plugin for Foreman that helps set up provisioning. | Dominic Cleal | 8.0.1 |
foreman_snapshot_management | Foreman-plugin to manage snapshots in a virtual-hardware environments. | ATIX AG | 2.0.3 |
foreman_statistics | Statistics and Trends for Foreman gives users overview of their infrastructure. | Ondrej Ezr | 2.0.1 |
foreman_templates | Engine to synchronise provisioning templates from GitHub | Greg Sutcliffe | 9.3.0 |
foreman_webhooks | Plugin for Foreman that allows to configure Webhooks. | Timo Goebel | 3.0.5 |
katello | Katello adds Content and Subscription Management to Foreman. For this it relies on Candlepin and Pulp. | N/A | 4.8.1 |
Foreman and Proxy plugin versions: |
Distribution and version:
Other relevant data: