Well, it’s a good hint. It looks like you have the PuppetDB plugin installed. That’s probably what’s the service running on port 8081 and can’t be reached.
When I go to Administrator → About in the GUI and look at the Smart Proxies Its showing a status of Green. So I think puppetdb smart proxy should be running. And if I run a ps -ef I see puppet and the puppet agent running.
The PuppetDB plugin doesn’t use a Smart Proxy - it directly connects to PuppetDB. I’d ensure the service is running and nothing blocks it. For example, it may be a firewall or SELinux.
By default nothing in the Foreman infra runs on port 8081, only PuppetDB. You should really verify whether it’s running and can connect to it. A simple telnet or openssl s_client is probably sufficient.
Doing a netstat -an |grep 8081 I can clearly see the port is not there.
If I do an rpm -qa|grep puppet. I see that this was installed tfm-rubygem-puppetdb_foreman-5.0.0-2.fm2_1.el7.noarch. But then if I look in the GUI under Administrator -> Settings -> PuppetDB I see PuppetDB API Version = v4: PuppetDB 4.0, 4.1, 4.2, 4.3
PuppetDB is a separate service. If you’re not running it, then you should not install the Foreman plugin for it. The installer doesn’t support setting it up, but does have support to integrate with it if desired.
I think that with that particular plugin it works because there’s no database modifications. Also note you need to call the installer with --no-enable-foreman-plugin-puppetdb to stop it from attempting to install it again next time.