sru cloud-init (23.1 update) Bionic, Focal, Jammy, Kinetic

Bug #2008230 reported by Alberto Contreras
8
This bug affects 1 person
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
Kinetic
Fix Released
Undecided
Unassigned

Bug Description

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

   * cc_ca_certs: write certificates as individual files
   * cc_puppet: Update puppet service name
   * cc_resize_fs: use btrfs enqueue when available
   * cc_set_hostname: ignore /var/lib/cloud/data/set-hostname if it's empty
   * cc_ssh: support multiple hostcertificates
   * cc_write_files: set ownership for new folders
   * cli/schema: also validate vendordata
   * machine-id: set to uninitialized to trigger regeneration on clones
   * sources/azure: fix device driver matching for net config
   * network/netplan:
      * keep custom strict perms when 50-cloud-init.yaml exists
      * config root read-only as wifi config can contain creds
      * add gateways as on-link when necessary
   * distros/freebsd: add support for static IPv6 addresses
   * distros/suse: support transactional-update
   * networkd: add support for multiple [Route] sections
   * sources/nocloud: add support for dmi variable expansion for seedfrom URL
   * sources/openstack: add Support for IPv6 metadata to OpenStack
   * sources/aliyun: add support for metadata security harden mode
   * Add TencentOS support

Additionally, the bionic proposed package (23.1-0ubuntu0~18.04.2) contains an extra quilt patch to maintain compatibility with netplan 0.99.

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.

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

[Discussion]

