summaryrefslogtreecommitdiffstats
path: root/ipa-client/ipaclient
diff options
context:
space:
mode:
authorTomas Babej <tbabej@redhat.com>2012-09-26 08:52:50 -0400
committerRob Crittenden <rcritten@redhat.com>2012-10-09 16:57:06 -0400
commit00a54b8b7f1e6e157f4b5efe7f24462685194de5 (patch)
treec3e3da1ec16d4a02dd112093138b39767f818868 /ipa-client/ipaclient
parent2ca7bb3134cc74daf9588b0a964a5572b49bc58a (diff)
downloadfreeipa-00a54b8b7f1e6e157f4b5efe7f24462685194de5.tar.gz
freeipa-00a54b8b7f1e6e157f4b5efe7f24462685194de5.tar.xz
freeipa-00a54b8b7f1e6e157f4b5efe7f24462685194de5.zip
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
Diffstat (limited to 'ipa-client/ipaclient')
-rw-r--r--ipa-client/ipaclient/ipadiscovery.py1
1 files changed, 1 insertions, 0 deletions
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]