~sw37th/cloud-init:opennebula_netconf_v2

Last commit made on 2018-03-17
Get this branch:
git clone -b opennebula_netconf_v2 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_netconf_v2
Repository:
lp:~sw37th/cloud-init

Recent commits

228f1f9... by Akihiko Ota

network: fix issue with nameserver information getting dropped

When converting the v2 configuration to the v1, nameserver information
getting dropped. This patch appends nameserver information to the v1
configuration.

c818d7b... by Akihiko Ota

OpenNebula: Modify to use Network Configuration v2

OpenNebulaNetwork.gen_conf() returns Version 2 Network Config,
and supports IPv6 configuration for OpenNebula.

de34dc7... by Scott Moser

net: recognize iscsi root cases without ip= on kernel command line.

When 'ip=' or 'ip6=' is found on the kernel command line,
cloud-init will consider read network config from /run/net-*.conf files.

There are some iscsi-root scenarios where initramfs configures networking
but the ip= parameter is not present. 2 such cases are:
 a.) static config in /etc/iscsi/iscsi.initramfs (copied into the
initramfs)
 b.) iBft

This changes cloud-init to consider initramfs provided networking
information if:
 * there are /run/net-* files and
 * (ip= or ip6 is on the command line) or open-iscsi.interface file
exists.

LP: #1752391

7ce839f... by Chad Smith

tests: fix flakes warning for unused variable

c6f153e... by Chad Smith

tests: patch leaked stderr messages from snap unit tests

a1f678f... by Chad Smith

cc_snap: Add new module to install and configure snapd and snap packages.

Support installing and configuring snaps on ubuntu systems. Now,
cloud-config files can provide a list or dictionary of snap:assertions
which will be allow configuration of snapd on a system via 'snap ack'
calls. The snap:commands configuration option supports arbitrary system
commands intended to interact with snappy's cli. This allows users to run
arbitrary snappy commands to create users, download, install and
configure snap packages and snapd.

This branch also deprecates old snappy and snap_config modules leaving
warnings in documentation and runtime for consumers of these modules.
Deprecated snap* modules will be dropped in cloud-init v.18.2 release.

95bb226... by Scott Moser

tests: Make pylint happy and fix python2.6 uses of assertRaisesRegex.

Older unittest2.TestCase (as seen in CentOS 6) do not have an
assertRaisesRegex method. They only have the now-deprecated
assertRaisesRegexp.

We need our unit tests to work there and on newer python (3.6).
Simply making assertRaisesRegex = assertRaisesRegexp makes pylint
complain as described in https://github.com/PyCQA/pylint/issues/1946 .

What was here before this commit was actually broken. This commit
makes assertRaisesRegex functional in CentOS 6 and works around
the invalid Deprecated warning from pylint.

To prove this, we use assertRaisesRegex in a unit test which will
be exectued in py27, py3 and py26.

b7b7331... by Ryan Harper

netplan: render bridge port-priority values

Update netplan renderer to write out bridge port-priority values
now that netplan supports the feature.

LP: #1735821

97012fb... by Chad Smith

util: Fix subp regression. Allow specifying subp command as a string.

The command provided to subp can either be a string or a list. This patch
fixes a regression which raised CalledProcessError whenever providing a
string to subp.

LP: #1755965

837021f... by Scott Moser

doc: fix all warnings issued by 'tox -e doc'

Building doc would issue some warnings. This fixes all the warnings,
and changes the "code blocks" that were listed as 'bash' to instead
be 'shell-session'.