mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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:
committed by
Martin Basti
parent
a44974cdf8
commit
eb6905bbb4
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user