sru cloudinit (23.1.2 to 23.2.1)

Bug #2023110 reported by Chad Smith
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init (Ubuntu)
Fix Released
Undecided
Unassigned
Bionic
Won't Fix
Undecided
Unassigned
Focal
Fix Released
Undecided
Unassigned
Jammy
Fix Released
Undecided
Unassigned
Kinetic
Fix Released
Undecided
Unassigned
Lunar
Fix Released
Undecided
Unassigned

Bug Description

== Begin SRU Template ==

[Additional context]
During SRU validation of 23.2 two bugs were discovered that warranted a release of 23.2.1 before clearing SRU verification:
  1. Fix NoCloud datasource being discovered when `ds=nocloud-net` kernel commandline parameter is provided.
  2. Focal-only: built-in type annotations for cloud-init apport default plugin Traceback preventing filing a bug on Focal

These two supplemental fixes are contains if very specific logic paths and all necessary supplemental vertificaiton for these cases has been peformed on the related bugs:
 1. https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2025180
 2. https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1724623

[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:

* network
 - net: Document use of `ip route append` to add routes (#2130)
 - Fix KeyError in iproute pformat
 - schema: read_cfg_paths call init.fetch to lookup /v/l/c/instance
 - network_manager: add a method for ipv6 static IP configuration
 - [1/2] DHCP: Refactor dhcp client code
 - net/dhcp: catch dhclient failures and raise NoDHCPLeaseError
 - Don't change permissions of netrules target (LP: #2011783)
 - macs: ignore duplicate MAC for devs with driver driver qmi_wwan
   (LP: #2008888)
 - Send dhcp-client-identifier for InfiniBand ports
 - do not attempt dns resolution on ip addresses
 - dhclient_hook: remove vestigal dhclient_hook command
 - dhcp: Cleanup unused kwargs
* azure
 - azure/errors: introduce reportable errors for imds
 - azure/errors: add host reporting for dhcp errors
 - net: purge blacklist_drivers across net and azure
 - azure: introduce identity module
 - net: refactor hyper-v VF filtering/candidate NICs and apply to get_interfaces()
 - azure/imds: retry fetching metadata up to 300 seconds
* gce
 - gce: activate network discovery on every boot
* openstack
 - openstack/static: honor the DNS servers associated with a network
*nocloud
 - Standardize kernel commandline user interface
 - NoCloud: Use seedfrom protocol to determine mode
 - Fix NoCloud kernel commandline semi-colon args
* oracle
 - oracle-ds: prefer system_cfg over ds network config source
   (LP: #1956788)
* scaleway:
- Adapt DataSourceScaleway to upcoming IPv6 support
* vmware:
 - sources/vmware/imc: fix-missing-catch-few-negtive-scenarios
* schema & security
 - schema: do not manipulate draft4 metaschema for jsonschema 2.6.0
 - Standardize disabling cloud-init on non-systemd
 - Make user/vendor data sensitive and remove log permissions
   (LP: #2013967)* config modules
 - users: schema permit empty list to indicate create no users
 - cli: schema validation of jinja template user-data
   (LP: #1881925)
 - log: Add standardized deprecation tooling
 - util: Pass deprecation schedule in deprecate_call()

* config modules
 - config: drop refresh_rmc_and_interface as RHEL 7 no longer supported
 - resolv_conf: Allow > 3 nameservers
 - Add 'peers' and 'allow' directives in cc_ntp
 - Do not generate dsa and ed25519 key types when crypto FIPS mode is
   enabled (LP: 2017761)
 - commit 09a64badfb3f51b1b391fa29be19962381a4bbeb [sxt1001] (LP: #2011291)
 - cc_ansible: complete the examples and doc (#2082) [Yves]
 - cc_grub_dpkg: Added UEFI support
 - source: Force OpenStack when it is only option (LP: #2008727)
 - cc_ubuntu_advantage: improve UA logs discovery

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

* Manual Test Results
<DONE: attach manual cloud-init-proposed test artifacts from tests for each release on ec2 datasource>
<DONE: attach manual cloud-init-proposed test artifacts from tests for each release on gce datasource>
<DONE: 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]

== End SRU Template ==

[ChangeLog]
 - BSD: simplify finding MBR partitions by removing duplicate code
   [Mina Galić]
 - tests: bump pycloudlib version for mantic builds
 - network-manager: Set higher autoconnect priority for nm keyfiles (#3671)
   [Ani Sinha]
 - alpine.py: change the locale file used (#4139) [dermotbradley]
 - cc_ntp: Sync up with current FreeBSD ntp.conf (#4122) [Mina Galić]
 - config: drop refresh_rmc_and_interface as RHEL 7 no longer supported
   [Robert Schweikert]
 - docs: Add feedback button to docs
 - net/sysconfig: enable sysconfig renderer if network manager has ifcfg-rh
   plugin (#4132) [Ani Sinha]
 - For Alpine use os-release PRETTY_NAME (#4138) [dermotbradley]
 - network_manager: add a method for ipv6 static IP configuration (#4127)
   [Ani Sinha]
 - correct misnamed template file host.mariner.tmpl (#4124) [dermotbradley]
 - nm: generate ipv6 stateful dhcp config at par with sysconfig (#4115)
   [Ani Sinha]
 - Add templates for GitHub Issues
 - Add 'peers' and 'allow' directives in cc_ntp (#3124) [Jacob Salmela]
 - FreeBSD: Fix user account locking (#4114) [Mina Galić] (GH: #1854594)
 - FreeBSD: add ResizeGrowFS class to cc_growpart (#2334) [Mina Galić]
 - Update tests in Azure TestCanDevBeReformatted class (#2771)
   [Ksenija Stanojevic]
 - Replace Launchpad references with GitHub Issues
 - Fix KeyError in iproute pformat (#3287) [Dmitry Zykov]
 - schema: read_cfg_paths call init.fetch to lookup /v/l/c/instance
 - azure/errors: introduce reportable errors for imds (#3647)
   [Chris Patterson]
 - FreeBSD (and friends): better identify MBR slices (#2168)
   [Mina Galić] (LP: #2016350)
 - azure/errors: add host reporting for dhcp errors (#2167)
   [Chris Patterson]
 - net: purge blacklist_drivers across net and azure (#2160)
   [Chris Patterson]
 - net: refactor hyper-v VF filtering and apply to get_interfaces() (#2153)
   [Chris Patterson]
 - tests: avoid leaks to underlying filesystem for /etc/cloud/clean.d
   (#2251)
 - net: refactor find_candidate_nics_on_linux() to use get_interfaces()
   (#2159) [Chris Patterson]
 - resolv_conf: Allow > 3 nameservers (#2152) [Major Hayden]
 - Remove mount NTFS error message (#2134) [Ksenija Stanojevic]
 - integration tests: fix image specification parsing (#2166)
 - ci: add hypothesis scheduled GH check (#2149)
 - Move supported distros list to docs (#2162)
 - Fix logger, use instance rather than module function (#2163)
 - README: Point to Github Actions build status (#2158)
 - Revert "fix linux-specific code on bsd (#2143)" (#2161)
 - Do not generate dsa and ed25519 key types when crypto FIPS mode is
   enabled (#2142) [Ani Sinha] (LP: 2017761)
 - Add documentation label automatically (#2156)
 - sources/azure: report success to host and introduce kvp module (#2141)
   [Chris Patterson]
 - setup.py: use pkg-config for udev/rules path (#2137) [dankm]
 - openstack/static: honor the DNS servers associated with a network
   (#2138) [Gonéri Le Bouder]
 - fix linux-specific code on bsd (#2143)
 - cli: schema validation of jinja template user-data (SC-1385) (#2132)
   (LP: #1881925)
 - gce: activate network discovery on every boot (#2128)
 - tests: update integration test to assert 640 across reboots (#2145)
 - Make user/vendor data sensitive and remove log permissions (#2144)
   (LP: #2013967)
 - Update kernel command line docs (SC-1457) (#2133)
 - docs: update network configuration path links (#2140) [d1r3ct0r]
 - sources/azure: report failures to host via kvp (#2136) [Chris Patterson]
 - net: Document use of `ip route append` to add routes (#2130)
 - dhcp: Add missing mocks (#2135)
 - azure/imds: retry fetching metadata up to 300 seconds (#2121)
   [Chris Patterson]
 - [1/2] DHCP: Refactor dhcp client code (#2122)
 - azure/errors: treat traceback_base64 as string (#2131) [Chris Patterson]
 - azure/errors: introduce reportable errors (#2129) [Chris Patterson]
 - users: schema permit empty list to indicate create no users
 - azure: introduce identity module (#2116) [Chris Patterson]
 - Standardize disabling cloud-init on non-systemd (#2112)
 - Update .github-cla-signers (#2126) [Rob Tongue]
 - NoCloud: Use seedfrom protocol to determine mode (#2107)
 - rhel: Remove sysvinit files. (#2114)
 - tox.ini: set -vvvv --showlocals for pytest (#2104) [Chris Patterson]
 - Fix NoCloud kernel commandline semi-colon args
 - run-container: make the container/VM timeout configurable (#2118)
   [Paride Legovini]
 - suse: Remove sysvinit files. (#2115)
 - test: Backport assert_call_count for old requests (#2119)
 - Add "licebmi" as contributor (#2113) [Mark Martinez]
 - Adapt DataSourceScaleway to upcoming IPv6 support (#2033)
   [Louis Bouchard]
 - rhel: make sure previous-hostname file ends with a new line (#2108)
   [Ani Sinha]
 - Adding contributors for DataSourceAkamai (#2110) [acourdavAkamai]
 - Cleanup ephemeral IP routes on exception (#2100) [sxt1001]
 - commit 09a64badfb3f51b1b391fa29be19962381a4bbeb [sxt1001] (LP: #2011291)
 - Standardize kernel commandline user interface (#2093)
 - config/cc_resizefs: fix do_resize arguments (#2106) [Chris Patterson]
 - Fix test_dhclient_exits_with_error (#2105)
 - net/dhcp: catch dhclient failures and raise NoDHCPLeaseError (#2083)
   [Chris Patterson]
 - sources/azure: move pps handling out of _poll_imds() (#2075)
   [Chris Patterson]
 - tests: bump pycloudlib version (#2102)
 - schema: do not manipulate draft4 metaschema for jsonschema 2.6.0 (#2098)
 - sources/azure/imds: don't count timeout errors as connection errors
   (#2074) [Chris Patterson]
 - Fix Python 3.12 unit test failures (#2099)
 - integration tests: Refactor instance checking (#1989)
 - ci: migrate remaining jobs from travis to gh (#2085)
 - missing ending quote in instancedata docs(#2094) [Hong L]
 - refactor: stop passing log instances to cc_* handlers (#2016) [d1r3ct0r]
 - tests/vmware: fix test_no_data_access_method failure (#2092)
   [Chris Patterson]
 - Don't change permissions of netrules target (#2076) (LP: #2011783)
 - tests/sources: patch util.get_cmdline() for datasource tests (#2091)
   [Chris Patterson]
 - macs: ignore duplicate MAC for devs with driver driver qmi_wwan (#2090)
   (LP: #2008888)
 - Fedora: Enable CA handling (#2086) [František Zatloukal]
 - Add frantisekz as contributor (#2087) [František Zatloukal]
 - Send dhcp-client-identifier for InfiniBand ports (#2043) [Waleed Mousa]
 - cc_ansible: complete the examples and doc (#2082) [Yves]
 - contributor: add bdrung
 - bddeb: for dev package, derive debhelper-compat from host system
 - apport: only prompt for cloud_name when instance-data.json is absent
 - datasource: Optimize datasource detection, fix bugs (#2060)
 - Handle non existent ca-cert-config situation (#2073) [Shreenidhi Shedi]
 - sources/azure: add networking check for all source PPS (#2061)
   [Chris Patterson]
 - do not attempt dns resolution on ip addresses (#2040)
 - chore: fix style tip (#2071)
 - Fix metadata IP in instancedata.rst (#2063) [Brian Haley]
 - util: Pass deprecation schedule in deprecate_call() (#2064)
 - config: Update grub-dpkg docs (#2058)
 - docs: Cosmetic improvements and styling (#2057) [s-makin]
 - cc_grub_dpkg: Added UEFI support (#2029) [Alexander Birkner]
 - tests: Write to /var/spool/rsyslog to adhere to apparmor profile (#2059)
 - oracle-ds: prefer system_cfg over ds network config source (#1998)
   (LP: #1956788)
 - Remove dead code (#2038)
 - Release 23.1.1 (#2052)
 - source: Force OpenStack when it is only option (#2045) (LP: #2008727)
 - cc_ubuntu_advantage: improve UA logs discovery
 - sources/azure: fix regressions in IMDS behavior (#2041) [Chris Patterson]
 - tests: fix test_schema (#2042)
 - dhcp: Cleanup unused kwarg (#2037)
 - sources/vmware/imc: fix-missing-catch-few-negtive-scenarios (#2027)
   [PengpengSun]
 - dhclient_hook: remove vestigal dhclient_hook command (#2015)
 - log: Add standardized deprecation tooling (SC-1312) (#2026)
 - Enable SUSE based distros for ca handling (#2036) [Robert Schweikert]

Chad Smith (chad.smith)
description: updated
Chad Smith (chad.smith)
Changed in cloud-init (Ubuntu):
status: New → In Progress
Chad Smith (chad.smith)
Changed in cloud-init (Ubuntu Bionic):
status: New → Won't Fix
Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello Chad, or anyone else affected,

Accepted cloud-init into lunar-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud-init/23.2-0ubuntu0~23.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-lunar to verification-done-lunar. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-lunar. 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 Lunar):
status: New → Fix Committed
tags: added: verification-needed verification-needed-lunar
Revision history for this message
Steve Langasek (vorlon) wrote :

Hello Chad, or anyone else affected,

Accepted cloud-init into kinetic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud-init/23.2-0ubuntu0~22.10.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-kinetic to verification-done-kinetic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-kinetic. 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 Kinetic):
status: New → Fix Committed
tags: added: verification-needed-kinetic
Changed in cloud-init (Ubuntu Jammy):
status: New → Fix Committed
tags: added: verification-needed-jammy
Revision history for this message
Steve Langasek (vorlon) 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/23.2-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
Steve Langasek (vorlon) 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/23.2-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.

Revision history for this message
Marian Gasparovic (marosg) wrote : Re: sru cloudinit (23.1.2 to 23.2)

Hello Chad,
SQA did deployment tests on Focal and Jammy, we are ok to +1 from our side.

Revision history for this message
Chad Smith (chad.smith) wrote :

Thank you for your verification. We also have passed all initial SRU verification logs from our jenkins test suite for EC2, Azure, GCE, LXD Container and LXD VM.

There are retry files for any platform intermittent/flaky test errors which show SUCCESS for those individual integration test failures

Revision history for this message
Chad Smith (chad.smith) wrote :

Separately from SRU verification, community discussion arose in use of 23.2 that discovered a regression in 23.2 https://github.com/canonical/cloud-init/issues/4203

Chad Smith (chad.smith)
description: updated
Revision history for this message
Chad Smith (chad.smith) wrote :

https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2025180 filed for the SRU verification failures to track the need for a supplemental upload.

tags: added: verification-failed verification-failed-focal verification-failed-jammy verification-failed-kinetic verification-failed-lunar
removed: verification-needed verification-needed-focal verification-needed-jammy verification-needed-kinetic verification-needed-lunar
Revision history for this message
Chad Smith (chad.smith) wrote :

expectation is to generate a 23.2.1 hotfix release with a single commit to fix this nocloud detection from kernel command line logic

Revision history for this message
Chad Smith (chad.smith) wrote :

Marking regression-proposed ... as we want this set of commits plus LP: #2025180 fix as well for this SRU to publish to -updates

tags: added: regression-proposed
Chad Smith (chad.smith)
tags: added: block-proposed-focal block-proposed-jammy block-proposed-kinetic block-proposed-lunar
Revision history for this message
Andreas Hasenack (ahasenack) wrote : Please test proposed package

Hello Chad, or anyone else affected,

Accepted cloud-init into lunar-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud-init/23.2.1-0ubuntu0~23.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-lunar to verification-done-lunar. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-lunar. 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.

tags: added: verification-needed verification-needed-lunar
removed: verification-failed verification-failed-lunar
tags: added: verification-needed-kinetic
removed: verification-failed-kinetic
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Hello Chad, or anyone else affected,

Accepted cloud-init into kinetic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud-init/23.2.1-0ubuntu0~22.10.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-kinetic to verification-done-kinetic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-kinetic. 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.

tags: added: verification-needed-jammy
removed: verification-failed-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/23.2.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.

tags: added: verification-needed-focal
removed: verification-failed-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/23.2.1-0ubuntu0~20.04.2 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.

Revision history for this message
Chad Smith (chad.smith) wrote : Re: sru cloudinit (23.1.2 to 23.2)

All changes were validated for 23.2.0 with a suite of integration test results added in https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2023110/comments/6

The community regression found required a code change to the NoCloud datasource which will not affect any other cloud platforms.

That said, I've re-run our full NoCloud integration tests to ensure we have no unexpected NoCloud regressions and our integration tets now have test coverage specifically for nocloud-net handling via kernel cmdline[1]

[1] new integration test for nocloud-net kernel cmdline handling https://github.com/canonical/cloud-init/commit/0e374f83ab5483b92cf1ddf9706dc1b457c58377#diff-12b97b724c0dec65b614fa2cd88ad31dc9ca64e2f95e030b9285b25d9f5d7aabR101

Revision history for this message
Chad Smith (chad.smith) wrote :

Attached are supplemental curtin-cloud-init-sru logs with success for PROPOSED version of cloud-init as well as full suite of lxd_container integration test logs (and applicable successful retries) for cloud-init version 23.2.1

Revision history for this message
Chad Smith (chad.smith) wrote :

Attached are supplemental curtin-cloud-init-sru logs with success for PROPOSED version of cloud-init as well as full suite of lxd_container integration test logs (and applicable successful retries) for cloud-init version 23.2.1

tags: added: verification-done verification-done-focal verification-done-jammy verification-done-kinetic verification-done-lunar
removed: block-proposed-focal block-proposed-jammy block-proposed-kinetic block-proposed-lunar regression-proposed verification-needed verification-needed-focal verification-needed-jammy verification-needed-kinetic verification-needed-lunar
Chad Smith (chad.smith)
description: updated
Revision history for this message
Robie Basak (racb) wrote :

11:20 <rbasak> blackboxsw: on cloud-init SRU release, I think the expectation is thatyou would re-run _all_ QA against the updated build in proposed - not just the areas that you have determined to be relevant. Is it possible to do that, please?

Chad Smith (chad.smith)
summary: - sru cloudinit (23.1.2 to 23.2)
+ sru cloudinit (23.1.2 to 23.2.1)
Revision history for this message
Chad Smith (chad.smith) wrote :

Thanks @racb. I've re-run all integration tests on aws, azure, gce, lxd_container and lxd_vm for 23.2.1.

Only test failures listed are ones that are bad integration tests:
1. some already fixed in upstream (test_webhooks)
2. some that need integration test fixes: lxd_vm lunar failures due to one of two things:
   - invalid ansible pip dependencies installed by integration test userdata
   - pip errors installing ansible globally without virtualenv
   - netplan 0.106 PermanentMACAddress matching in integration test userdata setup that is not viable for netplan 0.106 in Lunar ++

All test failures have an upstream issue filed or fixed and don't represent a regression for 23.2.1 over what's already released in 23.1.2

Revision history for this message
Chad Smith (chad.smith) wrote :

Upstream Issues for integration tests filed as a result of this extra verification run:
https://github.com/canonical/cloud-init/issues/4248
https://github.com/canonical/cloud-init/issues/4247
https://github.com/canonical/cloud-init/issues/4244

They don't represent regressions in cloud-init behavior, but, just invalid test setup that needs updates.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cloud-init - 23.2.1-0ubuntu0~23.04.1

---------------
cloud-init (23.2.1-0ubuntu0~23.04.1) lunar; urgency=medium

  * Upstream snapshot based on 23.2.1. (LP: #2025180).
    List of changes from upstream can be found at
    https://raw.githubusercontent.com/canonical/cloud-init/23.2.1/ChangeLog

cloud-init (23.2-0ubuntu0~23.04.1) lunar; urgency=medium

  * d/control: Remove pep8 dependency. It is no longer used.
  * Upstream snapshot based on 23.2. (LP: #2023110).
    List of changes from upstream can be found at
    https://raw.githubusercontent.com/canonical/cloud-init/23.2/ChangeLog

 -- Chad Smith <email address hidden> Wed, 28 Jun 2023 14:14:31 -0600

Changed in cloud-init (Ubuntu Lunar):
status: Fix Committed → Fix Released
Revision history for this message
Andreas Hasenack (ahasenack) wrote : Update Released

The verification of the Stable Release Update for cloud-init has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cloud-init - 23.2.1-0ubuntu0~22.10.1

---------------
cloud-init (23.2.1-0ubuntu0~22.10.1) kinetic; urgency=medium

  * Upstream snapshot based on 23.2.1. (LP: #2025180).
    List of changes from upstream can be found at
    https://raw.githubusercontent.com/canonical/cloud-init/23.2.1/ChangeLog

cloud-init (23.2-0ubuntu0~22.10.1) kinetic; urgency=medium

  * d/control: Remove pep8 dependency. It is no longer used.
  * d/apport-general-hook.py: Add general apport hook to append cloud type,
    image and instance size information to bug reports (LP: #1724623)
  * d/cloud-init.preinst: Oracle to remove vestigial /etc/cloud.cloud.cfg.d/
    99-disable-network-config.cfg because system config is now honored before
    datasource config (LP: #1956788)
  * d/cloud-init.preinst: Clean up vestigial
    /etc/cloud/cloud.cfg.d/99-disable-network-activation.cfg on GCE instances
    after fix in upstream google-guest-agent.
  * Upstream snapshot based on 23.2. (LP: #2023110).
    List of changes from upstream can be found at
    https://raw.githubusercontent.com/canonical/cloud-init/23.2/ChangeLog

 -- Brett Holman <email address hidden> Wed, 28 Jun 2023 14:24:21 -0600

Changed in cloud-init (Ubuntu Kinetic):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cloud-init - 23.2.1-0ubuntu0~22.04.1

---------------
cloud-init (23.2.1-0ubuntu0~22.04.1) jammy; urgency=medium

  * Upstream snapshot based on 23.2.1. (LP: #2025180).
    List of changes from upstream can be found at
    https://raw.githubusercontent.com/canonical/cloud-init/23.2.1/ChangeLog

cloud-init (23.2-0ubuntu0~22.04.1) jammy; urgency=medium

  * d/control: Remove pep8 dependency. It is no longer used.
  * d/apport-general-hook.py: Add general apport hook to append cloud type,
    image and instance size information to bug reports (LP: #1724623)
  * d/cloud-init.preinst: Oracle to remove vestigial /etc/cloud.cloud.cfg.d/
    99-disable-network-config.cfg because system config is now honored before
    datasource config (LP: #1956788)
  * d/cloud-init.preinst: Clean up vestigial
    /etc/cloud/cloud.cfg.d/99-disable-network-activation.cfg on GCE instances
    after fix in upstream google-guest-agent.
  * Refresh patches against upstream/main
    - d/p/expire-on-hashed-users.patch
    - d/p/retain-netplan-world-readable.patch
  * Upstream snapshot based on 23.2. (LP: #2023110).
    List of changes from upstream can be found at
    https://raw.githubusercontent.com/canonical/cloud-init/23.2/ChangeLog

 -- Brett Holman <email address hidden> Wed, 28 Jun 2023 16:16:26 -0600

Changed in cloud-init (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cloud-init - 23.2.1-0ubuntu0~20.04.2

---------------
cloud-init (23.2.1-0ubuntu0~20.04.2) focal; urgency=medium

  * d/apport-general-hook: correct type hints on Dict for py3.8
    (LP: #2025376)

cloud-init (23.2.1-0ubuntu0~20.04.1) focal; urgency=medium

  * Upstream snapshot based on 23.2.1. (LP: #2025180).
    List of changes from upstream can be found at
    https://raw.githubusercontent.com/canonical/cloud-init/23.2.1/ChangeLog

cloud-init (23.2-0ubuntu0~20.04.1) focal; urgency=medium

  * d/control: Remove pep8 dependency. It is no longer used
  * d/patches/netplan99-cannot-use-default.patch:
    - Retain routes' definitions compatible with netplan 0.99 (Fixes: #4133)
  * d/apport-general-hook.py: Add general apport hook to append cloud type,
    image and instance size information to bug reports (LP: #1724623)
  * d/cloud-init.preinst: Oracle to remove vestigial /etc/cloud.cloud.cfg.d/
    99-disable-network-config.cfg because system config is now honored before
    datasource config (LP: #1956788)
  * d/cloud-init.preinst: Clean up vestigial
    /etc/cloud/cloud.cfg.d/99-disable-network-activation.cfg on GCE instances
    after fix in upstream google-guest-agent.
  * Refresh patches against upstream/main:
    - d/p/expire-on-hashed-users.patch
    - d/p/retain-netplan-world-readable.patch
  * Upstream snapshot based on 23.2. (LP: #2023110).
    List of changes from upstream can be found at
    https://raw.githubusercontent.com/canonical/cloud-init/23.2/ChangeLog

 -- Chad Smith <email address hidden> Thu, 29 Jun 2023 09:41:13 -0600

Changed in cloud-init (Ubuntu Focal):
status: Fix Committed → Fix Released
Chad Smith (chad.smith)
Changed in cloud-init (Ubuntu):
status: In Progress → Fix Released
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.