Comment 9 for bug 1652788

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-nailgun-agent (stable/newton)

Reviewed: https://review.openstack.org/418429
Committed: https://git.openstack.org/cgit/openstack/fuel-nailgun-agent/commit/?id=6b864564bc1a24782343b365de3bc52f7822520c
Submitter: Jenkins
Branch: stable/newton

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)