~raharper/curtin:fix/vmtest-ipv6-mtu-bump-skip-date

Last commit made on 2019-10-24
Get this branch:
git clone -b fix/vmtest-ipv6-mtu-bump-skip-date 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/vmtest-ipv6-mtu-bump-skip-date
Repository:
lp:~raharper/curtin

Recent commits

70e7fab... by Ryan Harper

vmtest: skip ipv6-mtu testing, still broken

9df1f86... by Ryan Harper

tools/xkvm: add -nographic to speed up devopt query

On systems which include qemu graphical components the time
needed to invoke qemu for querying if an string is a device
option can take many seconds, especially over remote connections.
Adding the '-nographic' parameter prevents qemu from loading
and launching additional resources that are not needed to determine
the devopt query answer.

eba4715... by Dan Watkins

test_block_dasd: fix random_device_id to only generate valid IDs

Previously we could generate an invalid one iff `random.randint(1,
0x10000)` returned 0x10000.

LP: #1849549

0e4dc57... by Ryan Harper

vmtest: update skip_if_arch message

Currently the skip message reads like this:

    SKIP: skip due to ppc64el=ppc64el

With this change we'll see:

    SKIP: skip due to current arch=ppc64el

0390735... by Ryan Harper

Add skip_by_date to eoan ipv6 vlan test

70fa30b... by Michael Hudson-Doyle

storage_config: interpret value, not presence, of DM_MULTIPATH_DEVICE_PATH

Curtin assumes any block device that has the DM_MULTIPATH_DEVICE_PATH
key set in udev is a block device, but that's not correct. Since
multipath-tools 0.7.7 (according to
https://www.spinics.net/lists/dm-devel/msg35965.html), _every_ block
device that multipathd looks at gets that key set, but it is set to "1"
for things that are part of a multipathed device and "0" for things that
are not. So fix the checks in curtin to follow that.

4f6e365... by Ryan Harper

vmtest: Add skip_by_date for test_ip_output on eoan + vlans

edfdb1d... by Ryan Harper

block-schema: update raid schema for preserve and metadata

Curtin can now accept type: raid storage config which sets the
'preserve' boolean to 'true' which informs curtin that it does
not need to create a new raid device.

We also accept a 'metadata' version hint in the schema as curtin
passes this value along as info to users of block-discover.

12b437d... by Ryan Harper

dasd: update partition table value to 'vtoc'

DASD devices use a 'vtoc' partition table type. It is similar to DOS
but it is not in MS-DOS format. Adjust this value to 'vtoc' in docs,
block schema and the example config for vmtest.

LP: #1847073

e174e1c... by Ryan Harper

clear-holders: increase the level for devices with holders by one

In the case where clear-holders looks at a dependent device, if the
parent is already in the registry, we want to take the max level
and then increment this by one to ensure the dependent device is
shutdown first. This resolves the case where we have an LVM over
top a bcache device and we need to remove the LVM device before
any of the bcache devices can be removed as they may share a
cacheset in which case all bcache devices must be stopped before
the cacheset can be removed.

LP: #1844543