I know i have posted a lot in support lately but i am trying to get a solution worked for our organization.
basically the issue i am experiencing is puppet agent -t generating this error even locally on the server
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Failed when searching for node {redacted FQDN for host}: Failed to find {redacted FQDN for host} via exec: Execution of ‘/etc/puppetlabs/puppet/node.rb {redacted FQDN for host}’ returned 1:
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
These are the installation steps i have followed
firewall-cmd
–add-port=“53/udp” --add-port=“53/tcp”
–add-port=“67/udp”
–add-port=“69/udp”
–add-port=“80/tcp” --add-port=“443/tcp”
–add-port=“8443/tcp”
–add-port=“8140/tcp”
firewall-cmd --runtime-to-permanent
dnf -y clean all
dnf -y localinstall https://yum.theforeman.org/releases/3.1/el8/x86_64/foreman-release.rpm
dnf -y localinstall https://yum.theforeman.org/katello/4.3/katello/el8/x86_64/katello-repos-latest.rpm
dnf -y install centos-release-ansible-29
dnf -y localinstall https://yum.puppet.com/puppet6-release-el-8.noarch.rpm
dnf -y module reset ruby
dnf -y module enable ruby:2.7
dnf -y config-manager --set-enabled powertools
dnf -y module reset postgresql
dnf -y module enable postgresql:12
dnf -y update
dnf -y install foreman-installer-katello
foreman-installer --scenario katello --foreman-initial-organization “MY_ORG” --foreman-initial-location “MYL” --foreman-initial-admin-username foreman --foreman-initial-admin-password starwars123
foreman-installer --enable-foreman-plugin-discovery --enable-foreman-plugin-host-reports --enable-foreman-compute-vmware --enable-foreman-plugin-monitoring --enable-foreman-plugin-puppet --enable-foreman-plugin-snapshot-management --enable-foreman-plugin-templates
–enable-foreman-plugin-remote-execution --enable-foreman-proxy-plugin-remote-execution-ssh --enable-puppet --puppet-server true --foreman-proxy-puppet true --puppet-server-ca true --foreman-proxy-puppetca true
the os i am running on is centos streams 8
Thanks in advance