Comment 6 for bug 1698337

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to diskimage-builder (master)

Reviewed: https://review.openstack.org/475022
Committed: https://git.openstack.org/cgit/openstack/diskimage-builder/commit/?id=250aeb5d219db1a0fc01033168a55f7f61e60c74
Submitter: Jenkins
Branch: master

commit 250aeb5d219db1a0fc01033168a55f7f61e60c74
Author: Michael Johnson <email address hidden>
Date: Fri Jun 16 09:26:06 2017 -0700

    Fix mkfs failure when loop device is not ready

    There was a race in diskimage-builder where the mkfs call after a
    kpartx -avs for the loop device would fail because the device was
    not yet ready. This adds a udevadm settle call after the kpartx
    to make sure the udev event queue has cleared.

    Change-Id: I90103b59357edebbac7a641e8980cb282d37561b
    Closes-Bug: #1698337