diskimage-builder/diskimage_builder/block_device
Maksim Malchuk 84d6af7de8 Repeat to umount filesystem when exception occurs
Sometimes umount doesn't have much time to finish and failed with
error 'target is busy', but this is not an actual error in some cases
and the operation should be repeated again with some timeout.

This solves the issue and raise actual exception only after several
tries with timeout.

Closes-Bug: #2004492
Change-Id: I069af85b52e20e9fd688f9ae07e66beb2179f3e1
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2023-02-01 20:09:47 +03:00
..
level0 Move localloop to exec_sudo 2018-06-29 11:22:24 +10:00
level1 Support LVM thin provisioning 2022-08-24 10:34:42 +12:00
level2 Convert labels to upper case 2018-06-19 11:12:54 +02:00
level3 Repeat to umount filesystem when exception occurs 2023-02-01 20:09:47 +03:00
level4 Move rollback into NodeBase object 2017-06-08 17:14:20 +10:00
tests Start running dib-lint again 2022-09-21 07:56:05 +10:00
__init__.py Clear __init__.py from cmd move 2017-05-11 18:52:14 +10:00
blockdevice.py Replace deprecated import of ABCs from collections 2021-07-17 01:02:19 +09:00
cmd.py Uncap hacking 2020-02-24 10:34:46 +11:00
config.py Uncap hacking 2020-02-24 10:34:46 +11:00
exception.py Move exception to it's own file (again) 2017-05-20 06:44:39 +00:00
plugin.py Drop six usage 2020-06-05 12:04:37 +02:00
utils.py Do dmsetup remove device in rollback 2022-08-18 10:23:41 +12:00