Merge pull request #11420 from rook/mergify/bp/release-1.10/pr-11413

osd: Allow mpath_member filesystem for mpath disks (backport #11413)
This commit is contained in:
mergify[bot] authored and GitHub committed 2022-12-12 09:46:35 +00:00
commit 67e5bc28e3
1 file changed
+2
+2
View File
@@ -371,6 +371,8 @@ func getAvailableDevices(context *clusterd.Context, agent *OsdAgent) (*DeviceOsd
// This handles the case where the OSD deployment has been removed and the prepare
// job kicks in again to re-deploy the OSD.
continue
} else if device.Filesystem == "mpath_member" && agent.pvcBacked {
logger.Infof("allowing multipath disk %q with filesystem %q", device.Name, device.Filesystem)
} else {
logger.Infof("skipping device %q because it contains a filesystem %q", device.Name, device.Filesystem)
continue