~akaris/cloud-init:bug1679817-b

Last commit made on 2017-04-27
Get this branch:
git clone -b bug1679817-b 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:
bug1679817-b
Repository:
lp:~akaris/cloud-init

Recent commits

e8e0495... by Andreas Karis

Fix dual stack IPv4/IPv6 configuration for RHEL

Dual stack IPv4/IPv6 configuration via config drive is broken for RHEL7.
This patch fixes several scenarios for IPv4/IPv6/dual stack with multiple IP assignment
Removes unpopular IPv4 alias files and invalid IPv6 alias files

Also fixes associated unit tests

LP: #1679817
LP: #1685534
LP: #1685532

d16632a... by Dylan Perry

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

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

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

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

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

pylint: update output style to parseable

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

5afe4cd... by Joshua Powers

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

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

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