~raharper/curtin:ubuntu/devel/newupstream-20181010

Last commit made on 2018-10-10
Get this branch:
git clone -b ubuntu/devel/newupstream-20181010 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:
ubuntu/devel/newupstream-20181010
Repository:
lp:~raharper/curtin

Recent commits

e1ff13f... by Ryan Harper

releasing curtin version 18.1-59-g0f993084-0ubuntu1

e95cab8... by Ryan Harper

update changelog (New upstream snapshot 18.1-59-g0f993084).

460c7d5... by Ryan Harper

merge from upstream/master at 18.1-59-g0f993084

0f99308... by Ryan Harper

distro: fix system_upgrade command using string instead of function

The distro system_upgrade configuration dictionary used a string
for the name of the function to call which resulted in attempting
to call a string type which failed. This was found in CI running
proposed upgrade testing.

The fix is to use the function name itself rather than string.
This branch also adds unittest for invoking the system_upgrade path.

LP: #1796968

f4bf707... by Ryan Harper

Capture stdout when using lxc file push

Newer lxd (3.4+) 'file' command now produces progress info in some
cases written to stdout. This breaks curtin-from-container which
is invoked with the 'pack' curtin command which also writes to stdout.
The result was a corrupt curtin package output file which left all
vmtests sitting idle in the ephemeral boot phase and timing out.

To resolve, we capture stdout from lxc file push and report
the contents if file push fails.

14210d5... by Scott Moser

vmtest: boot ephemeral with 'ro' on the kernel command line.

As raised in bug 1792905, when 'ro' is present in on the kernel command
line and the squashfs (rooturl=) parameter does not have a /lib/modules
then copymods fails to copy the modules into the "real root" and
things fail.

Maas is booting with 'ro', so it makes sense for curtin to do the same.
Additionally, 'ro' is present in almost all cases on a command line.

b516065... by Chad Smith

releasing curtin version 18.1-56-g3aafe77d-0ubuntu1

8e44216... by Chad Smith

update changelog (New upstream snapshot 18.1-56-g3aafe77d).

5e754f8... by Chad Smith

merge from master at 18.1-56-g3aafe77d

3aafe77... by Scott Moser

vmtest: Fix typo in skip-by-date.

The previous commit made one skip by date change go backwards.
Instead of 2019 we had set it to 2018.