Last commit made on 2017-05-12
Get this branch:
git clone -b bug/retries-typo https://git.launchpad.net/~larsks/cloud-init
Only Lars Kellogg-Stedman can upload to this branch. If you are Lars Kellogg-Stedman please log in for upload directions.

Branch merges

Branch information


Recent commits

b1bb268... by Lars Kellogg-Stedman

openstack: fix copy/paste typo in _get_url_settings

There was a copy/paste error in _get_url_settings such that the error
message would complain about max wait when in fact it was talking
about retries.

513e99e... by Scott Moser

nova-lxd: read product_name from environment, not platform.

Apparently signals were crossed when this implementation was done.
Cloud-init was reading 'platform' in the environment of pid 1, but
nova-lxd was setting 'product_name'.

The fix is being made here in cloud-init to instead read product_name.

LP: #1685810

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

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

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.