~raharper/curtin:fix/lvm-name-lp1764602

Last commit made on 2018-04-17
Get this branch:
git clone -b fix/lvm-name-lp1764602 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/lvm-name-lp1764602
Repository:
lp:~raharper/curtin

Recent commits

2175a7c... by Ryan Harper

Add extra disk for test

1914ca9... by Ryan Harper

vmtests: add vg and lv with hyphen

cb74ff1... by Ryan Harper

clear-holders: fix lvm name use when shutting down

The shutdown_lvm handler was reconstructing the name of
the lvm device incorrectly if the vg or lv name included
a hyphen. LVM requires names with hyphens to duplicate the hyphen.
Resolve this issue by keeping the original name from the sysfs
entry and using that when issuing the dmsetup command.

LP: #1764602

fc19cec... by Ryan Harper

vmtest: bionic images no longer use the vlan package

Bionic images do not use the 'vlan' package to provide vlan
network configuration; skip this on bionic images.

2ee5245... by Scott Moser

pycodestyle: Fix invalid escape sequences in string literals.

A bit of information from python doc that I got by never having known:
  String literals may optionally be prefixed with a letter `r' or `R';
  such strings are called raw strings and use different rules for
  backslash escape sequences.
  ...
  Unless an `r' or `R' prefix is present, escape sequences in strings are
  interpreted according to rules similar to those used by Standard C.

So basically, any use of \ not followed by one of [\'"abfnrtv]
or \ooo (octal) \xhh (hex) or a newline is invalid. This is most
commonly seen for us in regex. To solve, you either:
 a.) use a raw string r'...'
 b.) correctly escape the \ that was not intended to be interpreted.

Python has deprecated these invalid string literals now
  https://bugs.python.org/issue27364
and pycodestyle is identifying them with a W605 warning.
  https://github.com/PyCQA/pycodestyle/pull/676

45564ee... by Scott Moser

Drop ubuntu branch management script new-upstream-snapshot.

This script was used for managing our ubuntu/ branches.
Instead of maintaining it here, we have moved it to another location.
  https://github.com/cloud-init/qa-scripts/

ad8bcca... by Chad Smith

Release 18.1

72edda2... by Ryan Harper

zfs/zpool version=28 by default, allow users to override default values.

Include documentation note and link to openzfs wiki for furthe details
around compatibility and features.

LP: #1754013

bd40234... by Ryan Harper

helpers/shell-archive: drop use of tar --sparse flag

Do not use tar [-S, --sparse] flag: at least one filesystem (btrfs)
requires sync/fsync to ensure proper detection of sparse files.
curtin doesn't contain any sparse files so this does not affect payload
size.

LP: #1757565

36bc81a... by Scott Moser

vmtest: In Basic install, add entry for swap to fstab and verify its use.

The basic set of tests were setting up a swap partition, but not getting
it used. The change here adds a mount entry so that the OS will turn the
swap on, and then adds a test that verifies it is used.