diff options
author | Petr Spacek <pspacek@redhat.com> | 2016-06-28 18:13:58 +0200 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2016-06-29 14:19:59 +0200 |
commit | 1802f7a2258c793d11c7a9c2a4786cea42b9b058 (patch) | |
tree | 7350ebea7b450bebec12cc043e8d1e8a2924a7be | |
parent | 95191e1612f93823bd0e325ef9b97fa9a4d7869c (diff) | |
download | freeipa-1802f7a2258c793d11c7a9c2a4786cea42b9b058.tar.gz freeipa-1802f7a2258c793d11c7a9c2a4786cea42b9b058.tar.xz freeipa-1802f7a2258c793d11c7a9c2a4786cea42b9b058.zip |
client-install: do not fail if DNS times out during DNS update generation
https://fedorahosted.org/freeipa/ticket/5962
Reviewed-By: Martin Basti <mbasti@redhat.com>
-rwxr-xr-x | client/ipa-client-install | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/ipa-client-install b/client/ipa-client-install index 2da2720d1..1cdaf7b3e 100755 --- a/client/ipa-client-install +++ b/client/ipa-client-install @@ -1769,6 +1769,10 @@ def client_dns(server, hostname, options): root_logger.warning("Hostname (%s) does not have A/AAAA record.", hostname) dns_ok = False + except errors.DNSResolverError as ex: + root_logger.warning("DNS resolution for hostname %s failed: %s", + hostname, ex) + dns_ok = False if (options.dns_updates or options.all_ip_addresses or options.ip_addresses or not dns_ok): |