~raharper/curtin:fix/schema-nvme-wwn

Last commit made on 2019-08-26
Get this branch:
git clone -b fix/schema-nvme-wwn 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/schema-nvme-wwn
Repository:
lp:~raharper/curtin

Recent commits

53e7c11... by Ryan Harper

Even more compact version.

cf6ad0d... by Ryan Harper

we only match nvme or eui once

a1f2db2... 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

88a1a7e... by Dan Watkins

Makefile: split Python 2 and Python 3 unittest targets apart

This doesn't change the behaviour of any existing targets, but splits
the unittest target into unittest2 and unittest3 (so the packaging can
run only the Python 3 tests).

44997e8... by Dimitri John Ledkov

Switch to the new btrfs-progs package name, with btrfs-tools fallback.

940b90b... by Ryan Harper

vmtest: bump ram size on Zfs tests for Disco and Eoan

04bd030... by Ryan Harper

vmtest: drop Cosmic test cases

8484763... by Ryan Harper

unittests: mock subp in ChrootableTarget _exit_ test cases

9bc9136... by Ryan Harper

util.ChrootableTarget: skip rename of resolv.conf if not present in target

A target OS may not include an /etc/resolv.conf. ChrootableTarget attempts
to move the in-chroot resolv.conf out of the way and copy in the host
resolv.conf. If the target image does not have /etc/resolv.conf then we
fail when we call os.rename. Avoid this error by only invoking the
rename if the target image has a resolv.conf.

LP: #1834382