~chad.smith/cloud-init:fix-ec2-fallback-nic

Last commit made on 2017-11-18
Get this branch:
git clone -b fix-ec2-fallback-nic https://git.launchpad.net/~chad.smith/cloud-init
Only Chad Smith can upload to this branch. If you are Chad Smith please log in for upload directions.

Branch merges

Branch information

Name:
fix-ec2-fallback-nic
Repository:
lp:~chad.smith/cloud-init

Recent commits

c8864ac... by Chad Smith on 2017-11-18

add upgrade test with missing network key on ec2

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

check if network key is absent from metadata. In this case we are dealing with old obj.pkl metadata which didn't contain network. We need to re-crawl

9a97a6e... by Chad Smith on 2017-11-17

handle refresh of metadata across upgrade

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