sru cloud-init (22.3 update) Bionic, Focal, Jammy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
== Begin SRU Template ==
[Impact]
This release sports both bug-fixes and new features and we would like to
make sure all of our supported customers have access to these
improvements. The notable ones are:
Config Module Additions / Deletions:
- Ansible config module
- Wireguard config module
- Drop debug module
Behavior changes:
- schema: Resolve user-data if --system given
- mounts: fix suggested_swapsize for > 64GB hosts
New Features:
- clean: add param to remove /etc/machine-id for golden image creation
- Return cc_set_hostname to PER_INSTANCE frequency
- clean: allow third party cleanup scripts in /etc/cloud/clean.d
- ssh_util: Handle sshd_config.d folder
Optimizations:
- meta-schema: add infra to skip inapplicable modules
- main: avoid downloading full contents cmdline urls
- Update WebHookHandler to run as background thread
- net: Implement link-local ephemeral ipv6
New debian/patches context:
- Ensure password expire doesn't apply to hashed users:
This patch sets a feature flag EXPIRE_
See the changelog entry below for a full list of changes and bugs.
[Test Case]
The following development and SRU process was followed:
https:/
The cloud-init team will be in charge of attaching the artifacts and
console output of the appropriate run to the bug. cloud-init team
members will not mark ‘verification-done’ until this has happened.
* Automated Test Results
Test results are attached in comments 14-16 below.
[Regression Potential]
In order to mitigate the regression potential, the results of the
aforementioned integration tests are attached to this bug.
[Discussion]
== End SRU Template ==
== Changelog ==
- Fix v2 interface matching when no MAC (LP: #1986551)
- test: reduce number of network dependencies in flaky test (#1702)
- docs: publish cc_ubuntu_
- net: Fix EphemeraIPNetwork (#1697)
- test: make ansible test work across older versions (#1691)
- Networkd multi-address support/fix (#1685) [Teodor Garzdin]
- make: drop broken targets (#1688)
- net: Passthough v2 netconfigs in netplan systems (#1650)
(LP: #1978543)
- NM ipv6 connection does not work on Azure and Openstack (#1616)
[Emanuele Giuseppe Esposito]
- Fix check_format_tip (#1679)
- DataSourceVMware: fix var use before init (#1674) (LP: #1987005)
[Andrew Kutz]
- rpm/copr: ensure RPM represents new clean.d dir artifacts (#1680)
- test: avoid centos leaked check of /etc/yum.
(#1676)
- typo correction in Changelog
- sources: obj.pkl cache should be written anyime get_data is run
(#1669)
- schema: drop release number from version file (#1664)
- pycloudlib: bump to quiet azure HTTP info logs (#1668)
- test: fix wireguard integration tests (#1666)
- Github is deprecating the 18.04 runner starting 12.1 (#1665)
- integration tests: Ensure one setup for all tests (#1661)
- tests: ansible test fixes (#1660)
- Prevent concurrency issue in test_webhook_
- Workaround net_setup_link race with udev (#1655) (LP: #1983516)
- test: drop erroneous lxd assertion, verify command succeeded (#1657)
- Workaround net_setup_link race with udev (#1655)
- Prevent concurrency issue in test_webhook_
- tests: ansible test fixes (#1660)
- integration tests: Ensure one setup for all tests (#1661)
- Github is deprecating the 18.04 runner starting 12.1 (#1665)
- test: fix wireguard integration tests (#1666)
- pycloudlib: bump to quiet azure HTTP info logs (#1668)
- schema: drop release number from version file (#1664)
- sources: obj.pkl cache should be written anyime get_data is run (#1669)
- schema: drop release number from version file (#1664)
- pycloudlib: bump to quiet azure HTTP info logs (#1668)
- test: fix wireguard integration tests (#1666)
- Github is deprecating the 18.04 runner starting 12.1 (#1665)
- integration tests: Ensure one setup for all tests (#1661)
- tests: ansible test fixes (#1660)
- Prevent concurrency issue in test_webhook_
- Workaround net_setup_link race with udev (#1655) (LP: #1983516)
- test: drop erroneous lxd assertion, verify command succeeded (#1657)
- Fix Chrony usage on Centos Stream (#1648) [Sven Haardiek] (LP: #1885952)
- sources/azure: handle network unreachable errors for savable PPS (#1642)
[Chris Patterson]
- Return cc_set_hostname to PER_INSTANCE frequency (#1651) (LP: #1983811)
- test: Collect integration test time by default (#1638)
- test: Drop forced package install hack in lxd integration test (#1649)
- schema: Resolve user-data if --system given (#1644)
[Alberto Contreras] (LP: #1983306)
- test: use fake filesystem to avoid file removal (#1647)
[Alberto Contreras]
- tox: Fix tip-flake8 and tip-mypy (#1635) [Alberto Contreras]
- config: Add wireguard config module (#1570) [Fabian Lichtenegger-Lukas]
- tests: can run without azure-cli, tests expect inactive ansible (#1643)
- typing: Type UrlResponse.
- testing: fix references to `DEPRECATED.` (#1641) [Alberto Contreras]
- ssh_util: Handle sshd_config.d folder [Alberto Contreras] (LP: #1968873)
- schema: Enable deprecations in cc_update_etc_hosts (#1631)
[Alberto Contreras]
- Add Ansible Config Module (#1579)
- util: Support Idle process state in get_proc_ppid() (#1637)
- schema: Enable deprecations in cc_growpart (#1628) [Alberto Contreras]
- schema: Enable deprecations in cc_users_groups (#1627)
[Alberto Contreras]
- util: Fix error path and parsing in get_proc_ppid()
- main: avoid downloading full contents cmdline urls (#1606)
[Alberto Contreras] (LP: #1937319)
- schema: Enable deprecations in cc_scripts_vendor (#1629)
[Alberto Contreras]
- schema: Enable deprecations in cc_set_passwords (#1630)
[Alberto Contreras]
- sources/azure: add experimental support for preprovisioned os disks
(#1622) [Chris Patterson]
- Remove configobj a_to_u calls (#1632) [Stefano Rivera]
- cc_debug: Drop this module (#1614) [Alberto Contreras]
- schema: add aggregate descriptions in anyOf/oneOf (#1636)
- testing: migrate test_sshutil to pytest (#1617) [Alberto Contreras]
- testing: Fix test_ca_certs integration test (#1626) [Alberto Contreras]
- testing: add support for pycloudlib's pro images (#1604)
[Alberto Contreras]
- testing: migrate test_cc_
[Alberto Contreras]
- network: add system_info network activator cloud.cfg overrides (#1619)
(LP: #1958377)
- docs: Align git remotes with uss-tableflip setup (#1624)
[Alberto Contreras]
- testing: cover active config module checks (#1609) [Alberto Contreras]
- lxd: lvm avoid thinpool when kernel module absent
- lxd: enable MTU configuration in cloud-init
- doc: pin doc8 to last passing version
- cc_set_passwords fixes (#1590)
- Modernise importer.py and type ModuleDetails (#1605) [Alberto Contreras]
- config: Def activate_
- config: define activate_
[Alberto Contreras]
- clean: add param to remove /etc/machine-id for golden image creation
- config: define `activate_
[Alberto Contreras]
- config: define activate_
[Alberto Contreras]
- sources/azure: reorganize tests for network config (#1586)
[Chris Patterson]
- config: Define activate_
[Alberto Contreras]
- meta-schema: add infra to skip inapplicable modules [Alberto Contreras]
- sources/azure: don't set cfg["password"] for default user pw (#1592)
[Chris Patterson]
- schema: activate grub-dpkg deprecations (#1600) [Alberto Contreras]
- docs: clarify user password purposes (#1593)
- cc_lxd: Add btrfs and lvm lxd storage options (SC-1026) (#1585)
- archlinux: Fix distro naming[1] (#1601) [Kristian Klausen]
- cc_ubuntu_
- clean: allow third party cleanup scripts in /etc/cloud/clean.d (#1581)
- sources/azure: refactor chassis asset tag handling (#1574)
[Chris Patterson]
- Add "netcho" as contributor (#1591) [Kaloyan Kotlarski]
- testing: drop impish support (#1596) [Alberto Contreras]
- black: fix missed formatting issue which landed in main (#1594)
- bsd: Don't assume that root user is in root group (#1587)
- docs: Fix comment typo regarding use of packages (#1582)
[Peter Mescalchin]
- Update govc command in VMWare walkthrough (#1576) [manioo8]
- Update .github-cla-signers (#1588) [Daniel Mullins]
- Rename the openmandriva user to omv (#1575) [Bernhard Rosenkraenzer]
- sources/azure: increase read-timeout to 60 seconds for wireserver
(#1571) [Chris Patterson]
- Resource leak cleanup (#1556)
- testing: remove appereances of FakeCloud (#1584) [Alberto Contreras]
- Fix expire passwords for hashed passwords (#1577)
[Sadegh Hayeri] (LP: #1979065)
- mounts: fix suggested_swapsize for > 64GB hosts (#1569) [Steven Stallion]
- Update chpasswd schema to deprecate password parsing (#1517)
- tox: Remove entries from default envlist (#1578) (LP: #1980854)
- tests: add test for parsing static dns for existing devices (#1557)
[Jonas Konrad]
- testing: port cc_ubuntu_advantage test to pytest (#1559)
[Alberto Contreras]
- Schema deprecation handling (#1549) [Alberto Contreras]
- Enable pytest to run in parallel (#1568)
- sources/azure: refactor ovf-env.xml parsing (#1550) [Chris Patterson]
- schema: Force stricter validation (#1547)
- ubuntu advantage config: http_proxy, https_proxy (#1512)
[Fabian Lichtenegger-Lukas]
- net: fix interface matching support (#1552) (LP: #1979877)
- Fuzz testing jsonchema (#1499) [Alberto Contreras]
- testing: Wait for changed boot-id in test_status.py (#1548)
- CI: Fix GH pinned-format jobs (#1558) [Alberto Contreras]
- Typo fix (#1560) [Jaime Hablutzel]
- tests: mock dns lookup that causes long timeouts (#1555)
- tox: add unpinned env for do_format and check_format (#1554)
- cc_ssh_import_id: Substitute deprecated warn (#1553) [Alberto Contreras]
- Remove schema errors from log (#1551) (LP: #1978422) (CVE-2022-2084)
- Update WebHookHandler to run as background thread (SC-456) (#1491)
(LP: #1910552)
- testing: Don't run custom cloud dir test on Bionic (#1542)
- bash completion: update schema command (#1543) (LP: #1979547)
- CI: add non-blocking run against the linters tip versions (#1531)
[Paride Legovini]
- Change groups within the users schema to support lists and strings
(#1545) [RedKrieg]
- make it clear which username should go in the contributing doc (#1546)
- Pin setuptools for Travis (SC-1136) (#1540)
- Fix LXD datasource crawl when BOOT enabled (#1537)
- testing: Fix wrong path in dual stack test (#1538)
- cloud-config: honor cloud_dir setting (#1523)
[Alberto Contreras] (LP: #1976564)
- Add python3-debconf to pkg-deps.json Build-Depends (#1535)
[Alberto Contreras]
- redhat spec: udev/rules.d lives under /usr/lib on rhel-based systems
(#1536)
- tests/azure: add test coverage for DisableSshPassw
(#1534) [Chris Patterson]
- summary: Add david-caro to the cla signers (#1527) [David Caro]
- Add support for OpenMandriva (https:/
[Bernhard Rosenkraenzer]
- tests/azure: refactor ovf creation (#1533) [Chris Patterson]
- Improve DataSourceOVF error reporting when script disabled (#1525) [rong]
- tox: integration-
(#1528) [Paride Legovini]
- CI: drop linters from Travis CI (moved to GH Actions) (#1530)
[Paride Legovini]
- sources/azure: remove unused encoding support for customdata (#1526)
[Chris Patterson]
- sources/azure: remove unused metadata captured when parsing ovf (#1524)
[Chris Patterson]
- sources/azure: remove dscfg parsing from ovf-env.xml (#1522)
[Chris Patterson]
- Remove extra space from ec2 dual stack crawl message (#1521)
- tests/azure: use namespaces in generated ovf-env.xml documents (#1519)
[Chris Patterson]
- setup.py: adjust udev/rules default path (#1513)
[Emanuele Giuseppe Esposito]
- Add python3-deconf dependency (#1506) [Alberto Contreras]
- Change match macadress param for network v2 config (#1518)
[Henrique Caricatti Capozzi]
- sources/azure: remove unused userdata property from ovf (#1516)
[Chris Patterson]
- sources/azure: minor refactoring to network config generation (#1497)
[Chris Patterson]
- net: Implement link-local ephemeral ipv6
- Rename function to avoid confusion (#1501)
- Fix cc_phone_home requiring 'tries' (#1500) (LP: #1977952)
- datasources: replace networking functions with stdlib and cloudinit.net
code
- Remove xenial references (#1472) [Alberto Contreras]
- Oracle ds changes (#1474) [Alberto Contreras] (LP: #1967942)
- improve runcmd docs (#1498)
- add 3.11-dev to Travis CI (#1493)
- Only run github actions on pull request (#1496)
- Fix integration test client creation (#1494) [Alberto Contreras]
- tox: add link checker environment, fix links (#1480)
- cc_ubuntu_
- cc_yum_add_repo: Fix repo id canonicalization (#1489)
[Alberto Contreras] (LP: #1975818)
- Add linitio as contributor in the project (#1488) [Kevin Allioli]
- net-convert: use yaml.dump for debugging python NetworkState obj (#1484)
(LP: #1975907)
- test_schema: no relative $ref URLs, replace $ref with local path (#1486)
- cc_set_hostname: do not write "localhost" when no hostname is given
(#1453) [Emanuele Giuseppe Esposito]
- Update .github-cla-signers (#1478) [rong]
- schema: write_files defaults, versions $ref full URL and add vscode
(#1479)
- docs: fix external links, add one more to the list (#1477)
- doc: Document how to change module frequency (#1481)
- tests: bump pycloudlib (#1482)
- tests: bump pycloudlib pinned commit for kinetic Azure (#1476)
- testing: fix test_status.py (#1475)
- integration tests: If KEEP_INSTANCE = True, log IP (#1473)
- Drop mypy excluded files (#1454) [Alberto Contreras]
- Docs additions (#1470)
- Add "formatting tests" to Github Actions
- Remove unused arguments in function signature (#1471)
- Changelog: correct errant classification of LP issues as GH (#1464)
- Use Network-Manager and Netplan as default renderers for RHEL and Fedora
(#1465) [Emanuele Giuseppe Esposito]
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
tags: | added: verification-needed-bionic verification-needed-focal verification-needed-jammy |
Changed in cloud-init (Ubuntu): | |
status: | New → In Progress |
description: | updated |
description: | updated |
description: | updated |
tags: |
added: verification-done verification-done-bionic verification-done-focal verification-done-jammy removed: verification-needed verification-needed-bionic verification-needed-focal verification-needed-jammy |
description: | updated |
Changed in cloud-init (Ubuntu): | |
status: | In Progress → Fix Released |
An upload of cloud-init to bionic-proposed has been rejected from the upload queue for the following reason: "Missing cloud-init.postinst changes from most recent security upload".