cloud-init:tests-wip

Last commit made on 2020-11-23
Get this branch:
git clone -b tests-wip https://git.launchpad.net/cloud-init
Members of cloud-init Commiters can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
tests-wip
Repository:
lp:cloud-init

Recent commits

9e08b4f... by Dan Watkins

wip

29cd0a8... by James Falcon

[squash] review comments

c5573af... by James Falcon

LXD VM support in integration tests

66b4be8... by Jonathan Lung <email address hidden>

Support configuring SSH host certificates. (#660)

Existing config writes keys to /etc/ssh after deleting files matching
a glob that includes certificate files. Since sshd looks for
certificates in the same directory as the keys, a host certificate
must be placed in this directory. This update enables the certificate's
contents to be specified along with the keys.

Co-authored-by: jonathan lung <email address hidden>
Co-authored-by: jonathan lung <email address hidden>

5d4a9a4... by Dan Watkins

add integration test for LP: #1900837 (#679)

As the first test of this SRU cycle, this also introduces the
sru_2020_11 mark to allow us to easily identify the set of tests
generated for this SRU.

12ef754... by =?utf-8?q?Mina_Gali=C4=87?= <email address hidden>

cc_resizefs on FreeBSD: Fix _can_skip_ufs_resize (#655)

On FreeBSD, if a UFS has trim: (-t) or MAC multilabel: (-l) flag, resize
FS fail, because the _can_skip_ufs_resize check gets tripped up by the
missing options.

This was reported at FreeBSD Bugzilla:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250496 and as
LP: #1901958

Rather than fixing the parser as in the patches proposed there (and
attempted in #636) this pull-request rips out all of it, and simplifies
the code. We now use `growfs -N` and check if that returns an error. If
it returns the correct kind of error, we can skip the resize, because we
either are at the correct size, or the filesystem in question is broken
or not UFS. If it returns the wrong kind of error, we just re-raise it.

LP: #1901958

73e704e... by Anh Vo (MSFT)

DataSourceAzure: push dmesg log to KVP (#670)

Pushing dmesg log to KVP to help troubleshoot VM boot issues

9707a08... by James Falcon <email address hidden>

Make mount in place for tests work (#667)

IMAGE_SOURCE = 'IN_PLACE' wasn't working previously. Replaced
LXD launch with an init, then mount, then start.

bfaee8c... by Dan Watkins

integration_tests: restore emission of settings to log (#657)

eea7544... by Anh Vo (MSFT)

DataSourceAzure: update password for defuser if exists (#671)

cc_set_password will only update the password for the default user if
cfg['password'] is set. The existing code of datasource Azure will fail
to update the default user's password because it does not set that
metadata. If the default user doesn't exist in the image, the current
code works fine because the password is set during user create and
not in cc_set_password