mirror of
https://github.com/ceph/ceph
synced 2025-01-19 17:41:39 +00:00
Merge pull request #16216 from ceph/wip-mgr-cd-updates
[qa/ceph-deploy]: run create mgr nodes as well
This commit is contained in:
commit
018e9f1139
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user