sru cloud-init (24.3.1 update) focal, jammy and noble

Bug #2079224 reported by Chad Smith
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
cloud-init (Ubuntu)
Confirmed
Undecided
Unassigned
Focal
Fix Committed
Undecided
Unassigned
Jammy
Fix Committed
Undecided
Unassigned
Noble
Fix Committed
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:

  - Add AOSC linux distribution support (#5310)
  - Add OpenEuler support for cc_spacewalk module (#5530)
  - Add network-config seed support for nocloud datasource (#5566)
  - Support remote URI sources write_files module (#5505)
  - Add trace-level logger (#5414)
  - optimization: eliminate redundant config reads across boot stages (https://github.com/canonical/cloud-init/issues/5536)
  - provide option to set empty passwords and fix password unlock when
    lock_passwd: False on Alpine/FreeBSD/OpenBSD/DragonflyBSD (https://github.com/canonical/cloud-init/issues/5355)

Bug fixes:
  - NetworkManager network v1 rendering of config ensure bond- prefix
  - collect-logs avoid inclusion of sensitive data updated apport integration
  - WSL support multi-part MIME config parts as well as landscape tags for
    provisioning (https://github.com/canonical/cloud-init/issues/5460, https://github.com/canonical/cloud-init/issues/5538)
  - avoid snap refresh on package_upgrade: true when snap refresh is held (https://github.com/canonical/cloud-init/issues/5290)
  - fix(netops): fix ip addr flush command (#5651) (GH: https://github.com/canonical/cloud-init/issues/5648)

Package patch reverts of upstream breaking changes to retain original behavior:
  - Avoid introducing single-process systemd unit cloud-init-main.service
  - deprecation version boundary to indicate cloud-init package downstream version before which 'deprecation' logs are treated only as debug logs
  - avoid attempting to read network-config in NoCloud datasource via nocloud.read_seeded utility to avoid speed impacts while retrying a file which may not be there.

See the changelog entry below for a full list of changes and bugs.

[Test Case]
The following development and SRU process was followed:
https://wiki.ubuntu.com/CloudinitUpdates

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
<TODO-SRU-VERIFICATION: attach automated cloud-init-proposed test artifacts from tests for each release with lxd artifacts>
<TODO-SRU-VERIFICATION: attach automated cloud-init-proposed test artifacts from tests for each release with kvm artifacts>
<TODO-SRU-VERIFICATION: attach automated curtin vmtest with cloud-init proposed>
<TODO-SRU-VERIFICATION: attach Solutions Testing team test results for each LTS>

* Manual Test Results
<TODO-SRU-VERIFICATION: attach manual cloud-init-proposed test artifacts from tests for each release on ec2 datasource>
<TODO-SRU-VERIFICATION: attach manual cloud-init-proposed test artifacts from tests for each release on gce datasource>
<TODO-SRU-VERIFICATION: attach manual cloud-init-proposed test artifacts from tests for each release on azure datasource>

[Regression Potential]
In order to mitigate the regression potential, the results of the
aforementioned integration tests are attached to this bug.

[Discussion]
<TODO-PRIOR-TO-PROPOSED: other background if applicable>

[Changelog]
 - docs: Clarify v2 set-name behavior (#5639)
 - fix: properly handle blank lines in fstab (#5643)
 - fix: cc_user_groups incorrectly assumes "useradd" never locks password
   field (#5355) [dermotbradley]
 - tests: assert cloud-init user-data cert is the only root cert (#5641)
 - feat: add automation for ubuntu/* branches asserting quilt patches apply
   (#5622)
 - fix(sources/wsl): no error with empty .cloud-init dir (SC-1862) (#5633)
 - feat(azure): add PPS support for azure-proxy-agent (#5601)
   [Ksenija Stanojevic]
 - fix(tests): use instance.clean/restart instead of clean --reboot (#5636)
 - test: fix cmd/test_schema int test (#5629)
 - test: fix test_honor_cloud_dir int test (#5627)
 - docs: alphabetize dsname lookup table. update comment to create the csv
   (#5624)
 - docs: new datasources should update reference/ds_dsname_map (#5624)
 - test: fix ca_certs int test (#5626)
 - chore: update schema docs to use RST bold for config key names (#5562)
 - fix(doc): italics around deprecation prefix, description bolds key names
   (#5562)
 - feat(doc): add env vars to debug config module doc builds (#5562)
 - fix(doc): doc of nested objects under JSON schema items.oneOf (#5562)
 - fix(doc): object type check if patternProperties or properties (#5562)
 - doc(schema): schema descriptions should end with trailing stop (#5562)
 - fix(wsl): Properly assemble multipart data (#5538) [Carlos Nihelton]
 - feat: collect-logs improvements (#5619)
 - tests: fix test_ca_certs.py for gcp (#5621)
 - fix(nm): Ensure bond property name formatting matches schema definition
   (#5383) [Curt Moore]
 - Update behavior of base bond interface with NetworkManager (#5385)
   [Curt Moore]
 - ci: Drop Python 3.6 and 3.7 (#5607)
 - chore(black): Bump version (#5607)
 - chore(mypy): Fix failures on newer versions of mypy (#5607)
 - chore(tox.ini): Simplify configuration, fix minor bugs (#5607)
 - chore(mypy): Lint log module (#5607)
 - fix(systemd): Correct location of installed drop-in files(#5615)
   [Noah Meyerhans]
 - fix(btrfs): Version parsing (#5618)
 - docs: Remove unnecessary section, add feature flag page (#5617)
 - docs: Drop Python 3.6 and 3.7 support (#5617)
 - chore: explain other use of oauth (#5616)
 - chore(actions): add doc label for any doc related subdir file matches
 - doc(boot): Make first boot a dedicated page (#5595)
 - doc: Describe all stages in a single process (#5595)
 - chore: Deprecate old commands in help output (#5595)
 - chore: add comment explaining the NetworkManager may-fail setting
   (#5598) [Ani Sinha]
 - Revert "fix(vmware): Set IPv6 to dhcp when there is no IPv6 addr
   (#5471)" (#5596) [PengpengSun]
 - fix: read_optional_seed to set network-config when present (#5593)
 - feat(snap): avoid refresh on package_upgrade: true and refresh.hold
   (#5426)
 - fix: Fix tests which have outdated strings (#5585)
 - fix: Fix ftp failures (#5585)
 - doc: improve integration testing configuration instructions (#5556)
   [Alec Warren]
 - azure: check azure-proxy-agent status (#5138) [Ksenija Stanojevic]
 - refactor: refactor and fix mypy in DataSourceIBMCloud.py (#5509)
   [Alec Warren]
 - fix: Update default LXD meta-data with user meta-data (#5584)
 - chore: Fix log message in url_helper.py (#5583)
 - fix: nocloud no fail when network-config absent (#5580)
 - feat: Single process optimization (#5489)
 - chore: Add helper, refactor utilities into separate module (#5573)
 - refactor: update handle function of cc_mounts (#5498)
 - fix: Integration tests (#5576)
 - fix(NoCloudNet): Add network-config support (#5566)
 - feat: Eliminate redundant configuration reads (#5536)
 - fix(actions): correct typo in cloudinit/config/schemas/ match (#5570)
 - fix: add host template for AOSC (#5557) [Yuanhang Sun]
 - chore(debian): Remove vestigial postinst and preinst code (#5569)
 - fix(actions): doc labeler needs all clause instead of default any (#5568)
 - docs: Overhaul user data formats documentation (#5551)
 - chore: Deprecate ENI as an input configuration format (#5561)
 - doc: improve drop-in custom modules (#5548)
 - doc(NoCloud): Categorize the different configuration types (#5521)
 - doc(autoinstall): Remove incorrect statements, be more direct (#5545)
 - chore: remove unneeded doc-lint tox env config (#5547)
 - fix(doc-spelling): config spelling_word_list_filename (#5547)
 - doc(modules): add section to wrap modules' doc (#5550)
 - doc: Update docs on boothooks (#5546)
 - fix: doc auto label to consider schema json changes as doc PRs (#5543)
 - feat(schema): add chef_license schema enum (#5543)
 - doc: add diagram with boot stages (#5539)
 - docs: improve qemu command line (#5540) [Christian Ehrhardt]
 - fix: auto label doc PRs (#5542)
 - fix(wsl): Put back the "path" argument to wsl_path in ds-identify
   (#5537) [Carlos Nihelton]
 - test: fix test_kernel_command_line_match (#5529)
 - test: fix no ds cache tests (#5529)
 - fix(azurelinux): Change default usr_lib_exec path (#5526) [Minghe Ren]
 - feat: Support URI sources in `write_files` module (#5505)
   [Lucas Ritzdorf]
 - add openeuler to distros in cc_spacewalk.py (#5530) [sxt1001]
 - feat(wsl): Special handling Landscape client config tags (#5460)
   [Carlos Nihelton]
 - chore: Deprecate partially supported system config (#5515)
 - chore: Improve detection logging for user clarity (#5515)
 - fix(ds-identify): Detect nocloud when seedfrom url exists (#5515)
 - refactor: logs.py add typing and small misc refactors (#5414)
 - refactor: logs.py pathlib changes (#5414)
 - refactor: replace verbosity with log levels in logs.py (#5414)
 - feat: Add trace-level logger (#5414)
 - chore(formatting): fix squashed commit test formatting (#5524)
 - fix: Clean cache if no datasource fallback (#5499)
 - Support setting mirrorlist in yum repository config (#5522) [Ani Sinha]
 - doc(OFV): Document how to configure cloud-init (#5519)
 - fix: Update DNS behavior for NetworkManager interfaces (#5496)
   [Curt Moore]
 - Fix configuration of DNS servers via OpenStack (#5384) [Curt Moore]
 - test: Unconditionally skip test_multi_nic_hotplug_vpc (#5503)
 - tests: revert expectation of exit 2 from cloud-init init --local (#5504)
 - fix(test): Fix ip printer for non-lxd (#5488)
 - feat(systemd): convert warning level message to deprecation (#5209)
 - test: allow verify_clean_boot to ignore all or specific tracebacks
   (#5209)
 - test: Don't fail tests which call cloud-init as a command (#5209)
 - feat(systemd): Warn user of unexpected run mode (#5209)
 - fix: add schema rules for 'baseurl' and 'metalink' in yum repo config
   (#5501) [Ani Sinha]
 - Set MTU for bond parent interface (#5495) [Curt Moore]
 - refactor: util.mounts to handle errors (#5490)
 - refactor: util.get_proc_env to work with strs (#5490)
 - typing: fix check_untyped_defs in cloudinit.util (#5490)
 - test: Add missing assert to test_status.py (#5494)
 - test: Ensure mkcert executable in ftp tests (#5493)
 - test: pytestify and cleanup test_cc_mounts.py (#5459)
 - fix(vmware): Set IPv6 to dhcp when there is no IPv6 addr (#5471)
   [PengpengSun]
 - fix(openbsd): fix mtu on newline in hostname files (#5412) [Tobias Urdin]
 - feat(aosc): Add 'AOSC OS' support (#5310) [Yuanhang Sun]

== End SRU Template ==

<TODO-PRIOR-TO-PROPOSED: Paste in change log entry>

Chad Smith (chad.smith)
summary: - sru cloud-init (24.3 update) focal, jammy and noble
+ sru cloud-init (24.3.1 update) focal, jammy and noble
Chad Smith (chad.smith)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in cloud-init (Ubuntu):
status: New → Confirmed
Revision history for this message
Andreas Hasenack (ahasenack) wrote : Please test proposed package

Hello Chad, or anyone else affected,

Accepted cloud-init into noble-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud-init/24.3.1-0ubuntu0~24.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-noble to verification-done-noble. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-noble. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in cloud-init (Ubuntu Noble):
status: New → Fix Committed
tags: added: verification-needed verification-needed-noble
Changed in cloud-init (Ubuntu Jammy):
status: New → Fix Committed
tags: added: verification-needed-jammy
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Hello Chad, or anyone else affected,

Accepted cloud-init into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud-init/24.3.1-0ubuntu0~22.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in cloud-init (Ubuntu Focal):
status: New → Fix Committed
tags: added: verification-needed-focal
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Hello Chad, or anyone else affected,

Accepted cloud-init into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud-init/24.3.1-0ubuntu0~20.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.