Description of problem:
Cron job `foreman-rake reports:summarize` results in "rake aborted! getaddrinfo: Name or service not known" on default installation.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. One of the cron jobs have:
# /usr/sbin/foreman-rake reports:summarize
getaddrinfo: Name or service not known
Tasks: TOP => reports:summarize
(See full trace by running task with --trace)
# echo $?
On default installation, all should work - cron jobs should not produce errors periodically
This was initially reported as:
As per http://projects.theforeman.org/projects/foreman/wiki/Email_configuration I have configured this:
# cat /etc/foreman/email.yaml
# Outgoing email settings
but that generates mails for root@$( hostname -d ) so they have permanent errors in my case, but I guess this can be configured somewhere as well.
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.
Created redmine issue http://projects.theforeman.org/issues/5824 from this bug
this seems like it's a configuration issue - in redmine the bug reporter posted their email.yml which is the default one (which obviously won't work)
do we have a way to configure email in the installer, so a correct server will be defined?
Since this becomes an RFE for email configuration, I am keeping the RFE.. marking this as dupe.
*** This bug has been marked as a duplicate of bug 1188346 ***