~stefanor/cloud-init:excise-a_to_u

Last commit made on 2022-08-02
Get this branch:
git clone -b excise-a_to_u https://git.launchpad.net/~stefanor/cloud-init
Only Stefano Rivera can upload to this branch. If you are Stefano Rivera please log in for upload directions.

Branch merges

Branch information

Name:
excise-a_to_u
Repository:
lp:~stefanor/cloud-init

Recent commits

0813b82... by Stefano Rivera

Add myself to CLA signers list

dd95b81... by Stefano Rivera

Remove _a_to_u() calls

configobj upstream removed it in
https://github.com/DiffSK/configobj/commit/7b07952dc599fb00d2dd2b5a1c1d1ec19d720132

In this case it should be a no-op on Python 3

d7ce6bf... by Alberto Contreras

testing: migrate test_cc_set_passwords to pytest (#1615)

6e49877... by Chad Smith

network: add system_info network activator cloud.cfg overrides (#1619)

Support overriding network activators in cloud.cfg system_info
on disk.

Default cloud-init activators are used either during hot-plug or
for datasources that are detected during init-network stage when
basic networking has already been setup by the OS.a

Activators are discovered in the following priority order and
determined based on the presence of related network tools:

system_info:
  network:
    activators: [eni, netplan, network-manager, networkd]

On some systems where multiple network config tools are installed
it is necessary to override the priority order of detection to ensure
one activator is chosen over the other. This is done by providing
the a custom cloud config snippet in a /etc/cloud/cloud.cfg.d/*cfg.

Surface configured Distro.network_activator from system_info
so that the hotplug hook has visibility to the configured
distribution network activator during interface bring_up and
tear_down.

Add typing hints to net.activators search_activator and
select_activator functions.

LP: #1958377

0f3f814... by Alberto Contreras

docs: Align git remotes with uss-tableflip setup (#1624)

`uss-tableflip/scripts/upstream-release` assumes Canonical remote is
called `upstream` and your personal remote `origin`.
Fix upstream git URI.

7b12b7f... by Alberto Contreras

testing: cover active config module checks (#1609)

78941a7... by Brett Holman

lxd: lvm avoid thinpool when kernel module absent

When lvm storage backend is configured, but the active kernel
does not have the kernel module dm-thin-pool.ko, disable
lvm thinpool configuration via `lvm.use_thinpool=false`
when creating the storage pool.

Related bug LP: #1982780 where KVM images do not contain
the dm-thin-pool module.

Add LXD backend integration tests

21056a7... by Brett Holman

lxd: enable MTU configuration in cloud-init

This option exists in LXD already. Plumb the options
without changing default behavior.

7894a53... by Brett Holman

doc: pin doc8 to last passing version

Pinned to 0.11.2 because doc8 1.0.0 depends on docutils >= 0.18.1

fe3a2fb... by James Falcon

cc_set_passwords fixes (#1590)

Includes:
* Fix a case where 'is' instead of '==' resulted in incorrectly set
  passwords
* Fix RANDOM password getting logged as RANDOM rather than the
  password
* A new feature flag to allow disabling the fix in e0416cd6 on older
  releases
* Updated deprecated schema text so docs don't say
  "DEPRECATED. DEPRECATED"
* New integration test for new user schema which is now the CI default
* Unit test conversion from CiTestCase to pytest
* New unit tests covering new schema, password expiration, random
  password creation and logging