mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Log the replication wait timeout for debugging purposes
Related: https://pagure.io/freeipa/issue/7971 Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
parent
faf34fcdfd
commit
54035982e5
@ -186,7 +186,8 @@ def wait_for_entry(connection, dn, timeout, attr=None, attrvalue='*',
|
|||||||
attrlist.append(attr)
|
attrlist.append(attr)
|
||||||
else:
|
else:
|
||||||
filterstr = "(objectclass=*)"
|
filterstr = "(objectclass=*)"
|
||||||
log("Waiting for replication (%s) %s %s", connection, dn, filterstr)
|
log("Waiting up to %s seconds for replication (%s) %s %s",
|
||||||
|
connection, dn, filterstr)
|
||||||
entry = []
|
entry = []
|
||||||
deadline = time.time() + timeout
|
deadline = time.time() + timeout
|
||||||
for i in itertools.count(start=1):
|
for i in itertools.count(start=1):
|
||||||
|
Loading…
Reference in New Issue
Block a user