From: Aurelien Jarno Date: Sun, 23 Jun 2019 12:13:08 +0000 (+0200) Subject: lvm-osuosl-ganeti2.conf: only look for /dev/sda to workaround multipath issues X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fdsa-puppet.git;a=commitdiff_plain;h=6f170969f00763a6592413d200b598414cc283e9 lvm-osuosl-ganeti2.conf: only look for /dev/sda to workaround multipath issues multipath doesn't work properly on pieta. Workaround the issue by only looking at /dev/sda. --- diff --git a/modules/dsa_lvm/files/lvm-osuosl-ganeti2.conf b/modules/dsa_lvm/files/lvm-osuosl-ganeti2.conf index eeaa01e2f..08031810f 100644 --- a/modules/dsa_lvm/files/lvm-osuosl-ganeti2.conf +++ b/modules/dsa_lvm/files/lvm-osuosl-ganeti2.conf @@ -139,7 +139,7 @@ devices { # # This configuration option has an automatic default value. # filter = [ "a|.*/|" ] - filter = [ "a|^/dev/sd[ab][0-9]*$|", "r/.*/" ] + filter = [ "a|^/dev/sda[0-9]*$|", "r/.*/" ] # Configuration option devices/global_filter. # Limit the block devices that are used by LVM system components. @@ -150,7 +150,7 @@ devices { # global_filter are not opened by LVM. # This configuration option has an automatic default value. # global_filter = [ "a|.*/|" ] - global_filter = [ "a|^/dev/sd[ab][0-9]*$|", "r/.*/" ] + global_filter = [ "a|^/dev/sda[0-9]*$|", "r/.*/" ] # Configuration option devices/cache_dir. # Directory in which to store the device cache file.