← Back to team overview

curtin-dev team mailing list archive

[Merge] ~mwhudson/curtin:mdadm-check-container into curtin:master

 

The proposal to merge ~mwhudson/curtin:mdadm-check-container into curtin:master has been updated.

Commit message changed to:

block_meta: make preserve: true on a raid in a container work

Pass any supplied container name to raid_verify and on to md_check and
check it against the existing device.

Also tidy up a few other things in the raid verification code path: make
checking functions consistently raise ValueError on failure rather than
returning True / False and have the verification of raid level actually
check the level of the existing array.

This also fixes preserve: true on a raid0 array while we are there --
raid0 arrays do not have degraded or sync_action attributes.

For more details, see:
https://code.launchpad.net/~mwhudson/curtin/+git/curtin/+merge/402384
-- 
Your team curtin developers is requested to review the proposed merge of ~mwhudson/curtin:mdadm-check-container into curtin:master.


References