~akaris/cloud-init:bug1684349

Last commit made on 2017-04-22
Get this branch:
git clone -b bug1684349 https://git.launchpad.net/~akaris/cloud-init
Only Andreas Karis can upload to this branch. If you are Andreas Karis please log in for upload directions.

Branch merges

Branch information

Name:
bug1684349
Repository:
lp:~akaris/cloud-init

Recent commits

4f75b2d... by Andreas Karis on 2017-04-22

bug1684349

d16632a... by Dylan Perry on 2017-04-07

Fix yum repo config where keys contain array values

ConfigObj produces configuration files that are incompatible with yum if
multiple values are listed for a configuration key. Switch to the builtin
configparser, and ConfigParser (Python 2) which correctly handles this
case.

Add additional test case for array values in yum_repos definition

LP: #1592150

2775622... by Joshua Powers on 2017-04-10

template: Update debian backports template

Debian backports are contains in the main repo and not somewhere
seperate. Thanks to Charles Plessy.

LP: #1627293

b613de7... by Joshua Powers on 2017-04-10

rsyslog: replace ~ with stop

The discard action (tilde character) has been replaced by the
“stop” RainerScript directive. It is considered more intuitive and
offers slightly better performance.

The tilde operator was deprecated in rsyslog 7. Distributions
using rsyslog older than that will need to patch.

LP: #1367899

73a97b1... by Joshua Powers on 2017-04-10

Doc: add additional RTD examples

Includes missing examples for RTD, including
examples for datasources, disk partitions and apt update.

Also fix doc in cloud-config-update-apt.txt.

LP: #1459604

068dec2... by Scott Moser on 2017-04-20

Fix growpart for some cases when booted with root=PARTUUID.

Growing the root partition would fail in either of two cases:
 a.) if the device /dev/root existed
 b.) the kernel command line had upper case letters in PARTUUID=<value>
     the kernel will accept upper case partuuid, but udev creates
     links with lower case. In that scenario, we need to adjust to
     a /dev/disk/by-<partuuid|uuid> with lower case.

The fix here addresses that, and also fixes uuid similarly for the
lowercase issue.

LP: #1684869

a7d8fb4... by Joshua Powers on 2017-04-06

pylint: update output style to parseable

This makes the output much easier to view and parse through while
fixing issues.

5afe4cd... by Joshua Powers on 2017-04-06

pylint: fix all logging warnings

This will change all instances of LOG.warn to LOG.warning as warn
is now a deprecated method. It will also make sure any logging
uses lazy logging by passing string format arguments as function
parameters.

33816e9... by Syed Mushtaq Ahmed on 2017-04-05

CloudStack: Add NetworkManager to list of supported DHCP lease dirs.

To query the metadata, the Cloudstack source currently scans a predefined
DHCP lease directories to find the IP of the DHCP server. This list does
not include "/var/lib/NetworkManager/" which is the default directory in
CentOS7. Add that directory to the list.

df4ca45... by Dimitri John Ledkov on 2017-04-20

net: kernel lies about vlans not stealing mac addresses, when they do

Introduce is_vlan function and call that when building dictionary of
interfaces by mac address.

LP: #1682871