Install procedure:
#Install the Puppet-release.rpm package:
dnf -y localinstall https://yum.puppet.com/puppet7-release-el-8.noarch.rpm;
#Install the katello-repos-latest.rpm package
dnf -y localinstall https://yum.theforeman.org/releases/3.3/el8/x86_64/foreman-release.rpm;
#install katello repos
dnf -y localinstall https://yum.theforeman.org/katello/4.5/katello/el8/x86_64/katello-repos-latest.rpm;
#Install katello repo package
dnf -y localinstall https://yum.theforeman.org/katello/4.5/katello/el8/x86_64/katello-4.5.0-1.el8.noarch.rpm;
Enable Foreman and katello for EL8
dnf -y module enable foreman:el8;
dnf -y module enable katello:el8;
#Install the centos-release-ansible-29 package to enable repositories for dependencies of the Ansible collection #support:
dnf -y install centos-release-ansible-29;
#Enable powertools repository:
dnf config-manager --set-enabled powertools;
#If the PostgreSQL 10 module has already been enabled, a module reset will need to be performed.
dnf -y module reset postgresql;
dnf -y module enable postgresql:12;
#Install foreman-katello installer
dnf -y install foreman-installer;
#Install foreman-katello installer
dnf -y install foreman-installer-katello.noarch katello-certs-tools.noarch;
foreman-installer --scenario katello --foreman-initial-admin-username āadminā --foreman-initial-admin-password āhunter.1963ā --foreman-initial-admin-email āeevans@digitaldatatechs.comā --foreman-email-smtp-address āes.digitaldatatechs.comā --foreman-initial-organization āDigital Data Servicesā --enable-foreman-plugin-remote-execution-cockpit --enable-foreman-compute-ovirt --enable-foreman-compute-libvirt --enable-foreman-plugin-setup --enable-foreman-plugin-monitoring --enable-foreman-proxy-plugin-ansible --enable-foreman-plugin-ansible --enable-foreman-plugin-virt-who-configure --enable-foreman-plugin-templates --enable-puppet --enable-foreman-plugin-snapshot-management --foreman-foreman-service-puma-threads-min ā5ā
ERROR:
2022-09-10 08:53:43 [NOTICE] [root] Loading installer configuration. This will take some time.
2022-09-10 08:53:50 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2022-09-10 08:53:50 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
2022-09-10 08:53:56 [NOTICE] [configure] Starting system configuration.
2022-09-10 09:16:48 [ERROR ] [configure] Execution of ā/bin/dnf -d 0 -e 1 -y install postgresql-evrā returned 1: Error: Unable to find a match: postgresql-evr
2022-09-10 09:16:48 [ERROR ] [configure] /Stage[main]/Katello::Application/Package[postgresql-evr]/ensure: change from āpurgedā to āpresentā failed: Execution of ā/bin/dnf -d 0 -e 1 -y install postgresql-evrā returned 1: Error: Unable to find a match: postgresql-evr
2022-09-10 09:17:02 [NOTICE] [configure] 250 configuration steps out of 1667 steps complete.
2022-09-10 09:19:03 [ERROR ] [configure] Execution of ā/bin/dnf -d 0 -e 1 -y install pulpcoreā returned 1: Error: Unable to find a match: pulpcore
2022-09-10 09:19:03 [ERROR ] [configure] /Stage[main]/Pulpcore::Install/Package[pulpcore]/ensure: change from āpurgedā to āpresentā failed: Execution of ā/bin/dnf -d 0 -e 1 -y install pulpcoreā returned 1: Error: Unable to find a match: pulpcore
2022-09-10 09:19:14 [ERROR ] [configure] Execution of ā/bin/dnf -d 0 -e 1 -y install pulp-cliā returned 1: Error: Unable to find a match: pulp-cli
2022-09-10 09:19:14 [ERROR ] [configure] /Stage[main]/Pulpcore::Cli/Package[pulp-cli]/ensure: change from āpurgedā to āpresentā failed: Execution of ā/bin/dnf -d 0 -e 1 -y install pulp-cliā returned 1: Error: Unable to find a match: pulp-cli
2022-09-10 09:21:37 [NOTICE] [configure] 500 configuration steps out of 1668 steps complete.
2022-09-10 09:22:00 [NOTICE] [configure] 750 configuration steps out of 1672 steps complete.
2022-09-10 09:25:18 [NOTICE] [configure] 1000 configuration steps out of 1698 steps complete.
2022-09-10 09:26:38 [NOTICE] [configure] 1250 configuration steps out of 1698 steps complete.
2022-09-10 09:32:44 [ERROR ] [configure] ā/usr/sbin/foreman-rake db:migrateā returned 1 instead of one of [0]
2022-09-10 09:32:44 [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]
2022-09-10 09:33:53 [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]
2022-09-10 09:33:53 [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]
2022-09-10 09:34:18 [NOTICE] [configure] 1500 configuration steps out of 1698 steps complete.
2022-09-10 09:34:35 [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
Iām not sure why itāsnot finding ther packages except for postgresql-evr. That should be a Centos 7 install.
I think the rake doesnāt work because postgresql-evr isnāt installed.
Need some help understanding why itās failing.
I can attach the log if it would help.
Thanks in advance.