From: Jeff Layton Date: Wed, 6 Feb 2019 19:23:38 +0000 (-0500) Subject: mgr/rook: fix bug in OSD creation path X-Git-Tag: v14.1.0~177^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=68d27c72dd6a02958175b7623d242895ce47b24f;p=ceph.git mgr/rook: fix bug in OSD creation path The list of devices is in "paths". Signed-off-by: Jeff Layton --- diff --git a/src/pybind/mgr/rook/rook_cluster.py b/src/pybind/mgr/rook/rook_cluster.py index 82d97e670335..740151f620f3 100644 --- a/src/pybind/mgr/rook/rook_cluster.py +++ b/src/pybind/mgr/rook/rook_cluster.py @@ -343,7 +343,7 @@ class RookCluster(object): Rook currently (0.8) can only do single-drive OSDs, so we treat all drive groups as just a list of individual OSDs. """ - block_devices = drive_group.data_devices + block_devices = drive_group.data_devices.paths assert drive_group.objectstore in ("bluestore", "filestore")