When starting wconfd (on a squeeze machine only, interestingly), it whines that it cannot get master votes. Which is technically correct, since noded is not running. This patch makes sure that noded is also started to satisfy wconfd, although we will not need noded as it will become unresponsive as soon as we renew the SSL certificates.
Signed-off-by: Helga Velroyen <[email protected]> --- lib/client/gnt_cluster.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/client/gnt_cluster.py b/lib/client/gnt_cluster.py index 0626b48..2db24ec 100644 --- a/lib/client/gnt_cluster.py +++ b/lib/client/gnt_cluster.py @@ -1134,13 +1134,14 @@ def _RenewCrypto(new_cluster_cert, new_rapi_cert, # pylint: disable=R0911 # If only node certficates are recreated, call _RenewClientCerts only. if new_node_cert and not new_cluster_cert: - RunWhileDaemonsStopped(ToStdout, [constants.WCONFD], _RenewClientCerts, + RunWhileDaemonsStopped(ToStdout, [constants.NODED, constants.WCONFD], + _RenewClientCerts, verbose=verbose, debug=debug) # If the cluster certificate are renewed, the client certificates need # to be renewed too. if new_cluster_cert: - RunWhileDaemonsStopped(ToStdout, [constants.WCONFD], + RunWhileDaemonsStopped(ToStdout, [constants.NODED, constants.WCONFD], _RenewServerAndClientCerts, verbose=verbose, debug=debug) -- 2.4.3.573.g4eafbef
