Merge lp://qastaging/~wesley-wiedenmeier/curtin/1618429 into lp://qastaging/~curtin-dev/curtin/trunk

Proposed by Wesley Wiedenmeier
Status: Merged
Merged at revision: 424
Proposed branch: lp://qastaging/~wesley-wiedenmeier/curtin/1618429
Merge into: lp://qastaging/~curtin-dev/curtin/trunk
Diff against target: 177 lines (+64/-30)
4 files modified
curtin/block/clear_holders.py (+10/-2)
curtin/block/mdadm.py (+18/-5)
tests/unittests/test_block_mdadm.py (+28/-23)
tests/unittests/test_clear_holders.py (+8/-0)
To merge this branch: bzr merge lp://qastaging/~wesley-wiedenmeier/curtin/1618429
Reviewer Review Type Date Requested Status
Server Team CI bot continuous-integration Approve
Ryan Harper (community) Approve
Review via email: mp+304424@code.qastaging.launchpad.net

Description of the change

Before clear_holders runs, it starts a mdadm --assemble in order to detect mdadm devices on the system and remove them cleanly. However, if part of a mdadm device is present, but not enough to assemble it, then this may fail. Therefore, ignore any errors encountered running mdadm --assemble for device wipe purposes.

To post a comment you must log in.
Revision history for this message
Wesley Wiedenmeier (wesley-wiedenmeier) wrote :
Revision history for this message
Wesley Wiedenmeier (wesley-wiedenmeier) wrote :
Revision history for this message
Ryan Harper (raharper) wrote :

Thanks!

review: Approve
Revision history for this message
Server Team CI bot (server-team-bot) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches