From 9c5de6f2578cff62832cb1df9bc6cf1ce83c59b1 Mon Sep 17 00:00:00 2001 From: Joshua Schmid Date: Mon, 6 Jul 2020 11:40:36 +0200 Subject: [PATCH] doc: add note about filter_logic Signed-off-by: Joshua Schmid (cherry picked from commit 73475f3b396bf7892b921985b5b4fcf3e9732f42) --- doc/cephadm/drivegroups.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/cephadm/drivegroups.rst b/doc/cephadm/drivegroups.rst index ae9b9205fc854..e4f9bd8c83ded 100644 --- a/doc/cephadm/drivegroups.rst +++ b/doc/cephadm/drivegroups.rst @@ -44,6 +44,15 @@ Since we want to have more complex setups, there are more filters than just the Filters ======= +.. note:: + Filters are applied using a `AND` gate by default. This essentially means that a drive needs to fulfill all filter + criteria in order to get selected. + If you wish to change this behavior you can adjust this behavior by setting + + `filter_logic: OR` # valid arguments are `AND`, `OR` + + in the OSD Specification. + You can assign disks to certain groups by their attributes using filters. The attributes are based off of ceph-volume's disk query. You can retrieve the information -- 2.39.5