mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
replica-conncheck: log when failed to RPC connect
It's nearly impossible to find out what happened when doing replica connection check and it fails during the RPC phase. The error is now logged. Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
parent
fc7e2565bd
commit
06fbf4b312
@ -586,7 +586,8 @@ def main():
|
|||||||
finally:
|
finally:
|
||||||
if api.Backend.rpcclient.isconnected():
|
if api.Backend.rpcclient.isconnected():
|
||||||
api.Backend.rpcclient.disconnect()
|
api.Backend.rpcclient.disconnect()
|
||||||
except Exception:
|
except Exception as e:
|
||||||
|
logger.debug("RPC connection failed: %s", e)
|
||||||
logger.info("Retrying using SSH...")
|
logger.info("Retrying using SSH...")
|
||||||
|
|
||||||
# Ticket 5812 Always qualify requests for admin
|
# Ticket 5812 Always qualify requests for admin
|
||||||
|
Loading…
Reference in New Issue
Block a user