~raharper/curtin:fix/vmtest-scsi-use-dname

Last commit made on 2019-10-24
Get this branch:
git clone -b fix/vmtest-scsi-use-dname 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-scsi-use-dname
Repository:
lp:~raharper/curtin

Recent commits

4d5303f... by Ryan Harper

use assertIsNotNone, expand _d2k

3741b72... by Ryan Harper

Drop debugging

5538e3a... by Ryan Harper

more debug, fix dname for root and home

b6504c9... by Ryan Harper

Add some debugging

0c3c198... by Ryan Harper

vmtest: Adjust TestScsiBasic to use dnames to find correct disk

The TestScsiBasic test has some assumptions on which scsi device
will have expected content. On PPC64, the pci device enumeration
is not as stable as it is on x86 resulting in test failures. This
patch resolves this by leverating the dname values and looking up
the correct kernel name for a specific target dname.

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