Merge pull request #16216 from ceph/wip-mgr-cd-updates

[qa/ceph-deploy]:  run create mgr nodes as well
This commit is contained in:
vasukulkarni 2017-07-07 15:45:01 -07:00 committed by GitHub
commit 018e9f1139
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -5,6 +5,7 @@ ceph -s
#list pools
rados lspools
#lisr rbd images
ceph osd pool create rbd 128 128
rbd ls
#check that the monitors work
ceph osd set nodown