Distribute cluster domain secret
authorMichael Hanselmann <hansmi@google.com>
Mon, 31 May 2010 15:53:30 +0000 (17:53 +0200)
committerMichael Hanselmann <hansmi@google.com>
Tue, 1 Jun 2010 16:39:40 +0000 (18:39 +0200)
The cluster domain secret file was not distributed to other nodes.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>

lib/backend.py
lib/cmdlib.py

index ddccc3b..2fd6d91 100644 (file)
@@ -193,6 +193,7 @@ def _BuildUploadFileList():
     constants.RAPI_CERT_FILE,
     constants.RAPI_USERS_FILE,
     constants.CONFD_HMAC_KEY,
+    constants.CLUSTER_DOMAIN_SECRET_FILE,
     ])
 
   for hv_name in constants.HYPER_TYPES:
index 37409d9..8687ba7 100644 (file)
@@ -2517,6 +2517,7 @@ def _RedistributeAncillaryFiles(lu, additional_nodes=None):
                     constants.RAPI_CERT_FILE,
                     constants.RAPI_USERS_FILE,
                     constants.CONFD_HMAC_KEY,
+                    constants.CLUSTER_DOMAIN_SECRET_FILE,
                    ])
 
   enabled_hypervisors = lu.cfg.GetClusterInfo().enabled_hypervisors