lp://staging/~raharper/curtin/trunk.vmtest-logger-classname

Created by Ryan Harper and last modified
Get this branch:
bzr branch lp://staging/~raharper/curtin/trunk.vmtest-logger-classname
Only Ryan Harper can upload to this branch. If you are Ryan Harper please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Ryan Harper
Project:
curtin
Status:
Development

Recent revisions

553. By Ryan Harper

vmtest: reconfigure logger in test class to increase readability

552. By Scott Moser

packaging: update debian/build-deb to remove ~bzrREV when using equal tag

When building a curtin package from tree, if the current revno matches
a tag revision, use the tag value and drop the ~bzrREV from the version
 string.

551. By Scott Moser

pack: fix packing when curtin is installed inside a snap.

When curtin is installed as part of a MAAS snap, then it would fail
to find its helpers directory. That is because instead of helpers
living in usr/lib/curtin/helpers they will be in
 /snap/maas/<version>/usr/lib/curtin/helpers
But helpfully, SNAP will be set in the environment to point to
 /snap/maas/<version>/

The fix is to adjust pack to trust the environment variable
and pack up the installed files based on that prefix.

550. By Scott Moser

tox: move to pylint 1.7.4

Update the pylint version used in tox from 1.5.4 to 1.7.4.
The primary gain from this is the ability to run with python3.6.
  https://github.com/PyCQA/pylint/issues/1113

549. By Scott Moser

vmtests: iscsi minor cleanup.

This does 2 things.
a.) move the building of a rfc4173 string into a function.
b.) replace usage of 'uuidgen' with python standard library 'uuid'

548. By Ryan Harper

vmtests: exercise rootfs over an lvm logical volume

- modify mkfs to handle key=value parameter replacement for mkfs.xfs to
  control the uuid value of the filesystem
- Allow templating of the lvmroot yamls to specify different rootfs format
  types. This allow for testing with multiple fstypes without duplicating
  input yaml
- Fix a lurking CURTIN_REUSE_TOPDIR=1 bug under uefi mode where we attempt
  to rewrite grub.conf always
- Add a specific uefi_lvmroot configuration to match user issue from
  Bug #1731490
- Update vgcreate, lvcreate invocations to zero and wipe target devices
  and volumes where possible (> trusty) which eliminates the scary
  warning about detecting filesystem signatures on lv creation.

547. By Ryan Harper

Switch network dep filter to test for ifupdown/nplan instead of release name

Curtin will install some additional packages in-target depending on the
configuration. For example, if the curtin config includes bridges,
then it will ensure that bridge-utils is installed. These deps are
valid for releases using ifupdown. In Artful and newer (Bionic) netplan
is used instead and these tools are not needed.

This patch changes a release based check to a package install check.
If a system does not have ifupdown and also has netplan (nplan package)
then it will NOT install any ifupdown related deps (bridge-utils, vlan,
ifenslave).

546. By Ryan Harper

Allow control of curtin install unmounting

A Curtin install always unmounts the target. In the subiquity use-case
they would like to support a) if something goes wrong give a shell to
the user to poke around in the target b) skip unmounting automatically
to allow writing of additional files in the target without re-invoking
curtin c) control where curtin mounts up storage devices.

This branch adds two fields to the curtin 'install' config key: The
'target' value is a path that will be used instead of a temporary
directory. The 'unmount' key if found to be present and has the value
of 'disabled' then curtin install will skip the unmount operation.

Additionally to aid in unmounting a target outside of the install
subcommand this branch introduces a curtin 'unmount' subcommand which
takes two params: the 'target' path to the mount point, the default
'target' value is to use the TARGET_MOUNT_POINT environment variable.
Curtin will by default do unmounts in a recursive manner meaning any
directory mounted underneath the target will also be unmounted. A user
may supply '--disable-recursive-mounts' as a flag which will disable
the recursion resulting in a single unmount operation.

545. By Scott Moser

vmtests: Add Bionic release to tests and update classes.

544. By Ryan Harper

storage: add 'options' key mount type to specify mount parameters for filesystems

Add support, documentation, unittests and vmtests to deliver a new parameter to
the mount configuration dictionary. This parameter if set will modify the the
mount options field in the rendered /etc/fstab.

LP: #1709284

Branch metadata

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

Subscribers