lp://qastaging/~wesley-wiedenmeier/curtin/curtin-net

Created by Wesley Wiedenmeier and last modified
Get this branch:
bzr branch lp://qastaging/~wesley-wiedenmeier/curtin/curtin-net
Only Wesley Wiedenmeier can upload to this branch. If you are Wesley Wiedenmeier please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Wesley Wiedenmeier
Project:
curtin
Status:
Development

Recent revisions

440. By Scott Moser

vmtest: add 'webserv' helper

Rather than running python -m SimpleHTTPServer for the web server
add a program 'webserv' in tools/ dir and use that.

The benefits of this approach are:
 a.) no longer need python2 (we were invoking with 'python')
 b.) webserv listens on both ipv4 and ipv6 addresses.

439. By Scott Moser

vmtest: add CURTIN_VMTEST_CURTIN_EXE variable.

This allows us to control which 'curtin' program is used. The program
must support curtin's 'pack' interface, and needs to handle finding itself
appropriately.

Also here, we drop the PYTHONPATH setting in launch, as it is no longer
needed as our bin/curtin wrapper handles that.

The target use case is really for easily running vmtest with an installed
version of curtin, allowing us to easily verify stable release updates.

438. By Ryan Harper

multipath: don't run update-grub; setup_grub will handle this better.

During an update-grub in the target system when using multipath
the 'os-prober' tool used to discover other operating systems
to add to the grub menu does not handle duplicate paths and
mounts the same disk up twice causing unknown behavior which
sometimes results in timeouts during installation.

Dropping the direct call to update-grub and deferring to curtin's
setup_grub method (which disables os-prober) works around the
issue. Separate bug filed against os-prober.

LP: #1656369

437. By Scott Moser

revert: Test Workaround: skip XenialTestNvme for a short time.

Previous commit disabled XenialTestNvme due to broken kernel in xenial.
That has been fixed in LP: #1651602, so re-enable the test.

436. By Scott Moser

Test Workaround: skip XenialTestNvme for a short time.

This skips test XenialTestNvme that is failing due to LP: #1651602.
That fix should land in xenial -updates at some point in mid January.
So, skip the test until Jan 21, and then raise exception
to remind ourselves to revert the change after the 30th.

435. By Scott Moser

pep8: fix pep8 errors found with 'make pep8' on zesty.

This can also be seen by running pep8 in a tox environment, but
as it is right now, our Makefile uses ./tools/run-pep8.
That runs 'pep8', where our tox environment runs 'flake8'.

We should really resolve that difference, but for now I am just
quickly committing the fix.

434. By Christian Ehrhardt 

Workaround failures caused by gpg2 daemons left running in chroot.

Kill dirmngr/gpg-agent after add-apt-repository as an interim workaround.
The failure occurs only when gpg2 is used, so only on yakkety or newer.

Add a Yakkety test to excercise this path.

433. By Scott Moser

Install u-boot-tools when running on a system with u-boot.

Previously lp:maas-images was adding u-boot-tools to all ARM images before
they were published to images.maas.io. lp:maas-images now republishes the
SquashFS images from cloud-images.ubuntu.com unmodified. The unmodified
images do not contain u-boot-tools causing the kernel to fail to install
on systems with u-boot.

We now use flash-kernel to show which packages are needed for installation
and install those as it indicates.

432. By Ryan Harper

block: fix partition kname for raid devices

mdadm RAID1 supports partitioning of the md device and utilizes
the 'p' char to name partitions: md0p1, md0p2 etc.

- Fix by adding 'md' to curtin/block:partition_kname
- Update block unittest to test/check md names
- Introduce a new vmtest to exercise partitioning RAID1 disks
  (test_mdadm_bcache.py:TestMirrorbootPartitions)

431. By Ryan Harper

Fix up tox errors that slipped in and new pycodestyle 2.1.0 complaints.

pycodestyle 2.1.0 is more strict about requiring two newlines after a
block of code.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://qastaging/~curtin-dev/curtin/trunk
This branch contains Public information 
Everyone can see this information.