]> 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>
Thu, 5 Dec 2019 09:14:25 +0000 (10:14 +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>
group_vars/all.yml.sample
group_vars/rhcs.yml.sample
roles/ceph-defaults/defaults/main.yml

index eaa71335dc0218d361f3eba62b23f80db84a8642..9c2eade85d5003894ca38045e326e44a086943d5 100644 (file)
@@ -384,7 +384,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 315db4f7a343d788b5f8d63f4dff16a321ec47c0..17843cc8bb93dfd329c10099f7c64c4db33425f2 100644 (file)
@@ -384,7 +384,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 5e45b37a209c4d8d1ab6b5ac86758212dc6e09b6..c9df974445251011bd48d2e183a6679a7143473b 100644 (file)
@@ -376,7 +376,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