From 9b81349985b56baa71d97d20f582d740e013ff88 Mon Sep 17 00:00:00 2001 From: Vasu Kulkarni Date: Fri, 7 Jul 2017 08:16:21 -0700 Subject: [PATCH] create mgr nodes explicitly now, previously they where started alongside monitor daemons due to systemd rules. Signed-off-by: Vasu Kulkarni --- qa/tasks/ceph_deploy.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qa/tasks/ceph_deploy.py b/qa/tasks/ceph_deploy.py index 3e5d2aba573..1b4040425bb 100644 --- a/qa/tasks/ceph_deploy.py +++ b/qa/tasks/ceph_deploy.py @@ -241,7 +241,10 @@ def build_ceph_cluster(ctx, config): mds_nodes = " ".join(mds_nodes) mon_node = get_nodes_using_role(ctx, 'mon') mon_nodes = " ".join(mon_node) + mgr_nodes = get_nodes_using_role(ctx, 'mgr') + mgr_nodes = " ".join(mgr_nodes) new_mon = './ceph-deploy new' + " " + mon_nodes + mgr_create = './ceph-deploy mgr create' + " " + mgr_nodes mon_hostname = mon_nodes.split(' ')[0] mon_hostname = str(mon_hostname) gather_keys = './ceph-deploy gatherkeys' + " " + mon_hostname @@ -294,6 +297,7 @@ 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 -- 2.39.5