commit 6b864564bc1a24782343b365de3bc52f7822520c
Author: Vladimir Kozhukalov <email address hidden>
Date: Wed Jan 4 19:37:10 2017 +0300
Fix multipath device search
When nailgun-agent starts before device mapper
assembles multipath devices it reports physical disks
that are used for multipath devices as usual disks.
This patch does the following
* filter out devices that are DM_MULTIPATH_DEVICE_PATH = 1
* run 'udevadm settle' before scanning multipath devices
* delays scanning multipath devices until building block device info
Change-Id: I088aede0cf3bd1d16a57e7cdec4e50cab2c19175
Closes-Bug: #1652788
(cherry picked from commit 8fbc4d640535387b402aa38cb6227df11c010ff0)
Reviewed: https:/ /review. openstack. org/418429 /git.openstack. org/cgit/ openstack/ fuel-nailgun- agent/commit/ ?id=6b864564bc1 a24782343b365de 3bc52f7822520c
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit 6b864564bc1a247 82343b365de3bc5 2f7822520c
Author: Vladimir Kozhukalov <email address hidden>
Date: Wed Jan 4 19:37:10 2017 +0300
Fix multipath device search
When nailgun-agent starts before device mapper
assembles multipath devices it reports physical disks
that are used for multipath devices as usual disks.
This patch does the following
* filter out devices that are DM_MULTIPATH_ DEVICE_ PATH = 1
* run 'udevadm settle' before scanning multipath devices
* delays scanning multipath devices until building block device info
Change-Id: I088aede0cf3bd1 d16a57e7cdec4e5 0cab2c19175 b402aa38cb6227d f11c010ff0)
Closes-Bug: #1652788
(cherry picked from commit 8fbc4d640535387