Problem:
Unable to install foreman with Ketello plugin
Expected outcome:
foreman should get installed with ketello plugin
Foreman and Proxy versions:
Foreman and Proxy plugin versions:
rpm -qa | grep -i foreman
rubygem-foreman_column_view-0.4.0-6.fm3_3.el8.noarch
foreman-vmware-3.4.1-1.el8.noarch
foreman-selinux-3.4.1-1.el8.noarch
rubygem-hammer_cli_foreman_remote_execution-0.2.2-1.fm3_0.el8.noarch
foreman-debug-3.4.1-1.el8.noarch
foreman-dynflow-sidekiq-3.4.1-1.el8.noarch
rubygem-foreman_maintain-1.2.1-1.el8.noarch
rubygem-foreman_discovery-21.0.4-1.fm3_4.el8.noarch
foreman-installer-katello-3.4.1-1.el8.noarch
foreman-proxy-3.4.1-1.el8.noarch
rubygem-hammer_cli_foreman-3.4.0-1.el8.noarch
foreman-installer-3.4.1-1.el8.noarch
rubygem-hammer_cli_foreman_tasks-0.0.17-1.fm3_2.el8.noarch
foreman-3.4.1-1.el8.noarch
rubygem-foreman_remote_execution-8.0.0-2.fm3_4.el8.noarch
foreman-ec2-3.4.1-1.el8.noarch
foreman-release-3.4.1-1.el8.noarch
foreman-service-3.4.1-1.el8.noarch
rubygem-foreman-tasks-7.0.0-1.fm3_4.el8.noarch
rubygem-foreman_default_hostgroup-6.0.0-2.fm3_3.el8.noarch
foreman-cli-3.4.1-1.el8.noarch
rubygem-foreman_memcache-0.1.1-5.fm3_3.el8.noarch
foreman-postgresql-3.4.1-1.el8.noarch
Distribution and version:
cat /etc/redhat-release
Red Hat Enterprise Linux release 8.6 (Ootpa)
Other relevant data:
# foreman-installer --scenario katello --no-enable-puppet --no-enable-foreman-plugin-bootdisk --no-enable-foreman-proxy --foreman-initial-organization "cadence" --foreman-initial-location "sanjose" --foreman-initial-admin-username admin --foreman-initial-admin-password C@dence$123 --foreman-proxy-foreman-base-url=https://satellite.cadence.com --foreman-db-host sjprdsatdb01.cadence.com --foreman-db-password cadence --foreman-db-database foreman --foreman-db-manage false --katello-candlepin-db-host sjprdsatdb01.cadence.com --katello-candlepin-db-name candlepin --katello-candlepin-db-password cadence --katello-candlepin-manage-db false --foreman-proxy-content-pulpcore-manage-postgresql false --foreman-proxy-content-pulpcore-postgresql-host sjprdsatdb01.cadence.com --foreman-proxy-content-pulpcore-postgresql-db-name pulpcore --foreman-proxy-content-pulpcore-postgresql-password cadence --foreman-proxy-content-pulpcore-postgresql-user pulp --certs-server-cert "/root/foreman_cert/satellite_cadence_com_cert.pem" --certs-server-key "/root/foreman_cert/foreman_cert_key.pem" --certs-server-ca-cert "/root/foreman_cert/ca_cert_bundle.pem" --enable-foreman-plugin-memcache --enable-foreman-plugin-discovery --enable-foreman-plugin-default-hostgroup --enable-foreman-plugin-column-view --enable-foreman-compute-vmware
2022-12-21 00:02:36 [NOTICE] [root] Loading installer configuration. This will take some time.
2022-12-21 00:02:38 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2022-12-21 00:02:38 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
2022-12-21 00:02:44 [NOTICE] [configure] Starting system configuration.
2022-12-21 00:02:52 [NOTICE] [configure] 250 configuration steps out of 1242 steps complete.
2022-12-21 00:02:55 [NOTICE] [configure] 500 configuration steps out of 1244 steps complete.
2022-12-21 00:02:57 [NOTICE] [configure] 750 configuration steps out of 1249 steps complete.
2022-12-21 00:03:35 [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]
2022-12-21 00:03:35 [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]
2022-12-21 00:03:35 [NOTICE] [configure] 1000 configuration steps out of 1251 steps complete.
2022-12-21 00:03:42 [ERROR ] [configure] Systemd start for foreman-proxy failed!
2022-12-21 00:03:42 [ERROR ] [configure] journalctl log for foreman-proxy:
2022-12-21 00:03:42 [ERROR ] [configure] -- Logs begin at Fri 2022-12-16 14:13:29 EST, end at Wed 2022-12-21 00:03:42 EST. --
2022-12-21 00:03:42 [ERROR ] [configure] Dec 21 00:03:42 sjprdsatapp01 systemd[1]: Starting Foreman Proxy...
2022-12-21 00:03:42 [ERROR ] [configure] Dec 21 00:03:42 sjprdsatapp01 systemd[1]: foreman-proxy.service: Main process exited, code=exited, status=1/FAILURE
2022-12-21 00:03:42 [ERROR ] [configure] Dec 21 00:03:42 sjprdsatapp01 systemd[1]: foreman-proxy.service: Failed with result 'exit-code'.
2022-12-21 00:03:42 [ERROR ] [configure] Dec 21 00:03:42 sjprdsatapp01 systemd[1]: Failed to start Foreman Proxy.
2022-12-21 00:03:42 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Service/Service[foreman-proxy]/ensure: change from 'stopped' to 'running' failed: Systemd start for foreman-proxy failed!
2022-12-21 00:03:42 [ERROR ] [configure] journalctl log for foreman-proxy:
2022-12-21 00:03:42 [ERROR ] [configure] -- Logs begin at Fri 2022-12-16 14:13:29 EST, end at Wed 2022-12-21 00:03:42 EST. --
2022-12-21 00:03:42 [ERROR ] [configure] Dec 21 00:03:42 sjprdsatapp01 systemd[1]: Starting Foreman Proxy...
2022-12-21 00:03:42 [ERROR ] [configure] Dec 21 00:03:42 sjprdsatapp01 systemd[1]: foreman-proxy.service: Main process exited, code=exited, status=1/FAILURE
2022-12-21 00:03:42 [ERROR ] [configure] Dec 21 00:03:42 sjprdsatapp01 systemd[1]: foreman-proxy.service: Failed with result 'exit-code'.
2022-12-21 00:03:42 [ERROR ] [configure] Dec 21 00:03:42 sjprdsatapp01 systemd[1]: Failed to start Foreman Proxy.
2022-12-21 00:03:42 [NOTICE] [configure] 1250 configuration steps out of 1251 steps complete.
2022-12-21 00:03:44 [NOTICE] [configure] System configuration has finished.
There were errors detected during install.
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/katello.log