~raharper/curtin:release/19.3

Last commit made on 2019-11-05
Get this branch:
git clone -b release/19.3 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:
release/19.3
Repository:
lp:~raharper/curtin

Recent commits

48a476b... by Ryan Harper

Release 19.3

Bump the version in curtin/__init__.py to be 19.3.

LP: #1851390

a586514... by Ryan Harper

Update HACKING.rst with Josh Powers contact info.

8e618b3... by Paride Legovini

t/jenkins-runner: replace $EPOCHSECONDS with 'date +%s'

The $EPOCHSECONDS variable has been introduced in Bash 5, and we
need jenkins-runner to stay compatible with Bash 4 for the moment.

1fbf7d8... by Ryan Harper

curthooks: skip setup_kernel_img_conf on eoan and newer

In Eoan, link_in_boot is the default so curtin no longer needs
to generate a kernel-img.conf controlling link_in_boot.

LP: #1847257

d55dbb0... by Ryan Harper

block_meta: use lookup for wwn, fix fallback from wwn, serial, path

NVMe devices may provide a ID_WWN value from udev, but the NVMe rules
do not create a by-id/wwn-$ID_WWN symlink which breaks behavior with
other ID_WWN devices resulting in curtin not finding certain NVMe
devices. Resolve this issue buy using block.lookup_disk on WWN values
as well as serial.

Additional fixes to block_meta.get_path_to_storage_volume:
- get_path_to_storage_volume will try wwn, serial, and ultimately
  path values in order to find the specified disk
- Add os.path.exists check to proposed constructed values, if the
  path is not valid, we continue to use different keys if possible.
- Updated the Exception message to indicate the volume wasn't found
  and emit the config it used.

LP: #1849322

9da90cb... 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 leveraging the dname values and looking up
the correct kernel name for a specific target dname.

f4f329c... by Ryan Harper

schema: Add ptable value 'unsupported'

Probert output may include values of partition table 'label'
that curtin does not support. This triggers schema validation
errors for common values, like 'mac' or 'PMBR' and likely
other valid table names but are not something that curtin
can create. Instead of adding more values to the schema, mark
such table types as 'unsupported' allowing the existing table
and partitions to be re-used.

This branch also modifies block_meta disk_handler to not
attempt to validate a preserved partition table if it marked
as 'unsupported'.

LP: #1848535

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