~raharper/curtin:mwhudson-vmtest-reuse-half-a-raid

Last commit made on 2019-09-06
Get this branch:
git clone -b mwhudson-vmtest-reuse-half-a-raid https://git.launchpad.net/~raharper/curtin
Only Ryan Harper can upload to this branch. If you are Ryan Harper please log in for upload directions.

Branch merges

Branch information

Name:
mwhudson-vmtest-reuse-half-a-raid
Repository:
lp:~raharper/curtin

Recent commits

fbc9696... by Ryan Harper

Update comment around exception handling for partial raid shutdown

22d9742... by Ryan Harper

Don't forget to return the paths

05c2aaf... by Ryan Harper

Refactor to handle not present devices

In some scenarios, the partitions in the config _may_ be present
but we need to handle if they are not. Additionally, if they were
present when we initially start clearing devices, they wont be present
after the clear so assert_clear needs to adapt to allow that.

20033d3... by Ryan Harper

Discover how to spell Discovering

3f09b5d... by Ryan Harper

fix log message parameters

22c966c... by Ryan Harper

Handle partial raid on partitions

Consider disks and partitions when checking for holders that
need removal before they can be used. Additionally when shutting
down a raid, if it is inactive or broken, writes to the /dev/mdX
device will fail which is expected, don't exit instead, log a
non-fatal error and continue with shutting down the raid.

With these fixes TestReuseRAIDMemberPartition vmtests now pass.

LP: #1835091

dfd8de0... by Michael Hudson-Doyle

use raid0 not raid1 for these tests

4e61129... by Michael Hudson-Doyle

vmtests: test using a RAID member when the rest of the RAID is missing

Two tests: both create a RAID0 out of two partitions and then trash one
of the partitions. One test then tries to reuse the remaining RAID partition
and the other reformats the disk containing it.

38ce22b... by Ryan Harper

vmtest: fix typo in EoanBcacheBasic test name

b36da8f... by Ryan Harper

storage schema: Update nvme wwn regex to allow for nvme wwid format

As the installer is more widely used, we're encountering more variance
in the WWN formats. This branch updates the nvme regex to accept the
WWID format in addition to the EUI format previously fixed.

LP: #1841321