Just deployed Foreman 3.2/Katello 4.4 on Almalinux 8.5 and everything seems to be working fine but noticed the these messages coming in the /var/log/messages every two minutes:
Apr 11 16:09:09 foreman puppet-agent[1284]: Connection to https://foreman.example.com:8140/puppet-ca/v1 failed, trying next route: Request to https://foreman.example.com:8140/puppet-ca/v1 failed after 0.002 seconds: Failed to open TCP connection to foreman.example.com:8140 (Connection refused - connect(2) for "foreman.example.com" port 8140)
Apr 11 16:09:09 foreman puppet-agent[1284]: Wrapped exception:
Apr 11 16:09:09 foreman puppet-agent[1284]: Failed to open TCP connection to foreman.example.com:8140 (Connection refused - connect(2) for "foreman.example.com" port 8140)
Apr 11 16:09:09 foreman puppet-agent[1284]: No more routes to ca
I have no service listening on port 8140:
[root@foreman log]# netstat -l -n
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:9090 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:199 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:6379 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp6 0 0 :::9090 :::* LISTEN
tcp6 0 0 127.0.0.1:8005 :::* LISTEN
tcp6 0 0 127.0.0.1:61613 :::* LISTEN
tcp6 0 0 :::80 :::* LISTEN
tcp6 0 0 127.0.0.1:23443 :::* LISTEN
tcp6 0 0 :::22 :::* LISTEN
tcp6 0 0 ::1:5432 :::* LISTEN
tcp6 0 0 :::443 :::* LISTEN
udp 0 0 0.0.0.0:161 0.0.0.0:*
udp 0 0 127.0.0.1:323 0.0.0.0:*
udp6 0 0 ::1:323 :::*
What is going on here?
Installed foreman with:
foreman-installer --scenario katello --foreman-initial-organization "example" --foreman-initial-location "xxxxxx" --foreman-initial-admin-username admin --foreman-initial-admin-password xxxxxx --enable-foreman-plugin-openscap --enable-foreman-proxy-plugin-openscap --enable-foreman-plugin-ansible --enable-foreman-proxy-plugin-ansible --enable-foreman-plugin-remote-execution --enable-foreman-proxy-plugin-remote-execution-ssh