Puppet Server – Hosts with no reports

Foreman missing report fix for internal Foreman Puppet Server AIO

PROBLEM:
The dashboard is showing “Hosts with no reports” message.

CAUSE:
This is related to the fact that JVM no longer supprots DH prime lenght that mod_ssl is using.
Ref: https://tickets.puppetlabs.com/browse/SERVER-17

VERIFY:
Check the following log file with command:
/var/log/puppetlabs/puppetserver/puppetserver.log | grep report
See if you find error messages like this one:

 2016-11-13 20:37:46,687 ERROR [qtp1671969010-68] [puppetserver] Puppet Report processor failed: Could not send report to Foreman at https://master.solamail.no/api/config_reports: Could not generate DH keypair

SOLUTION:

Open /etc/apache2/sites-enabled/05-foreman-ssl.conf

Add the following line:

SSLCipherSuite RSA:!EXP:!NULL:+HIGH:+MEDIUM:-LOW

after the SSL section of the file and then restart Apache.

Done !