Foreman reports in Satellite 6.0 doesn’t work out of the box, first we need to setup our SMTP settings.
Error that we face without SMTP configured:
[email protected]:/var/log/foreman# /usr/sbin/foreman-rake reports:summarize rake aborted! getaddrinfo: Name or service not known Tasks: TOP => reports:summarize (See full trace by running task with --trace)
We just need to configure our settings in /etc/foreman/email.yaml like:
r[email protected]:/var/log/foreman# cat /etc/foreman/email.yaml # Outgoing email settings production: delivery_method: :smtp smtp_settings: address: smtp.example.com port: 25 domain: example.com authentication: :none
And if we run our reports once again we’ll get our email