]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-defaults: exclude md devices from discovery
authorDimitri Savineau <dsavinea@redhat.com>
Wed, 4 Dec 2019 17:32:49 +0000 (12:32 -0500)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 9 Dec 2019 08:32:21 +0000 (09:32 +0100)
The md devices (RAID software) aren't excluded from the devices list in
the auto discovery scenario.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1764601
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 014f51c2a42e4922b43da07b97c4b810ede32200)

group_vars/all.yml.sample
group_vars/rhcs.yml.sample
roles/ceph-defaults/defaults/main.yml

index 9db76b3f0ad24fabe7b30cf185686f036307042f..4e609441d2873cb19eafc1a53ac0c2a3f170892b 100644 (file)
@@ -382,7 +382,7 @@ dummy:
 #osd_objectstore: bluestore
 
 # Any device containing these patterns in their path will be excluded.
-#osd_auto_discovery_exclude: "dm-*|loop*"
+#osd_auto_discovery_exclude: "dm-*|loop*|md*"
 
 # xattrs. by default, 'filestore xattr use omap' is set to 'true' if
 # 'osd_mkfs_type' is set to 'ext4'; otherwise it isn't set. This can
index 0987941a7d9d7799a3a7dbe3a4429080b133d27d..d10a0f4398b3b8bf7ed93b6bf20134f10ac0ddab 100644 (file)
@@ -382,7 +382,7 @@ ceph_iscsi_config_dev: false
 #osd_objectstore: bluestore
 
 # Any device containing these patterns in their path will be excluded.
-#osd_auto_discovery_exclude: "dm-*|loop*"
+#osd_auto_discovery_exclude: "dm-*|loop*|md*"
 
 # xattrs. by default, 'filestore xattr use omap' is set to 'true' if
 # 'osd_mkfs_type' is set to 'ext4'; otherwise it isn't set. This can
index d7d0b32679954a18b2585f95d3d19cca45ce2075..940778546501595dc48c475cd4ceecbb56d10b90 100644 (file)
@@ -374,7 +374,7 @@ osd_mount_options_xfs: noatime,largeio,inode64,swalloc
 osd_objectstore: bluestore
 
 # Any device containing these patterns in their path will be excluded.
-osd_auto_discovery_exclude: "dm-*|loop*"
+osd_auto_discovery_exclude: "dm-*|loop*|md*"
 
 # xattrs. by default, 'filestore xattr use omap' is set to 'true' if
 # 'osd_mkfs_type' is set to 'ext4'; otherwise it isn't set. This can