mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Add log messages for IP checks during client install
The added log messages allow easier debugging of IP related issues during ipa-client-install. https://fedorahosted.org/freeipa/ticket/6331 Reviewed-By: Stanislav Laznicka <slaznick@redhat.com> Reviewed-By: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
committed by
Martin Babinsky
parent
ddf48f2fef
commit
d6f6a291da
@@ -1569,8 +1569,9 @@ def get_local_ipaddresses(iface=None):
|
||||
for ip in if_addrs.get(family, []):
|
||||
try:
|
||||
ips.append(ipautil.CheckedIPAddress(ip['addr']))
|
||||
except ValueError:
|
||||
continue
|
||||
root_logger.debug('IP check successful: %s' % ip['addr'])
|
||||
except ValueError as e:
|
||||
root_logger.debug('IP check failed: %s' % e)
|
||||
return ips
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user