sru cloud-init (19.4.33 to 20.2-45) Xenial, Bionic, Eoan and Focal

Bug #1881018 reported by Chad Smith
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init (Ubuntu)
Fix Released
Undecided
Unassigned
Xenial
Fix Released
Undecided
Unassigned
Bionic
Fix Released
Undecided
Unassigned
Eoan
Fix Released
Undecided
Unassigned
Focal
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:

* d/control: drop python3-nose, python3-contextlib, python3-unittest2,
  python3-pyflakes, python3-six and python3-pep8 from build-deps
* net: ubuntu focal prioritize netplan over eni even if both present
  (#267) (LP: #1867029) # Focal-only, disabled on Xenial,Bionic, Eoan
* d/cloud-init.templates: add RbxCloud datasource to dpkg config options
* d/patches: to retain original behavior on Xenial, Bionic and Eoan
  - ec2 will not render full network config from IMDS unless apply_full_imds_network_config is True
   - network renderers default priority remains eni, netplan, sysconfig
     Focal and later prioritize netplan, eni, sysconfig

* security (Use CVE-2020-8631, CVE-2020-8632)
- cc_set_password: increase random pwlength from 9 to 20 (#189)
  (LP: #1860795)
- utils: use SystemRandom when generating random password. (#204)
  [Dimitri John Ledkov]
- Print ssh key fingerprints using sha256 hash (#188) (LP: #1860789)

* aws:
  - DataSourceEc2: use metadata's NIC ordering to determine
    route-metrics (#342) (LP: #1876312)
 - ec2: render network on all NICs and add secondary IPs as static
   (#114) (LP: #1866930)
 - ec2: Do not fallback to IMDSv1 on EC2 (#216)
 - ec2: Do not log IMDSv2 token values, instead use REDACTED (#219)
   (LP: #1863943)
 - cloud-init analyze dump log support for Amazon Linux log formats
 - distros: drop leading/trailing hyphens from mirror URL labels (#296)
 - distros: replace invalid characters in mirror URLs with hyphens (#291)
   (LP: #1868232)
 - azurecloud: fix issues with instances not starting
   (#205) (LP: #1861921)
 - Add support for the amazon variant in cloud.cfg.tmpl (#119)
   [Frederick Lefebvre]
 - Add an Amazon distro in the redhat OS family [Frederick Lefebvre]

* azure:
 - avoid re-running cloud-init when instance-id is byte-swapped
   (#84) [AOhassan]
 - drop reliance waalinux agent for fabric negotiation on Xenial

* openstack
 - Add physical network type: cascading to openstack helpers (#200)
   [sab-systems]
 - Identify SAP Converged Cloud as OpenStack [Silvio Knizek]

- rbxcloud: gracefully handle arping errors (#262) [Adam Dobrawy]
- rbxcloud: fix dsname in RbxCloud [Adam Dobrawy] (LP: #1855196)
- apport: Add RbxCloud ds [Adam Dobrawy]
- VMWware: support to update guest info gc status if enabled (#261)
  [xiaofengw-vmware]
- Scaleway: Fix DatasourceScaleway to avoid backtrace (#128)
  [Louis Bouchard]

* tools
- cloud-config schema validation for chef, apt_configure, cc_locale
- instance-data: add cloud-init merged_cfg and sys_info keys to json
  (#214) (LP: #1865969)
- util: read_cc_from_cmdline handle urlencoded yaml content (#275)

* storage
- cc_mounts: fix incorrect format specifiers (#316) (LP: #1872836)
- swap file "size" being used before checked if str (#315) [Eduardo Otubo]
- cc_disk_setup: fix RuntimeError (#270) (LP: #1868327)
- cc_disk_setup: add swap filesystem force flag (#207)
- Do not use fallocate in swap file creation on xfs. (#70)
  [Eduardo Otubo] (LP: #1781781)
- fixed minor bug with mkswap in cc_disk_setup.py (#143) [andreaf74]

* network
 - net: ignore 'renderer' key in netplan config (#306) (LP: #1870421)
 - net: support network-config:disabled on the kernel commandline (#232)
   (LP: #1862702)
 - Add support for NFS/EFS mounts (#300) [Andrew Beresford]
   (LP: #1870370)
 - net/cmdline: correctly handle static ip= config (#201)
   [Dimitri John Ledkov] (LP: #1861412)
 - net: fix rendering of 'static6' in network config (#77) (LP: #1850988)

- cc_snappy: remove deprecated module (#127)
- cc_grub_dpkg: determine idevs in more robust manner with grub-probe
  (#358) [Matthew Ruffell] (LP: #1877491)

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: EC2: ec2-sru-20.2.45.txt
DONE: GCE: gce-sru-20.2.45.txt
DONE: Azure: azure-sru-20.2.45.txt
DONE: Oracle: oracle-sru-20.2.45.txt
DONE: IBM Softlayer: softlayer-sru-20.2.45.txt
DONE: OpenStack: openstack-sru-20.2.45.txt

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

== End SRU Template ==

== Changelog ==
  * d/control: drop pyflakes from Build-Depends
    - This python2 pyflakes package is an unneeded dependency now that tests
      use python3-pyflakes.
  * d/control: add python3-pytest to Build-Depends
    - This fixes upstream daily builds. python3-nose is not removed from
      Build-Depends because, currently, the Ubuntu package builds will still
      use it for testing.
  * d/control: drop python3-unittest2 and python3-nose from Build-Depends
    - upstream now uses pytest
  * refresh patches:
   + debian/patches/ubuntu-advantage-revert-tip.patch
  * refresh patches:
   + debian/patches/ec2-classic-dont-reapply-networking.patch
   + debian/patches/openstack-no-network-config.patch
   + debian/patches/stable-release-no-jsonschema-dep.patch
  * New upstream snapshot. (LP: #1881018)
    - enable Puppet, Chef mcollective in default config (#385)
      [Mina Galić (deprecated: Igor Galić)]
    - HACKING.rst: introduce .net -> Networking refactor section (#384)
    - Travis: do not install python3-contextlib2 (dropped dependency) (#388)
      [Paride Legovini]
    - HACKING: mention that .github-cla-signers is alpha-sorted (#380)
    - Add bipinbachhao as contributor (#379) [Bipin Bachhao]
    - cc_snap: validate that assertions property values are strings (#370)
    - conftest: implement partial disable_subp_usage (#371)
    - test_resolv_conf: refresh stale comment (#374)
    - cc_snap: apply validation to snap.commands properties (#364)
    - make finding libc platform independent (#366)
      [Mina Galić (deprecated: Igor Galić)]
    - doc/rtd/topics/faq: Updates LXD docs links to current site (#368) [TomP]
    - templater: drop Jinja Python 2 compatibility shim (#353)
    - cloudinit: minor pylint fixes (#360)
    - cloudinit: remove unneeded __future__ imports (#362)
    - migrating momousta lp user to Moustafa-Moustafa GitHub user (#361)
      [Moustafa Moustafa]
    - cloud_tests: emit dots on Travis while fetching images (#347)
    - Add schema to apt configure config (#357) [lucasmoura]
    - conftest: add docs and tests regarding CiTestCase's subp functionality
      (#343)
    - analyze/dump: refactor shared string into variable (#350)
    - doc: update boot.rst with correct timing of runcmd (#351)
    - HACKING.rst: change contact info to Rick Harding (#359) [lucasmoura]
    - HACKING.rst: guide people to add themselves to the CLA file (#349)
    - HACKING.rst: more unit testing documentation (#354)
    - .travis.yml: don't run lintian during integration test package builds
      (#352)
    - Add test to ensure docs examples are valid cloud-init configs (#355)
      [James Falcon]
    - make suse and sles support 127.0.1.1 (#336) [chengcheng-chcheng]
    - Create tests to validate schema examples (#348) [lucasmoura]
    - analyze/dump: add support for Amazon Linux 2 log lines (#346)
    - bsd: upgrade support (#305) [Gonéri Le Bouder]
    - Add lucasmoura as contributor (#345) [lucasmoura]
    - Add "therealfalcon" as contributor (#344) [James Falcon]
    - Adapt the package building scripts to use Python 3 (#231)
      [Paride Legovini]
    - DataSourceEc2: use metadata's NIC ordering to determine route-metrics
      (#342)
    - .travis.yml: introduce caching (#329)
    - cc_locale: introduce schema (#335)
    - doc/rtd/conf.py: bump copyright year to 2020 (#341)
    - yum_add_repo: Add Centos to the supported distro list (#340)
    - Release 20.2 (#337)
    - doc/format: reference make-mime.py instead of an inline script (#334)
    - Add docs about creating parent folders (#330) [Adrian Wilkins]
    - DataSourceNoCloud/OVF: drop claim to support FTP (#333)
    - schema: ignore spurious pylint error (#332)
    - schema: add json schema for write_files module (#152)
    - BSD: find_devs_with_ refactoring (#298) [Gonéri Le Bouder]
    - nocloud: drop work around for Linux 2.6 (#324) [Gonéri Le Bouder]
    - cloudinit: drop dependencies on unittest2 and contextlib2 (#322)
    - distros: handle a potential mirror filtering error case (#328)
    - log: remove unnecessary import fallback logic (#327)
    - .travis.yml: don't run integration test on ubuntu/* branches (#321)
    - More unit test documentation (#314)
    - conftest: introduce disable_subp_usage autouse fixture (#304)
    - YAML align indent sizes for docs readability (#323) [Tak Nishigori]
    - network_state: add missing space to log message (#325)
    - tests: add missing mocks for get_interfaces_by_mac (#326)
    - test_mounts: expand happy path test for both happy paths (#319)
    - cc_mounts: fix incorrect format specifiers (#316)
    - swap file "size" being used before checked if str (#315) [Eduardo Otubo]
    - HACKING.rst: add pytest version gotchas section (#311)
    - docs: Add steps to re-run cloud-id and cloud-init (#313) [Joshua Powers]
    - readme: OpenBSD is now supported (#309) [Gonéri Le Bouder]
    - net: ignore 'renderer' key in netplan config (#306)
    - Add support for NFS/EFS mounts (#300) [Andrew Beresford]
    - openbsd: set_passwd should not unlock user (#289) [Gonéri Le Bouder]
    - tools/.github-cla-signers: add beezly as CLA signer (#301)
    - util: remove unnecessary lru_cache import fallback (#299)
    - HACKING.rst: reorganise/update CLA signature info (#297)
    - distros: drop leading/trailing hyphens from mirror URL labels (#296)
    - HACKING.rst: add note about variable annotations (#295)
    - CiTestCase: stop using and remove sys_exit helper (#283)
    - distros: replace invalid characters in mirror URLs with hyphens (#291)
    - rbxcloud: gracefully handle arping errors (#262) [Adam Dobrawy]
    - Fix cloud-init ignoring some misdeclared mimetypes in user-data.
      [Kurt Garloff]
    - net: ubuntu focal prioritize netplan over eni even if both present (#267)
    - cloudinit: refactor util.is_ipv4 to net.is_ipv4_address (#292)
    - net/cmdline: replace type comments with annotations (#294)
    - HACKING.rst: add Type Annotations design section (#293)
    - net: introduce is_ip_address function (#288)
    - CiTestCase: remove now-unneeded parse_and_read helper method (#286)
    - .travis.yml: allow 30 minutes of inactivity in cloud tests (#287)
    - sources/tests/test_init: drop use of deprecated inspect.getargspec (#285)
    - setup.py: drop NIH check_output implementation (#282)
    - Identify SAP Converged Cloud as OpenStack [Silvio Knizek]
    - add Openbsd support (#147) [Gonéri Le Bouder]
    - HACKING.rst: add examples of the two test class types (#278)
    - VMWware: support to update guest info gc status if enabled (#261)
      [xiaofengw-vmware]
    - Add lp-to-git mapping for kgarloff (#279)
    - set_passwords: avoid chpasswd on BSD (#268) [Gonéri Le Bouder]
    - HACKING.rst: add Unit Testing design section (#277)
    - util: read_cc_from_cmdline handle urlencoded yaml content (#275)
    - distros/tests/test_init: add tests for _get_package_mirror_info (#272)
    - HACKING.rst: add links to new Code Review Process doc (#276)
    - freebsd: ensure package update works (#273) [Gonéri Le Bouder]
    - doc: introduce Code Review Process documentation (#160)
    - tools: use python3 (#274)
    - cc_disk_setup: fix RuntimeError (#270)
    - cc_apt_configure/util: combine search_for_mirror implementations (#271)
    - bsd: boottime does not depend on the libc soname (#269)
      [Gonéri Le Bouder]
    - test_oracle,DataSourceOracle: sort imports (#266)
    - DataSourceOracle: update .network_config docstring (#257)
    - cloudinit/tests: remove unneeded with_logs configuration (#263)
    - .travis.yml: drop stale comment (#255)
    - .gitignore: add more common directories (#258)
    - ec2: render network on all NICs and add secondary IPs as static (#114)
    - ec2 json validation: fix the reference to the 'merged_cfg' key (#256)
      [Paride Legovini]
    - releases.yaml: quote the Ubuntu version numbers (#254) [Paride Legovini]
    - cloudinit: remove six from packaging/tooling (#253)
    - util/netbsd: drop six usage (#252)
    - workflows: introduce stale pull request workflow (#125)
    - cc_resolv_conf: introduce tests and stabilise output across Python
      versions (#251)
    - fix minor issue with resolv_conf template (#144) [andreaf74]
    - doc: CloudInit also support NetBSD (#250) [Gonéri Le Bouder]
    - Add Netbsd support (#62) [Gonéri Le Bouder]
    - tox.ini: avoid substition syntax that causes a traceback on xenial (#245)
    - Add pub_key_ed25519 to cc_phone_home (#237) [Daniel Hensby]
    - Introduce and use of a list of GitHub usernames that have signed CLA
      (#244)
    - workflows/cla.yml: use correct username for CLA check (#243)
    - tox.ini: use xenial version of jsonpatch in CI (#242)
    - workflows: CLA validation altered to fail status on pull_request (#164)
    - tox.ini: bump pyflakes version to 2.1.1 (#239)
    - cloudinit: move to pytest for running tests (#211)
    - instance-data: add cloud-init merged_cfg and sys_info keys to json (#214)
    - ec2: Do not fallback to IMDSv1 on EC2 (#216)
    - instance-data: write redacted cfg to instance-data.json (#233)
    - net: support network-config:disabled on the kernel commandline (#232)
    - ec2: only redact token request headers in logs, avoid altering request
      (#230)
    - docs: typo fixed: dta → data [Alexey Vazhnov]
    - Fixes typo on Amazon Web Services (#217) [Nick Wales]
    - Fix docs for OpenStack DMI Asset Tag (#228) [Mark T. Voelker]
    - Add physical network type: cascading to openstack helpers (#200)
      [sab-systems]
    - tests: add focal integration tests for ubuntu (#225)
    - Release 20.1 (#222)
    - Update tooling for GitHub-based new releases (#223)
    - ec2: Do not log IMDSv2 token values, instead use REDACTED (#219)
    - utils: use SystemRandom when generating random password. (#204)
      [Dimitri John Ledkov]
    - docs: mount_default_files is a list of 6 items, not 7 (#212)
    - azurecloud: fix issues with instances not starting (#205)
    - unittest: fix stderr leak in cc_set_password random unittest
      output. (#208)
    - cc_disk_setup: add swap filesystem force flag (#207)
    - import sysvinit patches from freebsd-ports tree (#161) [Igor Galić]
    - docs: fix typo (#195) [Edwin Kofler]
    - sysconfig: distro-specific config rendering for BOOTPROTO option (#162)
      [Robert Schweikert]
    - cloudinit: replace "from six import X" imports (except in util.py) (#183)
    - run-container: use 'test -n' instead of 'test ! -z' (#202)
      [Paride Legovini]
    - net/cmdline: correctly handle static ip= config (#201)
      [Dimitri John Ledkov]
    - Replace mock library with unittest.mock (#186)
    - HACKING.rst: update CLA link (#199)
    - Scaleway: Fix DatasourceScaleway to avoid backtrace (#128)
      [Louis Bouchard]
    - cloudinit/cmd/devel/net_convert.py: add missing space (#191)
    - tools/run-container: drop support for python2 (#192) [Paride Legovini]
    - Print ssh key fingerprints using sha256 hash (#188)
    - Make the RPM build use Python 3 (#190) [Paride Legovini]
    - cc_set_password: increase random pwlength from 9 to 20 (#189)
    - .travis.yml: use correct Python version for xenial tests (#185)
    - cloudinit: remove ImportError handling for mock imports (#182)
    - Do not use fallocate in swap file creation on xfs. (#70) [Eduardo Otubo]
    - .readthedocs.yaml: install cloud-init when building docs (#181)
    - Introduce an RTD config file, and pin the Sphinx version to the RTD
      default (#180)
    - Drop most of the remaining use of six (#179)
    - Start removing dependency on six (#178)
    - Add Rootbox & HyperOne to list of cloud in README (#176) [Adam Dobrawy]
    - docs: add proposed SRU testing procedure (#167)
    - util: rename get_architecture to get_dpkg_architecture (#173)
    - Ensure util.get_architecture() runs only once (#172)
\

Chad Smith (chad.smith)
description: updated
Chad Smith (chad.smith)
description: updated
Chad Smith (chad.smith)
description: updated
Chad Smith (chad.smith)
summary: - sru cloud-init (19.4.33 to 20.2-30) Xenial, Bionic, Eoan and Focal
+ sru cloud-init (19.4.33 to 20.2-45) Xenial, Bionic, Eoan and Focal
Chad Smith (chad.smith)
description: updated
Chad Smith (chad.smith)
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

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/20.2-45-g5f7825e2-0ubuntu1~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 Focal):
status: New → Fix Committed
tags: added: verification-needed verification-needed-focal
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Chad, or anyone else affected,

Accepted cloud-init into eoan-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud-init/20.2-45-g5f7825e2-0ubuntu1~19.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-eoan to verification-done-eoan. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-eoan. 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 Eoan):
status: New → Fix Committed
tags: added: verification-needed-eoan
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Chad, 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/20.2-45-g5f7825e2-0ubuntu1~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.

Changed in cloud-init (Ubuntu Bionic):
status: New → Fix Committed
tags: added: verification-needed-bionic
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Chad, or anyone else affected,

Accepted cloud-init into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud-init/20.2-45-g5f7825e2-0ubuntu1~16.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-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. 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 Xenial):
status: New → Fix Committed
tags: added: verification-needed-xenial
Chad Smith (chad.smith)
Changed in cloud-init (Ubuntu):
status: New → In Progress
Revision history for this message
Lucas Albuquerque Medeiros de Moura (lamoura) wrote :

Attach file ec2-sru-20.2.45.txt.

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

Attach file nocloud-kvm-sru-20.2.45.txt.

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

Attach file nocloud-lxd-sru-20.2.45.txt.

Revision history for this message
Xiaofeng Wang (xiaofengw) wrote :

Verified pull request https://github.com/canonical/cloud-init/pull/261 on sru-20.2.45 and confirm the fix works as expected. Thanks.

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

Attach file oracle-sru-20.2.45.txt.

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

Attach file gce-sru-20.2.45.txt.

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

Attach file azure-sru-20.2.45.txt.

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

Attach file softlayer-sru-20.2.45.txt.

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

Attach file openstack-sru-20.2.45.txt.

description: updated
Revision history for this message
John George (jog) wrote :

Solutions QA has tested Cloud-init 20.2-45-g5f7825e2 within our CI testing of Foundation Cloud Builds on Bionic. Artifacts for all test runs are available by following the links on the test plan page here: https://solutions.qa.canonical.com/#/testplans/testplaninstance/06ff68c9-dd19-4470-98d5-a475708b6cc9

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

Verification is complete on all SRU validation tasks. All relevant verification results have been added to this bug, and we have an outstanding change request to the ubuntu-release mailing list
seeking approval to only have Bionic testing from the Solutions test team. I'm marking verification-done on all releases as we have completed all cloud-init manual and automated testing for this SRU.

tags: added: verification-done verification-done-bionic verification-done-eoan verification-done-focal
removed: verification-needed verification-needed-bionic verification-needed-eoan verification-needed-focal
description: updated
tags: added: verification-done-xenial
removed: verification-needed-xenial
Revision history for this message
Chad Smith (chad.smith) wrote :

For context (since the email is blocked on moderation of the ubuntu-release mailinglist), the change request is to change the following text in the "Solutions testing" section[1] of the cloud-init SRU exception.

FROM:

 A successful run for each specific release will be required before the proposed cloud-init can be let into -updates.

TO:

 A successful run for each field-supported LTS release will be required before the proposed cloud-init can be let into -updates.

[1] https://wiki.ubuntu.com/CloudinitUpdates#Solutions_Testing

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

all testing is complete, and we leave the SRU vanguard to review the minor changeset to the cloud-init SRU exception policy which allows the "solutions testing" to limit their testing exposure to file-supported LTS releases (instead of all LTS releases).

All other cloud-init manual and automated testing has completed successfully.

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

Here is the ubuntu-release email for context https://lists.ubuntu.com/archives/ubuntu-release/2020-July/005016.html

The SRU Vanguard reviewing this PR might be able to ack/nack this minor change limiting the "bonus" test coverage from the Solutions testing team

Revision history for this message
Robie Basak (racb) 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 :
Download full text (12.4 KiB)

This bug was fixed in the package cloud-init - 20.2-45-g5f7825e2-0ubuntu1~19.10.1

---------------
cloud-init (20.2-45-g5f7825e2-0ubuntu1~19.10.1) eoan; urgency=medium

  * d/cloud-init.templates: Add RbxCloud datasource support
  * d/control: drop python3-pep8, python3-pyflakes, python3-six from
    Build-depends
  * d/patches/ec2-dont-apply-full-imds-network-config.patch: by default only
    configure DHCP on eth0 to retain current network config behavior
  * d/patches/renderer-do-not-prefer-netplan.patch: leave default renderer
    order as ENI before netplan.
  * New upstream snapshot. (LP: #1881018)
    - test: fix all flake8 E241 (#403) [Joshua Powers]
    - test: ignore flake8 E402 errors in main.py (#402) [Joshua Powers]
    - cc_grub_dpkg: determine idevs in more robust manner with grub-probe
      (#358) [Matthew Ruffell]
    - test: fix all flake8 E741 errors (#401) [Joshua Powers]
    - tests: add groovy integration tests for ubuntu (#400)
    - Enable chef_license support for chef infra client (#389) [Bipin Bachhao]
    - testing: use flake8 again (#392) [Joshua Powers]

cloud-init (20.2-38-g8377897b-0ubuntu1~19.10.1) eoan; urgency=medium

  * d/control: drop pyflakes from Build-Depends
  * d/control: drop python3-nose and python3-unittest2 from Build-Depends
    - upstream uses pytest
  * d/control: add python3-pytest to Build-Depends
    - This fixes upstream daily builds. python3-nose is not removed from
      Build-Depends because, currently, the Ubuntu package builds will still
      use it for testing.
  * New upstream snapshot. (LP: #1881018)
    - enable Puppet, Chef mcollective in default config (#385)
      [Mina Galić (deprecated: Igor Galić)]
    - HACKING.rst: introduce .net -> Networking refactor section (#384)
    - Travis: do not install python3-contextlib2 (dropped dependency) (#388)
      [Paride Legovini]
    - HACKING: mention that .github-cla-signers is alpha-sorted (#380)
    - Add bipinbachhao as contributor (#379) [Bipin Bachhao]
    - cc_snap: validate that assertions property values are strings (#370)
    - conftest: implement partial disable_subp_usage (#371)
    - test_resolv_conf: refresh stale comment (#374)
    - cc_snap: apply validation to snap.commands properties (#364)
    - make finding libc platform independent (#366)
      [Mina Galić (deprecated: Igor Galić)]
    - doc/rtd/topics/faq: Updates LXD docs links to current site (#368) [TomP]
    - templater: drop Jinja Python 2 compatibility shim (#353)
    - cloudinit: minor pylint fixes (#360)
    - cloudinit: remove unneeded __future__ imports (#362)
    - migrating momousta lp user to Moustafa-Moustafa GitHub user (#361)
      [Moustafa Moustafa]
    - cloud_tests: emit dots on Travis while fetching images (#347)
    - Add schema to apt configure config (#357) [lucasmoura]
    - conftest: add docs and tests regarding CiTestCase's subp functionality
      (#343)
    - analyze/dump: refactor shared string into variable (#350)
    - doc: update boot.rst with correct timing of runcmd (#351)
    - HACKING.rst: change contact info to Rick Harding (#359) [lucasmoura]
    - HACKING.rst: guide people to add themselves to the CLA file (#349)
    - HAC...

Changed in cloud-init (Ubuntu Eoan):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (12.6 KiB)

This bug was fixed in the package cloud-init - 20.2-45-g5f7825e2-0ubuntu1~18.04.1

---------------
cloud-init (20.2-45-g5f7825e2-0ubuntu1~18.04.1) bionic; urgency=medium

  * New upstream snapshot. (LP: #1881018)
    - test: fix all flake8 E241 (#403) [Joshua Powers]
    - test: ignore flake8 E402 errors in main.py (#402) [Joshua Powers]
    - cc_grub_dpkg: determine idevs in more robust manner with grub-probe
      (#358) [Matthew Ruffell]
    - test: fix all flake8 E741 errors (#401) [Joshua Powers]
    - tests: add groovy integration tests for ubuntu (#400)
    - Enable chef_license support for chef infra client (#389) [Bipin Bachhao]
    - testing: use flake8 again (#392) [Joshua Powers]

cloud-init (20.2-38-g8377897b-0ubuntu1~18.04.1) bionic; urgency=medium

  * d/cloud-init.templates: Add RbxCloud datasource support
  * d/patches/ec2-dont-apply-full-imds-network-config.patch: by default only
    configure DHCP on eth0 to retain current network config behavior
  * d/patches/renderer-do-not-prefer-netplan.patch: leave default renderer
    order as ENI before netplan.
  * d/control: drop pyflakes from Build-Depends
    - This python2 pyflakes package is an unneeded dependency now that tests
      use python3-pyflakes.
  * d/control: add python3-pytest to Build-Depends
    - This fixes upstream daily builds. python3-nose is not removed from
      Build-Depends because, currently, the Ubuntu package builds will still
      use it for testing.
  * d/control: drop python3-pep8, python3-pyflakes, python3-six, python3-nose
    and python3-unittest2 from Build-Depends
  * refresh patches:
   + debian/patches/ubuntu-advantage-revert-tip.patch
  * refresh patches:
   + debian/patches/openstack-no-network-config.patch
  * New upstream snapshot. (LP: #1881018)
    - enable Puppet, Chef mcollective in default config (#385)
      [Mina Galić (deprecated: Igor Galić)]
    - HACKING.rst: introduce .net -> Networking refactor section (#384)
    - Travis: do not install python3-contextlib2 (dropped dependency) (#388)
      [Paride Legovini]
    - HACKING: mention that .github-cla-signers is alpha-sorted (#380)
    - Add bipinbachhao as contributor (#379) [Bipin Bachhao]
    - cc_snap: validate that assertions property values are strings (#370)
    - conftest: implement partial disable_subp_usage (#371)
    - test_resolv_conf: refresh stale comment (#374)
    - cc_snap: apply validation to snap.commands properties (#364)
    - make finding libc platform independent (#366)
      [Mina Galić (deprecated: Igor Galić)]
    - doc/rtd/topics/faq: Updates LXD docs links to current site (#368) [TomP]
    - templater: drop Jinja Python 2 compatibility shim (#353)
    - cloudinit: minor pylint fixes (#360)
    - cloudinit: remove unneeded __future__ imports (#362)
    - migrating momousta lp user to Moustafa-Moustafa GitHub user (#361)
      [Moustafa Moustafa]
    - cloud_tests: emit dots on Travis while fetching images (#347)
    - Add schema to apt configure config (#357) [lucasmoura]
    - conftest: add docs and tests regarding CiTestCase's subp functionality
      (#343)
    - analyze/dump: refactor shared string into variable (#350)
    - doc: update boot.rst ...

Changed in cloud-init (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (12.9 KiB)

This bug was fixed in the package cloud-init - 20.2-45-g5f7825e2-0ubuntu1~16.04.1

---------------
cloud-init (20.2-45-g5f7825e2-0ubuntu1~16.04.1) xenial; urgency=medium

  * d/control: drop python3-pep8, python3-pyflakes and python3-six from
    Build-Depends
  * d/cloud-init.templates: Add RbxCloud datasource support
  * d/patches/ec2-dont-apply-full-imds-network-config.patch: by default only
    configure DHCP on eth0 to retain current network config behavior
  * d/patches/renderer-do-not-prefer-netplan.patch: leave default renderer
    order as ENI before netplan.
  * refresh patches:
   + debian/patches/ec2-classic-dont-reapply-networking.patch fix flake error
  * New upstream snapshot. (LP: #1881018)
    - test: fix all flake8 E241 (#403) [Joshua Powers]
    - test: ignore flake8 E402 errors in main.py (#402) [Joshua Powers]
    - cc_grub_dpkg: determine idevs in more robust manner with grub-probe
      (#358) [Matthew Ruffell]
    - test: fix all flake8 E741 errors (#401) [Joshua Powers]
    - tests: add groovy integration tests for ubuntu (#400)
    - Enable chef_license support for chef infra client (#389) [Bipin Bachhao]
    - testing: use flake8 again (#392) [Joshua Powers]

cloud-init (20.2-38-g8377897b-0ubuntu1~16.04.1) xenial; urgency=medium

  * d/control: drop pyflakes from Build-Depends
    - This python2 pyflakes package is an unneeded dependency now that tests
      use python3-pyflakes.
  * d/control: add python3-pytest to Build-Depends
    - This fixes upstream daily builds. python3-nose is not removed from
      Build-Depends because, currently, the Ubuntu package builds will still
      use it for testing.
  * d/control: drop python3-unittest2 and python3-nose from Build-Depends
    - upstream now uses pytest
  * refresh patches:
   + debian/patches/ubuntu-advantage-revert-tip.patch
  * refresh patches:
   + debian/patches/ec2-classic-dont-reapply-networking.patch
   + debian/patches/openstack-no-network-config.patch
   + debian/patches/stable-release-no-jsonschema-dep.patch
  * New upstream snapshot. (LP: #1881018)
    - enable Puppet, Chef mcollective in default config (#385)
      [Mina Galić (deprecated: Igor Galić)]
    - HACKING.rst: introduce .net -> Networking refactor section (#384)
    - Travis: do not install python3-contextlib2 (dropped dependency) (#388)
      [Paride Legovini]
    - HACKING: mention that .github-cla-signers is alpha-sorted (#380)
    - Add bipinbachhao as contributor (#379) [Bipin Bachhao]
    - cc_snap: validate that assertions property values are strings (#370)
    - conftest: implement partial disable_subp_usage (#371)
    - test_resolv_conf: refresh stale comment (#374)
    - cc_snap: apply validation to snap.commands properties (#364)
    - make finding libc platform independent (#366)
      [Mina Galić (deprecated: Igor Galić)]
    - doc/rtd/topics/faq: Updates LXD docs links to current site (#368) [TomP]
    - templater: drop Jinja Python 2 compatibility shim (#353)
    - cloudinit: minor pylint fixes (#360)
    - cloudinit: remove unneeded __future__ imports (#362)
    - migrating momousta lp user to Moustafa-Moustafa GitHub user (#361)
      [Moustafa Moustafa]
    - cloud_tests:...

Changed in cloud-init (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Robie Basak (racb) wrote :

I did also release Focal. Not sure why that hasn't gone through yet.

--- Releasing cloud-init ---
Proposed: 20.2-45-g5f7825e2-0ubuntu1~20.04.1
Release: 20.1-10-g71af48df-0ubuntu5
Copied to focal-updates
--- Releasing cloud-init ---
Proposed: 20.2-45-g5f7825e2-0ubuntu1~19.10.1
Updates: 19.4-33-gbb4131a2-0ubuntu1~19.10.1
Copied to eoan-updates
LP: #1881018 was not commented on
--- Releasing cloud-init ---
Proposed: 20.2-45-g5f7825e2-0ubuntu1~18.04.1
Updates: 19.4-33-gbb4131a2-0ubuntu1~18.04.1
Copied to bionic-updates
LP: #1881018 was not commented on
--- Releasing cloud-init ---
Proposed: 20.2-45-g5f7825e2-0ubuntu1~16.04.1
Updates: 19.4-33-gbb4131a2-0ubuntu1~16.04.1
Copied to xenial-updates
LP: #1881018 was not commented on

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (10.1 KiB)

This bug was fixed in the package cloud-init - 20.2-45-g5f7825e2-0ubuntu1~20.04.1

---------------
cloud-init (20.2-45-g5f7825e2-0ubuntu1~20.04.1) focal; urgency=medium

  * d/cloud-init.templates: correct lintian missing RbxCloud from Choices-C
  * d/control: drop python3-six, python3-pep8 and python3-pyflakes
    from Build-Depends
  * New upstream snapshot. (LP: #1881018)
    - test: fix all flake8 E241 (#403) [Joshua Powers]
    - test: ignore flake8 E402 errors in main.py (#402) [Joshua Powers]
    - cc_grub_dpkg: determine idevs in more robust manner with grub-probe
      (#358) [Matthew Ruffell]
    - test: fix all flake8 E741 errors (#401) [Joshua Powers]
    - tests: add groovy integration tests for ubuntu (#400)
    - Enable chef_license support for chef infra client (#389) [Bipin Bachhao]
    - testing: use flake8 again (#392) [Joshua Powers]

cloud-init (20.2-38-g8377897b-0ubuntu1~20.04.1) focal; urgency=medium

  * d/control: drop pyflakes from Build-Depends
    - This python2 pyflakes package is an unneeded dependency now that tests
      use python3-pyflakes.
  * d/control: drop python3-nose and python3-unittest2 from Build-Depends
    - Upstream now uses pytest
  * drop the following cherry-picks now included:
    + cpick-6600c642-ec2-render-network-on-all-NICs-and-add-secondary-IPs-as
    + cpick-986f37b0-cloudinit-move-to-pytest-for-running-tests-211
    + cpick-4fb6fd8a-net-ubuntu-focal-prioritize-netplan-over-eni-even-if
    + cpick-04771d75-cc_disk_setup-fix-RuntimeError-270
    + cpick-c5e949c0-distros-tests-test_init-add-tests-for
    + cpick-2566fdbe-net-introduce-is_ip_address-function-288
    + cpick-4f825b3e-cloudinit-refactor-util.is_ipv4-to-net.is_ipv4_address
    + cpick-c478d0bf-distros-replace-invalid-characters-in-mirror-URLs-with
    + cpick-1bbc4908-distros-drop-leading-trailing-hyphens-from-mirror-URL
    + cpick-09fea85f-net-ignore-renderer-key-in-netplan-config-306
    + fix-cpick-4fb6fd8a-net-ubuntu-focal-prioritize-netplan-over-eni.patch
    + cpick-9d7b35ce-cc_mounts-fix-incorrect-format-specifiers-316
    + cpick-0c5c7367-test_mounts-expand-happy-path-test-for-both-happy-paths
  * New upstream snapshot. (LP: #1881018)
    - enable Puppet, Chef mcollective in default config (#385)
      [Mina Galić (deprecated: Igor Galić)]
    - HACKING.rst: introduce .net -> Networking refactor section (#384)
    - Travis: do not install python3-contextlib2 (dropped dependency) (#388)
      [Paride Legovini]
    - HACKING: mention that .github-cla-signers is alpha-sorted (#380)
    - Add bipinbachhao as contributor (#379) [Bipin Bachhao]
    - cc_snap: validate that assertions property values are strings (#370)
    - conftest: implement partial disable_subp_usage (#371)
    - test_resolv_conf: refresh stale comment (#374)
    - cc_snap: apply validation to snap.commands properties (#364)
    - make finding libc platform independent (#366)
      [Mina Galić (deprecated: Igor Galić)]
    - doc/rtd/topics/faq: Updates LXD docs links to current site (#368) [TomP]
    - templater: drop Jinja Python 2 compatibility shim (#353)
    - cloudinit: minor pylint fixes (#360)
    - cloudinit: remove unneeded __future__ imports (#...

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.