~harald-jensas/cloud-init:bug/1848690

Last commit made on 2019-10-21
Get this branch:
git clone -b bug/1848690 https://git.launchpad.net/~harald-jensas/cloud-init
Only Harald Jensås can upload to this branch. If you are Harald Jensås please log in for upload directions.

Branch merges

Branch information

Name:
bug/1848690
Repository:
lp:~harald-jensas/cloud-init

Recent commits

1608b91... by Harald Jensås

net: fix subnet_is_ipv6() for stateless|stateful

Function return false for ipv6_dhcpv6-stateless|stateful,
the eni renderer does not add '6' to 'inet' which is
incorrect.

The subnet_is_ipv6() function is updated to also return
true if startswith('ipv6').

LP: #1848690

ecb501b... by Xiaofeng Wang

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

fix some more typos in comments

7e69925... by do3meli

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

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

Add .venv/ to .gitignore

26e1f06... by do3meli

Small typo fixes in code comments.

823708e... by Ryan Harper

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.

7d5d34f... by Scott Moser

Add Support for e24cloud to Ec2 datasource.

e24cloud provides an EC2 compatible datasource.
This just identifies their platform based on dmi 'system-vendor'
having 'e24cloud'. https://www.e24cloud.com/en/ .
Updated chassis typo in zstack unit test docstring.

LP: #1696476

d3b1c4a... by Adam Dobrawy <email address hidden>

Add RbxCloud datasource