~smoser/cloud-init:bug/1732917-fix-fallback-interface

Last commit made on 2017-11-17
Get this branch:
git clone -b bug/1732917-fix-fallback-interface https://git.launchpad.net/~smoser/cloud-init
Only Scott Moser can upload to this branch. If you are Scott Moser please log in for upload directions.

Branch merges

Branch information

Name:
bug/1732917-fix-fallback-interface
Repository:
lp:~smoser/cloud-init

Recent commits

a565685... by Scott Moser on 2017-11-17

show a warning if no fallback nic found

5261f73... by Scott Moser on 2017-11-17

do not use delattr. it didnt work in testing interactively in ipython

d9d5220... by Scott Moser on 2017-11-17

EC2: Fix bug using fallback nic restoring from old pickled object.

If user upgraded to new cloud-init and rebooted, the restored
object never was pickled with a value in fallback_nic. That caused
an attempt to configure networking with a None device.

We support reading the old .fallback_nic attribute if it ever
got set, but new versions will call net.find_fallback_nic() if
there has not been one found.

LP: #1732917

d90318b... by Chad Smith on 2017-11-17

ntp: fix configuration template rendering for openSUSE and SLES

Add opensuse distro support to cc_ntp module.

LP: #1726572

6ad23fe... by Chad Smith on 2017-11-17

centos: Provide the failed #include url in error messages

On python 2.7 and earlier (CentOS 6 & 7), UrlErrors raised by requests do
not report the url which failed. In such cases, append the url if not
present in the error message.

This fixes nightly CI failures at
https://jenkins.ubuntu.com/server/view/cloud-init/.

e10ad2d... by Andrew Jorgensen on 2014-03-06

Catch UrlError when #include'ing URLs

Without this the entire stage can fail, which will leave an instance
unaccessible.

Reviewed-by: Tom Kirchner <email address hidden>
Reviewed-by: Matt Nierzwicki <email address hidden>
Reviewed-by: Ben Cressey <email address hidden>

22a14a6... by Robert Schweikert on 2017-11-08

hosts: Fix openSUSE and SLES setup for /etc/hosts and clarify docs.

The etc/hosts file is was not properly setup for openSUSE or SLES
when manage_etc_hosts is set in the config file.

Improve the doc to address the fact that the 'localhost' ip is
distribution dependent (not always 127.0.0.1).

LP: #1731022

9bc4ce0... by David Mulford on 2017-10-09

rh_subscription: Perform null checks for enabled and disabled repos.

The rh_subscription module doesn't perform null checks when attempting to
iterate on the enabled and disable repos arrays. When only one is
specified, cloud-init fails to run.

420c345... by Robert Schweikert on 2017-11-08

Improve warning message when a template is not found.

At present the location for the template file look up upon failure
includes the template file itself. However based on the wording of the
message it should only contain the template directory issue

LP: #1731035

b6deb1d... by Scott Moser on 2017-11-08

Replace the temporary i9n.brickies.net with i9n.cloud-init.io.

We had used some dns records in i9n.brickies.net (my personal domain)
as a temporary solution until we got names registered in the cloud-init.io
namespace.

We now have CNAME records for:
  ubuntu.i9n.cloud-init.io
  cloudinit1.cloud-init.io
  cloudinit2.cloud-init.io