multipath/iscsi: remove devices from multipath monitoring
Recent multipathd doesn't remove path devices timely when it receives
burst of udev events but wait for a while to start actual removal.
Because os-brick removes path devices in a short time during detaching
a multipath device, it is likely to hit this burst limit and sometimes
path devices are not removed before a subsequent operation is started.
This change ensures that os-brick tells mutlipathd to remove path
devices when the devices should be deleted, so that orphan paths are
not left when starting a subsequent attach operation.
Reviewed: https:/ /review. opendev. org/c/openstack /os-brick/ +/785818 /opendev. org/openstack/ os-brick/ commit/ 1b2e22954216158 47d86508dcd487e c51fa45f25
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 1b2e22954216158 47d86508dcd487e c51fa45f25
Author: Takashi Kajinami <email address hidden>
Date: Mon Apr 12 14:07:46 2021 +0900
multipath/ iscsi: remove devices from multipath monitoring
Recent multipathd doesn't remove path devices timely when it receives
burst of udev events but wait for a while to start actual removal.
Because os-brick removes path devices in a short time during detaching
a multipath device, it is likely to hit this burst limit and sometimes
path devices are not removed before a subsequent operation is started.
This change ensures that os-brick tells mutlipathd to remove path
devices when the devices should be deleted, so that orphan paths are
not left when starting a subsequent attach operation.
Closes-Bug: #1924652 dc1545bff2c5c48 5a8041e7930
Change-Id: I65204aa7495740