~darren-birkett/cloud-init:fix-infiniband-1847114

Last commit made on 2019-10-21
Get this branch:
git clone -b fix-infiniband-1847114 https://git.launchpad.net/~darren-birkett/cloud-init
Only Darren Birkett can upload to this branch. If you are Darren Birkett please log in for upload directions.

Branch merges

Branch information

Name:
fix-infiniband-1847114
Repository:
lp:~darren-birkett/cloud-init

Recent commits

4a94332... by Darren Birkett on 2019-10-08

Ensure sysconfig writes HWADDR when infiniband

a706916... by Darren Birkett on 2019-10-08

Add tests for patch to eni to support infiniband

de48946... by Darren Birkett on 2019-10-07

Fix infiniband net device configuration in eni.py

Commit e7b0e5f72 added support for configuring infiniband devices by
adding a new infiniband 'type'. This commit updates eni.py to consume
this new type and configure infiniband devices correctly

Fixes: 1847114

ecb501b... by Xiaofeng Wang on 2019-10-17

guestcust_util: handle special characters in config file

Handle the special characters when reading VM Tools configure file.
For example, the key and value may contain _, - and . etc.

a86829d... by do3meli on 2019-10-17

fix some more typos in comments

7e69925... by do3meli on 2019-10-17

replace any deprecated log.warn with log.warning

Commit 6797e822959b84c98cf73e02b2a6e3d6ab3fd4fe replaced
the LOG.warn calls that linters were warning about; this
also replaces calls that linters would not have recognised
(as `log` is generally a parameter in these scenarios).

LP: #1508442

fac9898... by Harald Jensås on 2019-10-16

net: handle openstack dhcpv6-stateless configuration

Openstack subnets can be configured to use SLAAC by setting
ipv6_address_mode=dhcpv6-stateless. When this is the case
the sysconfig interface configuration should use
IPV6_AUTOCONF=yes and not set DHCPV6C=yes.

This change sets the subnets type property to the full
network['type'] from openstack metadata.

cloudinit/net/sysconfig.py and cloudinit/net/eni.py
are updated to support new subnet types:
  - 'ipv6_dhcpv6-stateless' => IPV6_AUTOCONF=yes
  - 'ipv6_dhcpv6-stateful' => DHCPV6C=yes

Type 'dhcp6' in sysconfig is kept for backward compatibility
with any implementations that set subnet_type == 'dhcp6'.

LP: #1847517

de03438... by do3meli on 2019-10-16

Add .venv/ to .gitignore

26e1f06... by do3meli on 2019-10-16

Small typo fixes in code comments.

823708e... by Ryan Harper on 2019-10-11

cloud_test/lxd: Retry container delete a few times

LXD integration tests fail sometimes due to failure to delete the
container, usually related to ZFS backend. This is a transient
issue unrelated to the test itself. Teach LXD platform to retry
this a few times before returning an error.