c9299d5c37
Presently, when novajoin fails to make a connection with the IPA server, for any reason, it will immediately re-attempt to make the connection when the backoff is unset (it is off by default). As a result, any timing related issues could be the source of the connection issues will likely result in no connection at all. This change adds a new configuration option, retry_delay, which will halt subsequent connection attempts for N seconds where N is the retry_delay. By default this is set to 5 seconds, mirroring internal ipalib behavior[1]. [1] - https://github.com/freeipa/freeipa/blob/master/ipalib/install/kinit.py#L29-L30 Change-Id: Iec96e4bd6643c0a657c8db424cc72deb10f170bd