Last commit made on 2019-05-10
Get this branch:
git clone -b master https://git.launchpad.net/~pzakha/cloud-init
Only Pavel Zakharov can upload to this branch. If you are Pavel Zakharov please log in for upload directions.

Branch merges

Branch information


Recent commits

baa4785... by "Jason Zions \(MSFT\)" <email address hidden> on 2019-05-10

Azure: Return static fallback address as if failed to find endpoint

The Azure data source helper attempts to use information in the dhcp
lease to find the Wireserver endpoint (IP address). Under some unusual
circumstances, those attempts will fail. This change uses a static
address, known to be always correct in the Azure public and sovereign
clouds, when the helper fails to locate a valid dhcp lease. This
address is not guaranteed to be correct in Azure Stack environments;
it's still best to use the information from the lease whenever possible.

acd84e2... by Chad Smith on 2019-05-09

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 on 2019-05-09

freebsd: add chpasswd pkg in the image

cc_set_passwords.py depends on chpasswd binary.

ce5fe3a... by Paride Legovini on 2019-05-09

tests: add Eoan release

acc25d8... by "Jason Zions \(MSFT\)" <email address hidden> on 2019-05-08

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 on 2019-05-08

replace remaining occurrences of LOG.warn

ab6621d... by Anh Vo (MSFT) on 2019-05-08

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) on 2019-04-29

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 on 2019-04-27

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 on 2019-04-23

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.