~sw37th/cloud-init:opennebula_fix_null_gateway6

Last commit made on 2018-08-01
Get this branch:
git clone -b opennebula_fix_null_gateway6 https://git.launchpad.net/~sw37th/cloud-init
Only Akihiko Ota can upload to this branch. If you are Akihiko Ota please log in for upload directions.

Branch merges

Branch information

Name:
opennebula_fix_null_gateway6
Repository:
lp:~sw37th/cloud-init

Recent commits

3f8f324... by Akihiko Ota

OpenNebula: Fix up unittests

Added docstring, changed argument order of assertEqual, and splited some
tests.
Changed from assertIsNone() to assertEqual() to avoid RPM build error.

148dda5... by Akihiko Ota

OpenNebula: add tests for several get methods of OpenNebulaNetwork

57941a4... by Akihiko Ota

OpenNebula: add tests for OpenNebulaNetwork.gen_conf()

180c39a... by Akihiko Ota

OpenNebula: Fix null gateway6

The OpenNebula data source generates an invalid netplan yaml file
if the IPv6 gateway is not defined in context.sh.

LP: #1768547

2a9d620... by Scott Moser

pylint: Fix pylint warnings reported in pylint 2.0.0.

Pylint 2.0.0 was recently released and complains more about
logging-not-lazy than it used to. I've fixed those warnings, here.

The changes in rh_subscription are more extensive. pylint may be
complaining incorrectly there, but the tests were not correctly un-doing
all of their mock/patching. This cleans those up and makes pylint happy.

e3e05e7... by Scott Moser

get_linux_distro: add support for rhel via redhat-release.

Add examples and tests for RHEL values of redhat-release and os-release.

These examples were collected from IBMCloud images.

on rhel systems 'platform.dist()' returns 'redhat' rather than 'rhel'
so we have adjusted the response to align there.

d41cc82... by Chad Smith

get_linux_distro: add support for centos6 and rawhide flavors of redhat

An empty /etc/os-release exists on some redhat images, most notably
the COPR build images of centos6 and rawhide. On platforms missing
/etc/os-release or having an empty /etc/os-release file, use
_parse_redhat_release on rhel-based images to obtain distribution and
release codename information.

LP: #1781229

b07e491... by Scott Moser

tools: add '--debug' to tools/net-convert.py

In order to see some of the WARNING messages added by bug 1774666
I wanted logging output of tools/net-convert. This does:

a.) add '--debug' and make it print the network state and read yaml only
    if --debug is provided.
b.) set up basic logging so warnings goes to console by default and
    debug goes to console if --debug is provided.

90e3ade... by Scott Moser

tests: bump the version of paramiko to 2.4.1.

Paramiko version 2.4.0 had a CVE (CVE-2018-7750) against it.
It is not likely particularly worrisome for our integration tests,
but we might as well bump it.

2e62cb8... by Chad Smith

docs: note in rtd about avoiding /tmp when writing files

LP: #1727876