Actions
Bug #4833
closedrunning `foreman-rake reports:summarize` ends with 'rake aborted! getaddrinfo: Name or service not known'
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Reporting
Target version:
-
Description
I have noticed this in the cron:
# /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) # echo $? 1
And with trace option:
# /usr/sbin/foreman-rake --trace reports:summarize ** Invoke reports:summarize (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute reports:summarize rake aborted! getaddrinfo: Name or service not known /opt/rh/ruby193/root/usr/share/ruby/net/smtp.rb:540:in `initialize' /opt/rh/ruby193/root/usr/share/ruby/net/smtp.rb:540:in `open' /opt/rh/ruby193/root/usr/share/ruby/net/smtp.rb:540:in `tcp_socket' /opt/rh/ruby193/root/usr/share/ruby/net/smtp.rb:549:in `block in do_start' /opt/rh/ruby193/root/usr/share/ruby/timeout.rb:69:in `timeout' /opt/rh/ruby193/root/usr/share/ruby/timeout.rb:100:in `timeout' /opt/rh/ruby193/root/usr/share/ruby/net/smtp.rb:549:in `do_start' /opt/rh/ruby193/root/usr/share/ruby/net/smtp.rb:519:in `start' /opt/rh/ruby193/root/usr/share/gems/gems/mail-2.4.4/lib/mail/network/delivery_methods/smtp.rb:144:in `deliver!' /opt/rh/ruby193/root/usr/share/gems/gems/mail-2.4.4/lib/mail/message.rb:2034:in `do_delivery' /opt/rh/ruby193/root/usr/share/gems/gems/mail-2.4.4/lib/mail/message.rb:229:in `block in deliver' /opt/rh/ruby193/root/usr/share/gems/gems/actionmailer-3.2.8/lib/action_mailer/base.rb:415:in `block in deliver_mail' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `block in instrument' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `instrument' /opt/rh/ruby193/root/usr/share/gems/gems/actionmailer-3.2.8/lib/action_mailer/base.rb:413:in `deliver_mail' /opt/rh/ruby193/root/usr/share/gems/gems/mail-2.4.4/lib/mail/message.rb:229:in `deliver' /usr/share/foreman/lib/tasks/reports.rake:80:in `block (2 levels) in <top (required)>' /opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:205:in `call' /opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:205:in `block in execute' /opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:200:in `each' /opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:200:in `execute' /opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:158:in `block in invoke_with_call_chain' /opt/rh/ruby193/root/usr/share/ruby/monitor.rb:211:in `mon_synchronize' /opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:151:in `invoke_with_call_chain' /opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:144:in `invoke' /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:116:in `invoke_task' /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:94:in `block (2 levels) in top_level' /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:94:in `each' /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:94:in `block in top_level' /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:133:in `standard_exception_handling' /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:88:in `top_level' /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:66:in `block in run' /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:133:in `standard_exception_handling' /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:63:in `run' /opt/rh/ruby193/root/usr/bin/rake:32:in `<main>' Tasks: TOP => reports:summarize
I have these packages:
# rpm -qa | grep -e katello -e foreman | sort foreman-1.5.0.10-1.el6sat.noarch foreman-compute-1.5.0.10-1.el6sat.noarch foreman-libvirt-1.5.0.10-1.el6sat.noarch foreman-ovirt-1.5.0.10-1.el6sat.noarch foreman-postgresql-1.5.0.10-1.el6sat.noarch foreman-proxy-1.5.3-1.el6sat.noarch foreman-selinux-1.5.0-0.develop.el6sat.noarch foreman-vmware-1.5.0.10-1.el6sat.noarch katello-1.5.0-18.el6sat.noarch katello-apache-1.0-1.noarch katello-ca-1.0-1.noarch katello-certs-tools-1.5.5-1.el6sat.noarch katello-installer-0.0.30-1.el6sat.noarch pulp-katello-plugins-0.2-1.el6sat.noarch ruby193-rubygem-foreman-tasks-0.4.0-5.el6sat.noarch ruby193-rubygem-katello-1.5.0-23.el6sat.noarch rubygem-foreman_api-0.1.11-4.el6sat.noarch rubygem-hammer_cli_foreman-0.0.18-8.el6sat.noarch rubygem-hammer_cli_foreman_tasks-0.0.1-4.el6sat.noarch rubygem-hammer_cli_katello-0.0.3-6.el6sat.noarch rubygem-katello_api-0.0.8-2.el6sat.noarch something-foreman-client-1.0-1.noarch something-foreman-proxy-1.0-1.noarch
Actions