Merge lp:~raharper/curtin/trunk.fix-lvm-over-raid into lp:~curtin-dev/curtin/trunk
Proposed by
Ryan Harper
Status: | Merged |
---|---|
Merged at revision: | 525 |
Proposed branch: | lp:~raharper/curtin/trunk.fix-lvm-over-raid |
Merge into: | lp:~curtin-dev/curtin/trunk |
Diff against target: |
47 lines (+13/-6) 2 files modified
curtin/block/mdadm.py (+10/-6) tests/vmtests/test_mdadm_bcache.py (+3/-0) |
To merge this branch: | bzr merge lp:~raharper/curtin/trunk.fix-lvm-over-raid |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Scott Moser (community) | Approve | ||
Chad Smith | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Review via email: mp+329765@code.launchpad.net |
Description of the change
mdadm: handle write failures to sysfs entries when stopping mdadm
mdadm_stop command tries a number of methods to stop an existing
array. Writes to sysfs fail differently, this patch catches both
IOErrors and OSErrors when writing to sysfs entries, logs and continues
with the stop operation.
Updating the LVM over RAID vmtest to run in dirty_disk mode reproduces
a failure reported and is resolved with this branch.
LP: #1708052
To post a comment you must log in.
vmtest on this branch running over the LVM over RAID test-case is here:
https:/ /jenkins. ubuntu. com/server/ view/curtin/ job/curtin- vmtest- devel-amd64/ 25/