*** foreman 3.1 installation completed successfully but when we are trying to access the web UI we could not able to see content view in the foreman web UI
Sorry, you really have to give more details. Itâs impossible to tell what you problem is.
So far, it sounds to me as if you have just installed foreman without katello. If thatâs the case, youâll have to start over on a new host and install foreman with katello⌠Of course, then you should not install 3.1 to begin with but a current versionâŚ
we have upgraded from 3.1 to 3.2 for Katella services. but getting failed
[root@boldforeman ~]# foreman-maintain service status -b
Running Status Services
Get status of applicable services:
Displaying the following service(s):
rh-redis5-redis, postgresql, dynflow-sidekiq@orchestrator, foreman, httpd, puppetserver, dynflow-sidekiq@worker-1, foreman-proxy
[root@boldforeman ~]# systemctl status foreman-proxy
â foreman-proxy.service - Foreman Proxy
Loaded: loaded (/usr/lib/systemd/system/foreman-proxy.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/foreman-proxy.service.d
ââ90-limits.conf
Active: active (running) since Wed 2023-03-01 02:09:12 MST; 6min ago
Main PID: 1349 (ruby)
Tasks: 8
Memory: 66.3M
CGroup: /system.slice/foreman-proxy.service
ââ1349 ruby /usr/share/foreman-proxy/bin/smart-proxy --no-daemonize
Mar 01 02:09:05 boldforeman.micron.com systemd[1]: Starting Foreman ProxyâŚ
Mar 01 02:09:11 boldforeman.micron.com smart-proxy[1349]: /opt/theforeman/tfm/root/usr/share/gems/gems/sequel-5.42.0/lib/sequel/adapters/sqlite.rb:114: warning: rb_check_safe_obj will be removed in Ruby 3.0
Mar 01 02:09:12 boldforeman.micron.com systemd[1]: Started Foreman Proxy.
[root@boldforeman ~]# systemctl status foreman
â foreman.service - Foreman
Loaded: loaded (/usr/lib/systemd/system/foreman.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/foreman.service.d
ââinstaller.conf
Active: activating (start) since Wed 2023-03-01 02:15:26 MST; 8s ago
Docs: https://theforeman.org
Main PID: 5519 (ruby)
Tasks: 3
Memory: 128.8M
CGroup: /system.slice/foreman.service
ââ5519 ruby /usr/share/foreman/bin/rails server --environment production
Mar 01 02:15:26 boldforeman.micron.com systemd[1]: foreman.service: main process exited, code=exited, status=1/FAILURE
Mar 01 02:15:26 boldforeman.micron.com systemd[1]: Failed to start Foreman.
Mar 01 02:15:26 boldforeman.micron.com systemd[1]: Unit foreman.service entered failed state.
Mar 01 02:15:26 boldforeman.micron.com systemd[1]: foreman.service failed.
Mar 01 02:15:26 boldforeman.micron.com systemd[1]: Starting ForemanâŚ
Mar 01 02:15:34 boldforeman.micron.com foreman[5519]: => Booting Puma
Mar 01 02:15:34 boldforeman.micron.com foreman[5519]: => Rails 6.0.3.7 application starting in production
Mar 01 02:15:34 boldforeman.micron.com foreman[5519]: => Run rails server --help for more startup options
[root@boldforeman ~]# journalctl -xe
Mar 01 02:15:53 boldforeman.micron.com systemd[1]: dynflow-sidekiq@worker-1.service failed.
Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: uninitialized constant ActiveRecord::Base::EnsureNotUsedBy
Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_discovery-19.0.1/app/models/concerns/discovery_taxonomy_extensions.rb:5:in block in <module:DiscoveryTaxonom Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concern.rb:122:in class_evalâ
Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concern.rb:122:in append_features' Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_discovery-19.0.1/lib/foreman_discovery/engine.rb:205:in includeâ
Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_discovery-19.0.1/lib/foreman_discovery/engine.rb:205:in block in <class:Engine>' Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:428:in instance_execâ
Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:428:in block in make_lambda' Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:200:in block (2 levels) in haltingâ
Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:605:in block (2 levels) in default_terminator' Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:604:in catchâ
Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:604:in block in default_terminator' Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:201:in block in haltingâ
Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:513:in block in invoke_before' Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:513:in eachâ
Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:513:in invoke_before' Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:134:in run_callbacksâ
Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/reloader.rb:88:in prepare!' Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/theforeman/tfm/root/usr/share/gems/gems/railties-6.0.3.7/lib/rails/application/finisher.rb:113:in block in module:Finisherâ
Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/theforeman/tfm/root/usr/share/gems/gems/railties-6.0.3.7/lib/rails/initializable.rb:32:in instance_exec' Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/theforeman/tfm/root/usr/share/gems/gems/railties-6.0.3.7/lib/rails/initializable.rb:32:in runâ
Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /usr/share/foreman/config/initializers/0_print_time_spent.rb:45:in block in run' Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /usr/share/foreman/config/initializers/0_print_time_spent.rb:17:in benchmarkâ
Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /usr/share/foreman/config/initializers/0_print_time_spent.rb:45:in run' Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/theforeman/tfm/root/usr/share/gems/gems/railties-6.0.3.7/lib/rails/initializable.rb:61:in block in run_initializersâ
Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/rh/rh-ruby27/root/usr/share/ruby/tsort.rb:228:in block in tsort_each' Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/rh/rh-ruby27/root/usr/share/ruby/tsort.rb:350:in block (2 levels) in each_strongly_connected_componentâ
Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/rh/rh-ruby27/root/usr/share/ruby/tsort.rb:431:in each_strongly_connected_component_from' Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/rh/rh-ruby27/root/usr/share/ruby/tsort.rb:349:in block in each_strongly_connected_componentâ
Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/rh/rh-ruby27/root/usr/share/ruby/tsort.rb:347:in each' Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/rh/rh-ruby27/root/usr/share/ruby/tsort.rb:347:in callâ
Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/rh/rh-ruby27/root/usr/share/ruby/tsort.rb:347:in each_strongly_connected_component' Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/rh/rh-ruby27/root/usr/share/ruby/tsort.rb:226:in tsort_eachâ
Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/rh/rh-ruby27/root/usr/share/ruby/tsort.rb:205:in tsort_each' Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/theforeman/tfm/root/usr/share/gems/gems/railties-6.0.3.7/lib/rails/initializable.rb:60:in run_initializersâ
Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/theforeman/tfm/root/usr/share/gems/gems/railties-6.0.3.7/lib/rails/application.rb:363:in initialize!' Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/theforeman/tfm/root/usr/share/gems/gems/railties-6.0.3.7/lib/rails/railtie.rb:190:in public_sendâ
Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/theforeman/tfm/root/usr/share/gems/gems/railties-6.0.3.7/lib/rails/railtie.rb:190:in method_missing' Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /usr/share/foreman/config/environment.rb:5:in <top (required)>â
Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/rh/rh-ruby27/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:83:in require' Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/rh/rh-ruby27/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:83:in requireâ
Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/theforeman/tfm/root/usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in require' Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /usr/share/foreman/extras/dynflow-sidekiq.rb:21:in <top (required)>â
Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/rh/rh-ruby27/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:83:in require' Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/rh/rh-ruby27/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:83:in requireâ
Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/theforeman/tfm/root/usr/share/gems/gems/sidekiq-5.2.7/lib/sidekiq/cli.rb:292:in boot_system' Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/theforeman/tfm/root/usr/share/gems/gems/sidekiq-5.2.7/lib/sidekiq/cli.rb:46:in runâ
Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/theforeman/tfm/root/usr/share/gems/gems/sidekiq-5.2.7/bin/sidekiq:12:in <top (required)>' Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/theforeman/tfm/root/usr/bin/sidekiq:23:in loadâ
Mar 01 02:15:54 boldforeman.micron.com dynflow-sidekiq@orchestrator[5617]: /opt/theforeman/tfm/root/usr/bin/sidekiq:23:in `â
Mar 01 02:15:54 boldforeman.micron.com systemd[1]: dynflow-sidekiq@orchestrator.service: main process exited, code=exited, status=1/FAILURE
Mar 01 02:15:54 boldforeman.micron.com systemd[1]: Failed to start Foreman jobs daemon - orchestrator on sidekiq.
â Subject: Unit dynflow-sidekiq@orchestrator.service has failed
â Defined-By: systemd
â Support: systemd-devel Info Page
â Unit dynflow-sidekiq@orchestrator.service has failed.
â The result is failed.
Mar 01 02:15:54 boldforeman.micron.com systemd[1]: Unit dynflow-sidekiq@orchestrator.service entered failed state.
Mar 01 02:15:54 boldforeman.micron.com systemd[1]: dynflow-sidekiq@orchestrator.service failed.
[root@boldforeman ~]#
[root@boldforeman system]# foreman-installer --scenario katello --foreman-initial-organization âMy_Organizationâ --foreman-initial-location âMy_Locationâ --foreman-initial-admin-username admin --foreman-initial-admin-password redhat --force
2023-03-01 03:37:53 [NOTICE] [scenario_manager] Scenario /etc/foreman-installer/scenarios.d/katello.yaml was selected
2023-03-01 03:37:53 [NOTICE] [root] Due to scenario change the configuration (/etc/foreman-installer/scenarios.d/katello.yaml) was updated with /etc/foreman-installer/scenarios.d/foreman.yaml and reloaded.
2023-03-01 03:37:53 [WARN ] [boot] Unsetting environment variable âhttp_proxyâ for the duration of the install.
2023-03-01 03:37:53 [WARN ] [boot] Unsetting environment variable âhttps_proxyâ for the duration of the install.
2023-03-01 03:37:53 [NOTICE] [root] Loading installer configuration. This will take some time.
Traceback (most recent call last):
18: from /usr/sbin/foreman-installer:8:in <main>' 17: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/kafo_configure.rb:50:in runâ
16: from /opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:132:in run' 15: from /opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:132:in newâ
14: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/kafo_configure.rb:157:in initialize' 13: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/kafo_configure.rb:316:in set_parametersâ
12: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/scenario_manager.rb:217:in load_and_setup_configuration' 11: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/configuration.rb:268:in preset_defaults_from_puppetâ
10: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/configuration.rb:258:in params' 9: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/configuration.rb:132:in modulesâ
8: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/configuration.rb:396:in register_data_types' 7: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/configuration.rb:396:in eachâ
6: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/configuration.rb:397:in block in register_data_types' 5: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/configuration.rb:397:in eachâ
4: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/configuration.rb:398:in block (2 levels) in register_data_types' 3: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/data_type_parser.rb:20:in registerâ
2: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/data_type_parser.rb:20:in each' 1: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/data_type_parser.rb:22:in block in registerâ
/opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/data_type.rb:31:in `register_typeâ: Data type Apache::LogLevel is already registered, cannot be re-registered (ArgumentError)
[root@boldforeman system]#