~chad.smith/cloud-init:ec2-dhcp-local-ipv4

Last commit made on 2017-10-31
Get this branch:
git clone -b ec2-dhcp-local-ipv4 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:
ec2-dhcp-local-ipv4
Repository:
lp:~chad.smith/cloud-init

Recent commits

ac118ac... by Chad Smith

address review comments. Call maybe_perform_dhcp_discovery with the fallback_nic, drop accidentaly whitespace

b2064bf... by Chad Smith

flakes

f5b4601... by Chad Smith

add multiple nic definitions to ec2 datasource tests. More unit tests for fallback_nic parameter to conver_ec2_metadata_network_config

b6e0d54... by Chad Smith

WIP: limit EC2.network_config to just the fallback nic

dacb86f... by Chad Smith

VPCs allow you to specify local only IPv4 addresses. Make sure to check local-ipv4s too when enabling dhcp4 configuration

a90a8b1... by Carlos Konstanski

Gentoo: Use "rc-service" rather than "service".

The "service" command will be disappearing soon from Gentoo"s openrc
package. The "rc-service" command is preferred.

LP: #1727121

17a15f9... by Chad Smith

resizefs: Fix regression when system booted with root=PARTUUID=

A recent cleanup of the resizefs module broke resizing when a system was
booted with root=PARTUUID=<uuid> and the device /dev/root does not exist.
This path is exposed with the Ubuntu 16.04 but not with Ubuntu 17.10. A
recreate exists under bug 1684869.

LP: #1725067

5b6fd3a... by Scott Moser

tools: make yum package installation more reliable

During continuous integration tests, we're seeing quite a lot of
unreliablity when running 'yum install'. The change here is to move to
re-trying a run of 'yum install --downloadonly' for 10 times or until
it succeeds. Then afterwards, running yum install from the cache.

This seems safer in general than just re-trying an install operation,
since we are specifically affected by the download phase failing.

Also present are some flake8 fixes to tools/read-dependencies.

c06eea9... by Scott Moser

citest: fix remaining warnings raised by integration tests.

There was fallout in a full integration test run from my adding of
test_no_warnings_in_log which asserted that there could not be a WARNING
found in the /var/log/cloud-init.log

This fixes 2 of the cases:
 * TestCommandOutputSimple had a valid WARNING written, so adjust its
   test case to allow for that.
 * TestLxdDir had a valid config in the test but the module would
   log a WARNING, so fix the module.

Also updates lxd unit tests to look for WARN themselves.

a51968d... by Scott Moser

citest: show the class actual class name in results.

Tests are currently run by creating a temporary subclass of each class
and then executing it (in get_suites). When running the tests suite
the output would contain the temporary class name. That was less than
useful, and made batch runs almost impossible to identify which
test case had an error.

This change goes from output of:
    FAIL: test_no_warnings_in_log \
        (tests.cloud_tests.testcases.get_suite.<locals>.tmp)
To
    FAIL: test_no_warnings_in_log \
       (tests.cloud_tests.testcases.modules.ntp.TestNtp)