From 800fdd9953013f975acd70de060bb828c83f30bc Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 24 Aug 2017 09:52:17 -0400 Subject: [PATCH] qa/tasks/ceph_deploy: gatherkeys before mgr deploy Otherwise we may be missing the bootstrap-mgr key. Signed-off-by: Sage Weil --- qa/tasks/ceph_deploy.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qa/tasks/ceph_deploy.py b/qa/tasks/ceph_deploy.py index eb287525290b4..b22c32113ced9 100644 --- a/qa/tasks/ceph_deploy.py +++ b/qa/tasks/ceph_deploy.py @@ -297,7 +297,6 @@ def build_ceph_cluster(ctx, config): # are taking way more than a minute/monitor to form quorum, so lets # try the next block which will wait up to 15 minutes to gatherkeys. execute_ceph_deploy(mon_create_nodes) - execute_ceph_deploy(mgr_create) # create-keys is explicit now # http://tracker.ceph.com/issues/16036 @@ -307,6 +306,9 @@ def build_ceph_cluster(ctx, config): '--id', remote.shortname]) estatus_gather = execute_ceph_deploy(gather_keys) + + execute_ceph_deploy(mgr_create) + if mds_nodes: estatus_mds = execute_ceph_deploy(deploy_mds) if estatus_mds != 0: -- 2.39.5