nova/nova/tests/unit/virt/disk/mount
Alexis Lee 2c1b19761b 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 <paul.carlton2@hp.com>
Change-Id: Ie5c186562475cd56c55520ad7123f47a0130b2a4
Closes-Bug: #1428639
Closes-Bug: #1484586
2016-03-16 10:34:52 +00:00
..
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_api.py Wait for device to be mapped 2016-03-16 10:34:52 +00:00
test_block.py virt: allow for direct mounting of LocalBlockImages 2015-12-10 16:15:44 +00:00
test_loop.py virt: convert disk mount API to use nova.virt.image.model 2015-06-04 13:47:40 +01:00
test_nbd.py virt: convert disk mount API to use nova.virt.image.model 2015-06-04 13:47:40 +01:00