From 3b824a0a12ff51fdfaac17893bb1e591307c904d Mon Sep 17 00:00:00 2001 From: Victor Chembaev Date: Wed, 4 Sep 2024 22:11:27 +0300 Subject: [PATCH] Fix os-brick multipathd del map fails for SAN multipath devices Change-Id: Ie73d7eef294e9e579314a61b39382f3ff3ba4b4b Closes-Bug: 2078973 --- ansible/roles/multipathd/templates/multipath.conf.j2 | 1 + .../fix-multipathd-kpartx-disable-44732c1378ae2291.yaml | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 releasenotes/notes/fix-multipathd-kpartx-disable-44732c1378ae2291.yaml diff --git a/ansible/roles/multipathd/templates/multipath.conf.j2 b/ansible/roles/multipathd/templates/multipath.conf.j2 index 5aa10573e7..478eef0230 100644 --- a/ansible/roles/multipathd/templates/multipath.conf.j2 +++ b/ansible/roles/multipathd/templates/multipath.conf.j2 @@ -1,6 +1,7 @@ defaults { user_friendly_names no find_multipaths yes + skip_kpartx yes } blacklist { diff --git a/releasenotes/notes/fix-multipathd-kpartx-disable-44732c1378ae2291.yaml b/releasenotes/notes/fix-multipathd-kpartx-disable-44732c1378ae2291.yaml new file mode 100644 index 0000000000..3bcf8a84da --- /dev/null +++ b/releasenotes/notes/fix-multipathd-kpartx-disable-44732c1378ae2291.yaml @@ -0,0 +1,7 @@ +--- +fixes: + - | + Add ``skip_kpartx yes`` to multipath.conf ``defaults`` section to prevent + kpartx scanning multipath devices and unlock ``multipathd del map`` + operation of os-brick for volume detaching oprtaions. + `LP#2078973 `__`