action #80812
closed
Fix mail sending on o3 size:S
Added by okurz about 4 years ago.
Updated almost 3 years ago.
Description
Observation¶
The following error was found by staring at o3 logs out of boredom:
postfix/smtp[18623]: to=<o3-admins@suse.de>,status=deferred (Host or domain name not found. Name service error for name=relay.infra.opensuse.org type=AAAA Host not found
Acceptance Criteria¶
AC1: Mail sending works
Suggestions¶
- Find a replacement for relay.infra.opensuse.org, ask openSUSE heroes and/or SUSE IT EngInfra, create tickets and wait for answers
I asked in #opensuse-admin IRC as well:
cboltz okurz[m]: I can at least recommend not to use relay.i.o.o from openqa ;-)
relay.i.o.o is (and also the nameservers knowing it) in the heroes network, which is probably not reachable from the openqa network
better use a server inside the openqa network
okurz[m] @cboltz it seems this got changed, could be two years ago, maybe by tampakrap at that time. Since then it seems we have no email forwarding out of that zone
- Target version changed from Ready to future
- Target version changed from future to Ready
Suggestion: Ask openSUSE heroes and/or SUSE IT EngInfra for the best solution how to send emails to a mailing list, preferrably o3-admins@suse.de but we can also create a new one, maybe openSUSE dedicated
- Related to action #95293: Monitoring alerts on errors in logs on o3 (was: followup to: error on "Next & previous results": ajax error message and no results showing up) size:M added
- Subject changed from o3: log error about failed email sending "postfix/smtp[18623]: to=<o3-admins@suse.de>,status=deferred (Host or domain name not found. Name service error for name=relay.infra.opensuse.org type=AAAA Host not found" to Fix mail sending on o3 size:S
- Description updated (diff)
- Status changed from New to Workable
- Status changed from Workable to Blocked
- Assignee set to okurz
- Status changed from Blocked to Resolved
I asked for a proper DNS fix in the SD ticket and Bernhard gave me a good fix how to resolve it. I implemented these changes on o3 by adding
server=/infra.opensuse.org/192.168.47.4
to /etc/dnsmasq.d/openqa.conf
and set itself as resolver with
NETCONFIG_DNS_STATIC_SERVERS="127.0.0.1"
in /etc/sysconfig/network/config
. If you see problems it is just a matter of restoring the old NETCONFIG_DNS_STATIC_SERVERS
(there is a commented line right above the new one) and regenerate resolv.conf with netconfig update -f
Also available in: Atom
PDF