From d6787eea4899af6bd7075a3311a45cb8eda571e5 Mon Sep 17 00:00:00 2001 From: David Kupka Date: Tue, 27 Jun 2017 15:09:01 +0200 Subject: [PATCH] install: replica: Show message about key synchronization https://pagure.io/freeipa/issue/6940 Reviewed-By: Martin Basti --- ipaserver/install/custodiainstance.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ipaserver/install/custodiainstance.py b/ipaserver/install/custodiainstance.py index 4971379ea..caa16a815 100644 --- a/ipaserver/install/custodiainstance.py +++ b/ipaserver/install/custodiainstance.py @@ -1,5 +1,7 @@ # Copyright (C) 2015 FreeIPa Project Contributors, see 'COPYING' for license. +from __future__ import print_function + import logging from ipaserver.secrets.kem import IPAKEMKeys, KEMLdap @@ -123,6 +125,10 @@ class CustodiaInstance(SimpleServiceInstance): deadline = int(time.time()) + timeout logger.info("Waiting up to %s seconds to see our keys " "appear on host: %s", timeout, host) + # FIXME: Change once there's better way to show this mesage + # in installer output + print("Waiting for keys to appear on host: {}, " + "please wait until this has completed.".format(host)) konn = KEMLdap(ldap_uri) saved_e = None