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.
Reviewed: https:/ /review. openstack. org/475022 /git.openstack. org/cgit/ openstack/ diskimage- builder/ commit/ ?id=250aeb5d219 db1a0fc01033168 a55f7f61e60c74
Committed: https:/
Submitter: Jenkins
Branch: master
commit 250aeb5d219db1a 0fc01033168a55f 7f61e60c74
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: I90103b59357ede bbac7a641e8980c b282d37561b
Closes-Bug: #1698337