cloud-init:v22.3

Last commit made on 2022-09-30
Get this branch:
git clone -b v22.3 https://git.launchpad.net/cloud-init
Members of cloud-init Commiters can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
v22.3
Repository:
lp:cloud-init

Recent commits

36c23f5... by Brett Holman

Release 22.3.4

Bump the version in cloudinit/version.py to 22.3.4 and
update ChangeLog.

f05f420... by James Falcon

Fix Oracle DS primary interface when using IMDS (#1757)

If /run/net* files aren't available, we use IMDS for configuring the
default interface. Rather than attempt a static configuration, grab
the MAC and let DHCP do the rest (as it does when /run/net*
is available).

LP: #1989686

ef362f1... by Brett Holman

Release 22.3.3

Bump the version in cloudinit/version.py to 22.3.3 and
update ChangeLog.

LP: #1986703

4003c16... by James Falcon

Fix Oracle DS not setting subnet when using IMDS (#1735)

Previous to 6270b50, if iSCSI config was not available, we used the
ephemeral DHCP4 address as the primary address on Oracle. After
6270b50, we instead used the IMDS address configuration. However, the
parsing of IMDS ignored the "subnetCidrBlock" field, causing the
resulting network config to have the wrong subnet.

LP: #1989686

ba9cb78... by Brett Holman

Release 22.3.2

Bump the version in cloudinit/version.py to 22.3.2 and
update ChangeLog.

LP: #1986703

19b08da... by Brett Holman

azure: define new attribute for pre-22.3 pickles (#1725)

A new attribute was added to DataSourceAzure[1].
Since the base class uses CloudInitPickleMixin,
we need to define this new attribute in _unpickle()

Add multiple tests to improve pickle coverage.

[1] https://github.com/canonical/cloud-init/pull/1523

0ef0974... by Chris Patterson <email address hidden>

sources/azure: ensure instance id is always correct (#1727)

Currently, get_instance_id() assumes that the instance ID is in the metadata.
If not found, it falls back to a hardcoded string "iid-datasource".

Override this behavior to query the instance id as needed.

Signed-off-by: Chris Patterson <email address hidden>

1f1dd5f... by Brett Holman

Release 22.3.1

Bump the version in cloudinit/version.py to 22.3.1 and
update ChangeLog.

LP: #1986703

70ce644... by James Falcon

Fix v2 interface matching when no MAC

Commit af40478 added a regression. When parsing v2 config, matching can
fail when no MAC is available. This commit fixes that behavior.

LP: #1986551

fccb708... by Brett Holman

test: reduce number of network dependencies in flaky test (#1702)

Reducing the number of ssh-import-id calls hitting Github endpoints should
help with automated tests getting rate limited by Github.