mirror of
https://github.com/ceph/ceph
synced 2025-02-24 03:27:10 +00:00
mgr/rook: Fix creation of bluestore OSDs:
See https://rook.io/docs/rook/v0.9/ceph-cluster-crd.html Storage Configuration: Specific devices Fixes http://tracker.ceph.com/issues/39062 Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
This commit is contained in:
parent
ab8552f651
commit
4dcfd71504
@ -377,7 +377,7 @@ class RookCluster(object):
|
||||
# - name: "gravel1.rockery"
|
||||
# devices:
|
||||
# - name: "sdb"
|
||||
# storeConfig:
|
||||
# config:
|
||||
# storeType: bluestore
|
||||
|
||||
current_cluster = self.rook_api_get(
|
||||
@ -398,7 +398,7 @@ class RookCluster(object):
|
||||
|
||||
if drive_group.hosts(all_hosts)[0] not in [n['name'] for n in current_nodes]:
|
||||
pd = { "name": drive_group.hosts(all_hosts)[0],
|
||||
"storeConfig": { "storeType": drive_group.objectstore }}
|
||||
"config": { "storeType": drive_group.objectstore }}
|
||||
|
||||
if block_devices:
|
||||
pd["devices"] = [{'name': d} for d in block_devices]
|
||||
|
Loading…
Reference in New Issue
Block a user