lp://qastaging/~nacc/curtin/iscsi-new-tests

Created by Nish Aravamudan and last modified
Get this branch:
bzr branch lp://qastaging/~nacc/curtin/iscsi-new-tests
Only Nish Aravamudan can upload to this branch. If you are Nish Aravamudan please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Nish Aravamudan
Project:
curtin
Status:
Development

Recent revisions

491. By Nish Aravamudan

Merge with lp:curtin.

490. By Nish Aravamudan

tests: add vmtests for LVM and MD on iSCSI

These tests currently fail, but want to demonstrate the fix works.

489. By Scott Moser

Copy curtin install log into target.

The install log was not correctly being copied into the target as a
regression merged in at revno 465.
Now, by default the target should get:
  install log: /root/curtin-install.log
  merged config: /root/curtin-install-cfg.yaml

488. By Joshua Powers

vmtest: add in post-test log post-processing

Adds additional post-processing of logs using curtin-print-log to the
collected vmtest logs. Makes curting-print-log thread-safe and allows
it to accept an output directory.

487. By Joshua Powers

vmtest: update source.list test

The change that was made to the builtin /etc/apt/sources.list in the
cloud images for xenial was done so recently under bug LP: #1513529.
That was by design and required for consistency and this change updates
the curtin vmtest accordingly.

LP: #1682516

486. By Scott Moser

add recursive flag to do_umount, add --umount to block-meta

This adds a 'recursive' argument to util.do_umount, and utilizes
it from install.py. The basic idea of do_umount with recursive
is to walk through /proc/mounts in reverse and unmount anything
mounted under the provided mountpoint (or the mountpoint itself).

Also added here is use of that function from block-meta command.
We add a flag --umount to unmount filesystems at its end.

485. By Scott Moser

load_command_environment: fix strict flag, and unit tests.

The strict=True option to load_command_environment was broken.
Instead of checking for the expected environment variables in the
environment, it would check the state names.

484. By Ryan Harper

block_meta: Attempt to mount by UUID= if possible

When generating fstab entries in mount_handler prefer UUID if the
underlying volume has an identifiable UUID available.

Update vmtests to check by UUID in test_basic.

Fixes LP:#1676991

483. By Scott Moser

Make systems with root on bcache use root=UUID=.

Systems with root on bcache would end up booting with root=/dev/bcache0
(or bcache1). Bcache device names are not guaranteed, so this could
cause issues.

The fix is to invoke 'udevadm trigger' after creating a filesystem on
a bcache device. That will populate /dev/disk/by-uuid, which will
cause grub to properly decide to boot by root=UUID=.

482. By Nish Aravamudan

Fix iscsi disks that have a ':' in the target name.

The regular expression we have now incorrectly allows ':' in IPv4
addresses and hostnames, rather than only IPv6 addresses. This ends up as
an inability to use ':' in target names (common and supported), because we
greedily consume the prefix (host) and suffix (target).

In order to fix this, we need to require that IPv6 addresses are enclosed
in [], so we can disambiguate them from hostnames and IPv4 addresses which
have different validation.

Fix the regex and add a unittest for this case.

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.

Subscribers