~raharper/curtin:feature/vmtest-add-centos-from-bionic

Last commit made on 2019-06-05
Get this branch:
git clone -b feature/vmtest-add-centos-from-bionic 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:
feature/vmtest-add-centos-from-bionic
Repository:
lp:~raharper/curtin

Recent commits

2720f6b... by Ryan Harper

clarify btrfs-debug-tree comment

8dc196e... by Ryan Harper

vmtest: add Centos66/Centos70 FromBionic release and re-add tests

Newer MAAS will use Bionic to deploy Centos and curtin until now
did not test this path. Critically, Centos66 has issues with ext4
features that are enabled by default in Bionic and newer, namely
'64bit' and 'metadata_csum'. These features break centos66 grub
probing which results in failed deployment, LP: #1775424.

Add additiona Centos66/70 tests to verify installing from Bionic
is successful. For Centos66, we test the known workaround which is
to use 'ext3' as the root filesystem, and we introduce a test-case
which recreates the failure (test_simple.py:Centos66BionicTestSimple)
but leave it disabled by default.

b828a0f... by Ryan Harper

block-discover: add cli/API for exporting existing storage to config

Curtin can now probe an existing system for block devices and convert that
information into a storage_config yaml document representing the devices,
partitions, filesystems, etc as they would be if created from scratch.

This cli and API depend upon probert for discovery and
curtin.storage_config.validate_config to generate valid configs.

7ab5ed7... by Ryan Harper

vmtest: refactor test_network code for Eoan

Eoan images no longer contain 'route' and 'route6' from 'net-tools'
package. If the output is not present, rely on 'ip route show' and
'ip 6 route show' output instead.

0049e0a... by Michael Hudson-Doyle

curthoooks: disable daemons while reconfiguring mdadm

By switching from subp(..., target=...) to ChrootableTarget.

LP: #1829325.

b6e8a1c... by Michael Hudson-Doyle

mdadm: fix install to existing raid

Just change the export=False to export=True in the call to mdadm_examine
in md_check_array_membership.

LP: #1830157

8c347f4... by Paride Legovini

apt_proxy env var set but empty => do not setup any proxy

Sample use case: apt-cacher-ng is setup as the apt proxy
on the host system (via Acquire::HTTP::Proxy), but it is
not wanted and not functional in the guest systems used
for the vmtests.

6e9e274... by Dan Watkins

release 19.1

1d1a577... by Ryan Harper

vmtest: add missing skip_by_date on Eoan test_network_mtu

cdddfe5... by Ryan Harper

vmtest: remove skip_by_date on Disco Allindata test

This test now passes so remove the skip_by_date decorator.