replica-conncheck: improve error message during replicainstall

Replica conncheck may fail for other reasons then network
misconfiguration. For example, an incorrect admin password might be
provided. Since conncheck is ran as a separate script in quiet mode,
no insightful error message can be displayed.

https://fedorahosted.org/freeipa/ticket/6497

Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
This commit is contained in:
Tomas Krizek authored and Martin Basti committed 2016-12-06 13:05:29 +01:00
1 parent a44974cdf8
commit eb6905bbb4
1 file changed
+1 -1
+1 -1
View File
@@ -104,7 +104,7 @@ def replica_conn_check(master_host, host_name, realm, check_ca,
if result.returncode != 0:
raise ScriptError(
"Connection check failed!"
"\nPlease fix your network settings according to error messages above."
"\nSee /var/log/ipareplica-conncheck.log for more information."
"\nIf the check results are not valid it can be skipped with --skip-conncheck parameter.")
else:
print("Connection check OK")