~raharper/curtin:fix/extract-multipath-config

Last commit made on 2019-09-06
Get this branch:
git clone -b fix/extract-multipath-config 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:
fix/extract-multipath-config
Repository:
lp:~raharper/curtin

Recent commits

35895b8... by Ryan Harper

Remove whitespace damage

7585d92... by Ryan Harper

Update regex to use group(0)

d3bf462... by Ryan Harper

Add test-data

1921095... by Ryan Harper

Add unittest for mpath regex and fix issue it found.

1d39dad... by Ryan Harper

Use regular expression to find multipath id from DM_UUID value

73cbe32... by Ryan Harper

Account for device-mapper multipath partitions, drop duplicate config entries

1cef237... by Ryan Harper

block-discover: handle multipath disks

Update block-discover to annotate disks and partitions that are
part of a multipath device. Using probed data, curtin now includes
a 'multipath' key in type:disk and type:partition entries. This
allows readers of extracted config to understand the duplicated information
present.

Other changes:
 - Update block schema to accept 'multipath' string
 - Update documentation for storage 'multipath' string
 - Update block-discover-to-config tool to handle probe data without
   'storage' top level key.
 - Add unittests for multipath detection in probe data.

LP: #1839915

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

d0a3721... by Reed Slaby <email address hidden>

Allow EUI-64 formatted WWNs for disks and accept NVMe partition naming

Added WWNs matching the EUI-64 format (e.g. eui.0011223344556677) to
the list of valid WWNs in the DISK schema definition.

Altered storage parser to allow partitions named like /dev/nvmeXnXpX.
These were previously discarded since the naming scheme does not match
traditional HDD/SSD drives.

LP: #1840524