]> git.apps.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:55 +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 bdf2864a83a65efed04704dfeed16507ccf9960b..ac7f24433f05bc97db739de5bda1ef12197ae8d1 100644 (file)
@@ -373,7 +373,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 b333373c32fbb3c4100420d20ed605eda89eaf09..093a40be53851efe1860695ae27a2eaa16d13986 100644 (file)
@@ -373,7 +373,7 @@ ceph_rhcs_version: 3
 #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 e4f50542ad7fe527d95b8ee4fbb8cd07bed11646..e9f633205802e4951a24026261754be367ce2f64 100644 (file)
@@ -365,7 +365,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