From b9e3da39193419c3fd606a4cba586bea58c6e961 Mon Sep 17 00:00:00 2001 From: Joshua Schmid Date: Fri, 2 Oct 2020 11:37:58 +0200 Subject: [PATCH] python-common: do not skip unavailable devices Fixes: https://tracker.ceph.com/issues/47726 We should assemble the device set based on the drivegroups in mgr/cephadm (regardless of their availability) and pass it to c-v. This patch is the missing piece to actually do this. related changes: https://github.com/ceph/ceph/pull/34740/commits/7d168ad7bdbb6d6d5231a4ae540ab03040b49a38 Signed-off-by: Joshua Schmid --- .../ceph/deployment/drive_selection/selector.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/python-common/ceph/deployment/drive_selection/selector.py b/src/python-common/ceph/deployment/drive_selection/selector.py index 681be39b245da..e7e2edf7e5994 100644 --- a/src/python-common/ceph/deployment/drive_selection/selector.py +++ b/src/python-common/ceph/deployment/drive_selection/selector.py @@ -115,11 +115,6 @@ class DriveSelection(object): for disk in self.disks: logger.debug("Processing disk {}".format(disk.path)) - if not disk.available: - logger.debug( - "Ignoring disk {}. Disk is not available".format(disk.path)) - continue - if not self._has_mandatory_idents(disk): logger.debug( "Ignoring disk {}. Missing mandatory idents".format( -- 2.39.5