~chad.smith/cloud-init:release/19.1

Last commit made on 2019-05-09
Get this branch:
git clone -b release/19.1 https://git.launchpad.net/~chad.smith/cloud-init
Only Chad Smith can upload to this branch. If you are Chad Smith please log in for upload directions.

Branch merges

Branch information

Name:
release/19.1
Repository:
lp:~chad.smith/cloud-init

Recent commits

acd84e2... by Chad Smith

release 19.1

Bump the version on cloudinit/version.py to be 19.1 and update ChangeLog

LP: #1828479

7193b80... by Gonéri Le Bouder

freebsd: add chpasswd pkg in the image

cc_set_passwords.py depends on chpasswd binary.

ce5fe3a... by Paride Legovini

tests: add Eoan release

acc25d8... by "Jason Zions (MSFT)" <email address hidden>

cc_mounts: check if mount -a on no-change fstab path

Under some circumstances, cc_disk_setup may reformat volumes which
already appear in /etc/fstab (e.g. Azure ephemeral drive is reformatted
from NTFS to ext4 after service-heal). Normally, cc_mounts only calls
mount -a if it altered /etc/fstab. With this change cc_mounts will read
/proc/mounts and verify if configured mounts are already mounted and if
not raise flag to request a mount -a. This handles the case where no
changes to fstab occur but a mount -a is required due to change in
underlying device which prevented the .mount unit from running until
after disk was reformatted.

LP: #1825596

9aa97cf... by Dan Watkins

replace remaining occurrences of LOG.warn

ab6621d... by Anh Vo (MSFT)

DataSourceAzure: Adjust timeout for polling IMDS

If the IMDS primary server is not available, falling back to the
secondary server takes about 1s. The net result is that the
expected E2E time is slightly more than 1s. This change increases
the timeout to 2s to prevent the infinite loop of timeouts.

86674f0... by Anh Vo (MSFT)

Azure: Changes to the Hyper-V KVP Reporter

 + Truncate KVP Pool file to prevent stale entries from
   being processed by the Hyper-V KVP reporter.
 + Drop filtering of KVPs as it is no longer needed.
 + Batch appending of existing KVP entries.

784d330... by Scott Moser

git tests: no longer show warning about safe yaml.

Currently on 18.04, running tox -e py27 will spew errors like:
.tests/unittests/test_net.py:2649: YAMLLoadWarning: calling yaml.load()
without Loader=... is deprecated, as the default Loader is unsafe.
Please read https://msg.pyyaml.org/load for full details.

The change here just uses cloud-init's yaml, which does safeloading
by default.

3fb55ea... by Chad

tools/read-version: handle errors

When the cloned branch was not the canonical upstream and tags were not
available, tox would fail because tools/read-version would fail, and
tragically never print the advice that is in tools/read-version about
how to fix it.

This changes tools/read-version to catch the exception that is elsewhere
explicitly thrown and treat that too as an error it can handle.

5de83fc... by Ryan Harper

net/sysconfig: only indicate available on known sysconfig distros

Restrict the sysconfig renderer availabily to known distros.
Ubuntu/Debian systems may include network-manager but they do
not have support for reading sysconfig network output; that is
enabled via a Network-Manager plugin: ifcfg-rh which is not
available in Ubuntu/Debian.

LP: #1819994