== Changelog ==
 - Support transactional-updates for SUSE based distros (#1997)
   [Robert Schweikert]
 - Set ownership for new folders in Write Files Module (#1980)
   [Jack] (LP: #1990513)
 - add OpenCloudOS and TencentOS support (#1964) [wynnfeng]
 - lxd: Retry if the server isn't ready (#2025)
 - test: switch pycloudlib source to pypi (#2024)
 - test: Fix integration test deprecation message (#2023)
 - Recognize opensuse-microos, dev tooling fixes [Robert Schweikert]
 - sources/azure: refactor imds handler into own module (#1977)
   [Chris Patterson]
 - docs: deprecation generation support [1/2] (#2013)
 - add function is_virtual to distro/FreeBSD (#1957) [Mina Galić]
 - cc_ssh: support multiple hostcertificates (#2018) (LP: #1999164)
 - Fix minor schema validation regression and fixup typing (#2017)
 - doc: Reword user data debug section (#2019)
 - Overhaul/rewrite of certificate handling as follows: (#1962)
   [dermotbradley] (LP: #1931174)
 - disk_setup: use byte string when purging the partition table (#2012)
   [Stefan Prietl]
 - cli: schema also validate vendordata*.
 - ci: sort and add checks for cla signers file [Stefan Prietl]
 - Add "ederst" as contributor (#2010) [Stefan Prietl]
 - readme: add reference to packages dir (#2001)
 - docs: update downstream package list (#2002)
 - docs: add google search verification (#2000) [s-makin]
 - docs: fix 404 render use default notfound_urls_prefix in RTD conf (#2004)
 - Fix OpenStack datasource detection on bare metal (#1923)
   [Alexander Birkner] (LP: #1815990)
 - docs: add themed RTD 404 page and pointer to readthedocs-hosted (#1993)
 - schema: fix gpt labels, use type string for GUID (#1995)
 - cc_disk_setup: code cleanup (#1996)
 - netplan: keep custom strict perms when 50-cloud-init.yaml exists
 - cloud-id: better handling of change in datasource files
   [d1r3ct0r] (LP: #1998998)
 - tests: Remove restart check from test
 - Ignore duplicate macs from mscc_felix and fsl_enetc (LP: #1997922)
 - Warn on empty network key (#1990)
 - Fix Vultr cloud_interfaces usage (#1986) [eb3095]
 - cc_puppet: Update puppet service name (#1970) [d1r3ct0r] (LP: #2002969)
 - docs: Clarify networking docs (#1987)
 - lint: remove httpretty (#1985) [sxt1001]
 - cc_set_passwords: Prevent traceback when restarting ssh (#1981)
 - tests: fix lp1912844 (#1978)
 - tests: Skip ansible test on bionic (#1984)
 - Wait for NetworkManager (#1983) [Robert Schweikert]
 - docs: minor polishing (#1979) [s-makin]
 - CI: migrate integration-test to GH actions (#1969)
 - Fix permission of SSH host keys (#1971) [Ron Gebauer]
 - Fix default route rendering on v2 ipv6 (#1973) (LP: #2003562)
 - doc: fix path in net_convert command (#1975)
 - docs: update net_convert docs (#1974)
 - doc: fix dead link
 - cc_set_hostname: ignore /var/lib/cloud/data/set-hostname if it's empty
   (#1967) [Emanuele Giuseppe Esposito]
 - distros/rhel.py: _read_hostname() missing strip on "hostname" (#1941)
   [Mark Mielke]
 - integration tests: add IBM VPC support (SC-1352) (#1915)
 - machine-id: set to uninitialized to trigger regeneration on clones
   (LP: #1999680)
 - sources/azure: retry on connection error when fetching metdata (#1968)
   [Chris Patterson]
 - Ensure ssh state accurately obtained (#1966)
 - bddeb: drop dh-systemd dependency on newer deb-based releases [d1r3ct0r]
 - doc: fix `config formats` link in cloudsigma.rst (#1960)
 - Fix wrong subp syntax in cc_set_passwords.py (#1961)
 - docs: update the PR template link to readthedocs (#1958) [d1r3ct0r]
 - ci: switch unittests to gh actions (#1956)
 - Add mount_default_fields for PhotonOS. (#1952) [Shreenidhi Shedi]
 - sources/azure: minor refactor for metadata source detection logic
   (#1936) [Chris Patterson]
 - add "CalvoM" as contributor (#1955) [d1r3ct0r]
 - ci: doc to gh actions (#1951)
 - lxd: handle 404 from missing devices route for LXD 4.0 (LP: #2001737)
 - docs: Diataxis overhaul (#1933) [s-makin]
 - vultr: Fix issue regarding cache and region codes (#1938) [eb3095]
 - cc_set_passwords: Move ssh status checking later (SC-1368) (#1909)
   (LP: #1998526)
 - Improve Wireguard module idempotency (#1940) [Fabian Lichtenegger-Lukas]
 - network/netplan: add gateways as on-link when necessary (#1931)
   [Louis Sautier] (LP: #2000596)
 - tests: test_lxd assert features.networks.zones when present (#1939)
 - Use btrfs enquque when available (#1926) [Robert Schweikert]
 - sources/azure: drop description for report_failure_to_fabric() (#1934)
   [Chris Patterson]
 - cc_disk_setup.py: fix MBR single partition creation (#1932)
   [dermotbradley] (LP: #1851438)
 - Fix typo with package_update/package_upgrade (#1927) [eb3095]
 - sources/azure: fix device driver matching for net config (#1914)
   [Chris Patterson]
 - BSD: fix duplicate macs in Ifconfig parser (#1917) [Mina Galić]
 - test: mock dns calls (#1922)
 - pycloudlib: add lunar support for integration tests (#1928)
 - nocloud: add support for dmi variable expansion for seedfrom URL
   (LP: #1994980)
 - tools: read-version drop extra call to git describe --long
 - doc: improve cc_write_files doc (#1916)
 - read-version: When insufficient tags, use cloudinit.version.get_version
 - mounts: document weird prefix in schema (#1913)
 - add utility function test cases (#1910) [sxt1001]
 - test: mock file deletion in dhcp tests (#1911)
 - Ensure network ready before cloud-init service runs on RHEL (#1893)
   (LP: #1998655)
 - docs: add copy button to code blocks (#1890) [s-makin]
 - netplan: define features.NETPLAN_CONFIG_ROOT_READ_ONLY flag
 - azure: fix support for systems without az command installed (#1908)
 - Networking Clarification (#1892)
 - Fix the distro.osfamily output problem in the openEuler system. (#1895)
   [sxt1001] (LP: #1999042)
 - pycloudlib: bump commit dropping azure api smoke test
 - * net: netplan config root read-only as wifi config can contain creds
 - autoinstall: clarify docs for users
 - sources/azure: encode health report as utf-8 (#1897) [Chris Patterson]
 - Add back gateway4/6 deprecation to docs (#1898)
 - networkd: Add support for multiple [Route] sections (#1868)
   [Nigel Kukard]
 - doc: add qemu tutorial (#1863)
 - lint: fix tip-flake8 and tip-mypy (#1896)
 - Add support for setting uid when creating users on FreeBSD (#1888)
   [einsibjarni]
 - Fix exception in BSD networking code-path (#1894) [Mina Galić]
 - Append derivatives to is_rhel list in cloud.cfg.tmpl (#1887) [Louis Abel]
 - FreeBSD init: use cloudinit_enable as only rcvar (#1875) [Mina Galić]
 - feat: add support aliyun metadata security harden mode (#1865)
   [Manasseh Zhou]
 - docs: uprate analyze to performance page [s-makin]
 - test: fix lxd preseed managed network config (#1881)
 - Add support for static IPv6 addresses for FreeBSD (#1839) [einsibjarni]
 - Make 3.12 failures not fail the build (#1873)
 - Docs: adding relative links [s-makin]
 - Update read-version
 - Fix setup.py to align with PEP 440 versioning replacing trailing
 - travis: promote 3.11-dev to 3.11 (#1866)
 - test_cloud_sigma: delete useless test (#1828) [sxt1001]
 - Add "nkukard" as contributor (#1864) [Nigel Kukard]
 - tests: ds-id mocks for vmware-rpctool as utility may not exist in env
 - doc: add how to render new module doc (#1855)
 - doc: improve module creation explanation (#1851)
 - Add Support for IPv6 metadata to OpenStack (#1805)
   [Marvin Vogt] (LP: #1906849)
 - add xiaoge1001 to .github-cla-signers (#1854) [sxt1001]
 - network: Deprecate gateway{4,6} keys in network config v2 (#1794)
   (LP: #1992512)
 - VMware: Move Guest Customization transport from OVF to VMware (#1573)
   [PengpengSun]
 - doc: home page links added (#1852) [s-makin]

description: updated
description: updated
Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello Alberto, 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.1.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.

Changed in cloud-init (Ubuntu Kinetic):
status: New → Fix Committed
tags: added: verification-needed verification-needed-kinetic
Revision history for this message
Steve Langasek (vorlon) wrote :

Hello Alberto, 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.1.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 Jammy):
status: New → Fix Committed
tags: added: verification-needed-jammy
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 Alberto, 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.1.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.

Changed in cloud-init (Ubuntu Bionic):
status: New → Fix Committed
tags: added: verification-needed-bionic
Revision history for this message
Steve Langasek (vorlon) wrote :

Hello Alberto, or anyone else affected,

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

Regression testing attached. This includes:
* Cloud-init integration tests on EC2, GCE, Azure, LXD containers, LXD VMs for bionic, focal, jammy, and kinetic
* The curtin cloud-init SRU job

Any failures were transient and rerun in a <job>-rerun.txt file.

Revision history for this message
James Falcon (falcojr) wrote :

Also got an Azure +1 via email.

Revision history for this message
James Falcon (falcojr) wrote :

In an email from Marian Gasparovic from Solutions QA:

we are happy to +1 23.1 as we have enough passing tests on focal and jammy.
I will send details tomorrow.
Just FYI we were running these tests also on arm64 architecture (which we don't gate on) and all looked fine there as well.

description: updated
tags: added: verification-done-bionic verification-done-focal verification-done-jammy verification-done-kinetic
removed: verification-needed verification-needed-bionic verification-needed-focal verification-needed-jammy verification-needed-kinetic
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cloud-init - 23.1.1-0ubuntu0~18.04.1

---------------
cloud-init (23.1.1-0ubuntu0~18.04.1) bionic; urgency=medium

  * d/patches/netplan99-cannot-use-default.patch:
    - Retain routes' definitions compatible with netplan 0.99
  * d/patches/retain-netplan-world-readable.patch:
    - Retain original world-readable perms of /etc/netplan/50-cloud-init.yaml.
      Lunar made the config root read-only.
  * refresh patches:
    + debian/patches/expire-on-hashed-users.patch
  * Upstream snapshot based on 23.1.1. (LP: #2008230).
    List of changes from upstream can be found at
    https://raw.githubusercontent.com/canonical/cloud-init/23.1.1/ChangeLog

 -- Alberto Contreras <email address hidden> Fri, 03 Mar 2023 10:03:11 +0100

Changed in cloud-init (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Chris Halse Rogers (raof) 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.1.1-0ubuntu0~20.04.1

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

  * d/patches/retain-netplan-world-readable.patch:
    - Retain original world-readable perms of /etc/netplan/50-cloud-init.yaml.
      Lunar made the config root read-only.
  * refresh patches:
    + debian/patches/expire-on-hashed-users.patch
  * Upstream snapshot based on 23.1.1. (LP: #2008230).
    List of changes from upstream can be found at
    https://raw.githubusercontent.com/canonical/cloud-init/23.1.1/ChangeLog

 -- Alberto Contreras <email address hidden> Fri, 03 Mar 2023 09:48:54 +0100

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

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

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

  * d/patches/retain-netplan-world-readable.patch:
    - Retain original world-readable perms of /etc/netplan/50-cloud-init.yaml.
      Lunar made the config root read-only.
  * refresh patches:
    + debian/patches/expire-on-hashed-users.patch
  * Upstream snapshot based on 23.1.1. (LP: #2008230).
    List of changes from upstream can be found at
    https://raw.githubusercontent.com/canonical/cloud-init/23.1.1/ChangeLog

 -- Alberto Contreras <email address hidden> Fri, 03 Mar 2023 10:06:20 +0100

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.1.1-0ubuntu0~22.10.1

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

  * d/patches/retain-netplan-world-readable.patch:
    - Retain original world-readable perms of /etc/netplan/50-cloud-init.yaml.
      Lunar made the config root read-only.
  * Upstream snapshot based on 23.1.1. (LP: #2008230).
    List of changes from upstream can be found at
    https://raw.githubusercontent.com/canonical/cloud-init/23.1.1/ChangeLog

 -- James Falcon <email address hidden> Thu, 02 Mar 2023 12:02:34 -0600

Changed in cloud-init (Ubuntu Kinetic):
status: Fix Committed → Fix Released
Changed in cloud-init (Ubuntu):
status: New → 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.