freeipa/ipaserver/install
Christian Heimes 14c869b347 Improve and fix timeout bug in wait_for_entry()
replication.wait_for_entry() now can wait for an attribute value to
appear on a replica.

Fixed timeout handling caused by bad rounding and comparison. For small
timeouts, the actual time was rounded down. For example for 60 seconds
timeout and fast replica, the query accumulated to about 0.45 seconds
plus 60 seconds sleep. 60.45 is large enough to terminate the loop
"while int(time.time()) < timeout", but not large enough to trigger the
exception in "if int(time.time()) > timeout", because int(60.65) == 60.

See: https://pagure.io/freeipa/issue/7593
Fixes: https://pagure.io/freeipa/issue/7595
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Fraser Tweedale <ftweedal@redhat.com>
2018-06-22 13:01:55 +02:00
..
plugins Move config directives handling code 2018-05-29 17:03:56 +02:00
server Always set ca_host when installing replica 2018-06-21 11:49:26 +02:00
__init__.py Remove __all__ specifications in ipaclient and ipaserver.install 2013-09-06 15:42:33 +02:00
adtrust.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00
adtrustinstance.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00
bindinstance.py Uninstall fix for named-pkcs11 2018-06-11 10:48:40 +02:00
ca.py Use one Custodia peer to retrieve all secrets 2018-06-10 18:33:38 +02:00
cainstance.py server install: drop some print statements, change log level 2018-06-20 08:38:03 +02:00
certs.py Fix certificate retrieval in ipa-replica-prepare for DL0 2018-05-04 16:08:47 -03:00
conncheck.py install: introduce installer class hierarchy 2016-11-11 12:17:25 +01:00
custodiainstance.py server install: drop some print statements, change log level 2018-06-20 08:38:03 +02:00
dns.py server install: drop some print statements, change log level 2018-06-20 08:38:03 +02:00
dnskeysyncinstance.py Move config directives handling code 2018-05-29 17:03:56 +02:00
dogtag.py install: introduce installer class hierarchy 2016-11-11 12:17:25 +01:00
dogtaginstance.py server install: drop some print statements, change log level 2018-06-20 08:38:03 +02:00
dsinstance.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00
httpinstance.py Increase WSGI process count to 5 on 64bit 2018-06-15 13:02:53 +02:00
installutils.py Move config directives handling code 2018-05-29 17:03:56 +02:00
ipa_backup.py Fix HTTPD SSL configuration for Debian. 2018-05-29 17:03:56 +02:00
ipa_cacert_manage.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00
ipa_kra_install.py Use single Custodia instance in installers 2018-04-26 21:19:53 +02:00
ipa_ldap_updater.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00
ipa_otptoken_import.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00
ipa_pkinit_manage.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00
ipa_replica_install.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00
ipa_replica_prepare.py replica_prepare: Remove the correct NSS DB files 2018-01-16 16:36:10 +01:00
ipa_restore.py Validate the Directory Manager password before starting restore 2018-05-30 08:53:12 +02:00
ipa_server_certinstall.py ipa-server-certinstall failing, unknown option realm 2018-04-20 08:51:37 -04:00
ipa_server_install.py Improve console logging for ipa-server-install 2018-06-20 08:38:03 +02:00
ipa_server_upgrade.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00
ipa_winsync_migrate.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00
kra.py Use one Custodia peer to retrieve all secrets 2018-06-10 18:33:38 +02:00
krainstance.py Move config directives handling code 2018-05-29 17:03:56 +02:00
krbinstance.py Move client templates to separate directory 2018-06-05 16:34:27 -04:00
ldapupdate.py ldapupdate: Add support for Debian multiarch 2018-05-29 17:03:56 +02:00
odsexporterinstance.py Move config directives handling code 2018-05-29 17:03:56 +02:00
opendnssecinstance.py Move config directives handling code 2018-05-29 17:03:56 +02:00
otpdinstance.py Enable pylint missing-final-newline check 2015-12-23 07:59:22 +01:00
replication.py Improve and fix timeout bug in wait_for_entry() 2018-06-22 13:01:55 +02:00
schemaupdate.py logging: do not use ipa_log_manager to create module-level loggers 2017-07-14 15:55:59 +02:00
service.py Replace ntpd with chronyd in installation 2018-04-09 11:00:02 -04:00
sysupgrade.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00
upgradeinstance.py Suppress missing cn=schema compat on installation 2018-06-11 12:20:48 +02:00