~ocsi/cloud-init:master

Last commit made on 2019-05-08
Get this branch:
git clone -b master https://git.launchpad.net/~ocsi/cloud-init
Only LÉNÁRT János can upload to this branch. If you are LÉNÁRT János please log in for upload directions.

Branch merges

Branch information

Name:
master
Repository:
lp:~ocsi/cloud-init

Recent commits

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

69251d5... by Dan Watkins

packages: update rpm specs for new bash completion path

LP: #1825444

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

test_azure: mock util.SeLinuxGuard where needed

Mock util.SeLinuxGuard to do nothing within tests that mock functions
used by the guard, when those mocks confuse the guard. This has no
impact when executing unit tests on systems which do not enable selinux
(e.g. Ubuntu).

LP: #1825253

947d3c2... by Dan Watkins

setup.py: install bash completion script in new location

Per lintian, this is the path at which bash completion scripts should
now be installed.

937555f... by Gonéri Le Bouder

mount_cb: do not pass sync and rw options to mount

On FreeBSD, mount_cd9660 does not accept the sync option that is enabled
by default. In addition, the sync is only useful with the `rw` mode.
However the `rw` mode was never used.

This patch removes the `rw` and `sync` parameter of `mount_cb` to
simplify the code base and resolve the FreeBSD issue.

LP: #1645824