From 835f8b233190e0faa0b69b4700a3897c833697b5 Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Wed, 28 Sep 2011 11:06:06 +0200 Subject: [PATCH] Redistribute the RAPI certificate This reverts to the old behaviour in Ganeti 2.4 and before. Signed-off-by: Iustin Pop <iustin@google.com> Reviewed-by: Michael Hanselmann <hansmi@google.com> --- lib/cmdlib.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/cmdlib.py b/lib/cmdlib.py index 05071be48..b1f8b8b02 100644 --- a/lib/cmdlib.py +++ b/lib/cmdlib.py @@ -3697,6 +3697,9 @@ def _ComputeAncillaryFiles(cluster, redist): if not redist: files_all.update(constants.ALL_CERT_FILES) files_all.update(ssconf.SimpleStore().GetFileList()) + else: + # we need to ship at least the RAPI certificate + files_all.add(constants.RAPI_CERT_FILE) if cluster.modify_etc_hosts: files_all.add(constants.ETC_HOSTS) -- GitLab