commit 2c1b19761b3d960055ced11558dda22d022d77f4
Author: Alexis Lee <email address hidden>
Date: Fri Aug 21 13:58:06 2015 +0100
Wait for device to be mapped
There's a race condition when trying to perform file injection without
libguestfs, which causes a fallback to nbd device. Although the kpartx
command succeeds, it does so after the code has tested for success, so
Nova thinks it failed.
Reviewed: https:/ /review. openstack. org/215613 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=2c1b19761b3 d960055ced11558 dda22d022d77f4
Committed: https:/
Submitter: Jenkins
Branch: master
commit 2c1b19761b3d960 055ced11558dda2 2d022d77f4
Author: Alexis Lee <email address hidden>
Date: Fri Aug 21 13:58:06 2015 +0100
Wait for device to be mapped
There's a race condition when trying to perform file injection without
libguestfs, which causes a fallback to nbd device. Although the kpartx
command succeeds, it does so after the code has tested for success, so
Nova thinks it failed.
Retry a few times to avoid this.
Co-Authored-By: Paul Carlton <email address hidden> 56c55520ad7123f 47a0130b2a4
Change-Id: Ie5c186562475cd
Closes-Bug: #1428639
Closes-Bug: #1484586