From 00a54b8b7f1e6e157f4b5efe7f24462685194de5 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Wed, 26 Sep 2012 08:52:50 -0400 Subject: Notify user about necessary ports in ipa-client-install Connection error message in ipa-client-install now warns the user about the need of opening of all the necessary ports for ipa-client enrollment when error that might have been caused by closed ports is encountered. Mentions the ports needed after the client enrollment as well. Improves other error messages during installation in various ways. https://fedorahosted.org/freeipa/ticket/2816 --- ipa-client/ipaclient/ipadiscovery.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ipa-client/ipaclient/ipadiscovery.py') diff --git a/ipa-client/ipaclient/ipadiscovery.py b/ipa-client/ipaclient/ipadiscovery.py index f91d4075a..63acf6200 100644 --- a/ipa-client/ipaclient/ipadiscovery.py +++ b/ipa-client/ipaclient/ipadiscovery.py @@ -290,6 +290,7 @@ class IPADiscovery(object): run(["/usr/bin/wget", "-O", "%s/ca.crt" % temp_ca_dir, "-T", "15", "-t", "2", "http://%s/ipa/config/ca.crt" % format_netloc(thost)]) except CalledProcessError, e: + root_logger.error('Retrieving CA from %s failed', thost) root_logger.debug('Retrieving CA from %s failed: %s', thost, str(e)) return [NOT_IPA_SERVER] -- cgit