** Description changed: [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: - - sources/azure: report ready in local phase [Chris Patterson] - - sources/azure: validate IMDS network configuration metadata - [Chris Patterson] - - Fix extra ipv6 issues, code reduction and simplification [eb3095] - - mounts: fix mount opts string for ephemeral disk - [Chris Patterson] - - Shell script handlers by freq [Chris Lalos] - - cloud-id: publish /run/cloud-init/cloud-id-<cloud-type> files - - sources/azure: refactor ssh key handling [Chris Patterson] - - sources/hetzner: Use EphemeralDHCPv4 instead of static configuration - [Markus Schade] - - Fix IPv6 netmask format for sysconfig [Harald] (LP: #1959148) - - sources/azure: consolidate ephemeral DHCP configuration - [Chris Patterson] - - sources/azure: fix metadata check in _check_if_nic_is_primary() - [Chris Patterson] - - Add _netdev option to mount Azure ephemeral disk [Eduardo Otubo] - - vultr: Return metadata immediately when found [eb3095] - - Schema a d (#1211) - - Move LXD to end ds-identify DSLIST (LP: #1959118) - - sources/azure: refactor _report_ready_if_needed and _poll_imds - [Chris Patterson] - - Do not support setting up archive.canonical.com as a source - [Steve Langasek] (LP: #1959343) - - Vultr: Fix lo being used for DHCP, try next on cmd fail [eb3095] - - sources/azure: refactor _should_reprovision[_after_nic_attach]() logic - [Chris Patterson] - - update ssh logs to show ssh private key gens pub and simplify code - [Steve Weber] - - Add json parsing of ip addr show - - cc_rsyslog: fix typo in docstring [Louis Sautier] - - sources/azure: drop unused case in _report_failure() - [Chris Patterson] - - sources/azure: always initialize _ephemeral_dhcp_ctx on unpickle - [Chris Patterson] - - sources/azure: unpack ret tuple in crawl_metadata() - [Chris Patterson] - - Seek interfaces, skip dummy interface, fix region codes [eb3095] - - cmd: status and cloud-id avoid change in behavior for 'not run' - - sources/azure: set ovf_is_accessible when OVF is read successfully - [Chris Patterson] - - Enable OVF environment transport via ISO in example [Megian] - - sources/azure: consolidate DHCP variants to EphemeralDHCPv4WithReporting [Chris Patterson] - - Single JSON schema validation in early boot - - Add DatasourceOVF network-config propery to Ubuntu OVF example - [Megian] - - Ensure system_cfg read before ds net config on Oracle - (LP: #1956788) - - cli: cloud-id report not-run or disabled state as cloud-id - - Remove distutils usage [Shreenidhi Shedi] - - print error if datasource import fails [Emanuele Giuseppe Esposito] - - Add new config module to set keyboard layout - [maxnet] (LP: #1951593) - - Don't throw exceptions for empty cloud config - - sources/azure: do not persist failed_desired_api_version flag - [Chris Patterson] - - Update cc_ubuntu_advantage calls to assume-yes - [John Chittum] (LP: #1954842) - - Include dpkg frontend lock in APT_LOCK_FILES - - Schema processing changes - - find_devs_with_openbsd: ensure we return the last entry - [Gonéri Le Bouder] - - sources/azure: remove unnecessary hostname bounce - [Chris Patterson] - - Improve error log message when mount failed [Ksenija Stanojevic] - - Add Strict Metaschema Validation - - cloudinit/net: handle two different routes for the same ip - [Emanuele Giuseppe Esposito] - - Fix exception when no activator found (GH: #1948681) - - jinja: provide and document jinja-safe key aliases in instance-data - - Move GCE metadata fetch to init-local - - Fix missing metadata routes for vultr [eb3095] - - cc_ssh_authkey_fingerprints.py: prevent duplicate messages on console - [dermotbradley] - - sources/azure: remove unused remnants related to agent command - [Chris Patterson] - - Fix Vultr timeout and wait values [eb3095] - - lxd: add preference for LXD cloud-init.* config keys over user keys - - VMware: source /etc/network/interfaces.d/* on Debian - [chengcheng-chcheng] (GH: #1950136) - - Fix for set-name bug in networkd renderer - [Andrew Kutz] (GH: #1949407) - - Wait for apt lock (GH: #1944611) - - alpine.py: add options to the apk upgrade command [dermotbradley] + - Azure [Chris Patterson] + - various refactors including: key handling, reporting, imds crawl + - Add _netdev option to mount Azure ephemeral disk [Eduardo Otubo] + - GCE: move metadata fetch to init-local + - Oracle: Ensure system_cfg read before ds net config + (LP: #1956788) + - LXD: + - Move LXD to end ds-identify DSLIST (LP: #1959118) + - Add preference for LXD cloud-init.* config keys over user keys + + - VMware: source /etc/network/interfaces.d/* on Debian + [chengcheng-chcheng] (LP: #1950136) + + - Vultr: [eb3095] + - Return metadata immediately when found + - Fix lo being used for DHCP, try next on cmd fail + - Fix timeout and wait values and missing metadata routes + - Seek interfaces, skip dummy interface, fix region codes + See the changelog entry below for a full list of changes and bugs. [Test Case] The following development and SRU process was followed: https://wiki.ubuntu.com/CloudinitUpdates The cloud-init team will be in charge of attaching the artifacts and console output of the appropriate run to the bug. cloud-init team members will not mark ‘verification-done’ until this has happened. * Automated Test Results <TODO: attach automated cloud-init-proposed test artifacts from tests for each release with lxd artifacts> <TODO: attach automated cloud-init-proposed test artifacts from tests for each release with kvm artifacts> <TODO: attach automated curtin vmtest with cloud-init proposed> <TODO: attach Solutions Testing team test results for each LTS> * Manual Test Results <TODO: attach manual cloud-init-proposed test artifacts from tests for each release on ec2 datasource> <TODO: attach manual cloud-init-proposed test artifacts from tests for each release on gce datasource> <TODO: attach manual cloud-init-proposed test artifacts from tests for each release on azure datasource> [Regression Potential] In order to mitigate the regression potential, the results of the aforementioned integration tests are attached to this bug. [Discussion] <TODO: other background> == Changelog == - sources/azure: report ready in local phase (#1265) [Chris Patterson] - sources/azure: validate IMDS network configuration metadata (#1257) [Chris Patterson] - docs: Add more details to runcmd docs (#1266) - use PEP 589 syntax for TypeDict (#1253) - mypy: introduce type checking (#1254) [Chris Patterson] - Fix extra ipv6 issues, code reduction and simplification (#1243) [eb3095] - tests: when generating crypted password, generate in target env (#1252) - sources/azure: address mypy/pyright typing complaints (#1245) [Chris Patterson] - Docs for x-shellscript* userdata (#1260) - test_apt_security: azure platform has specific security URL overrides (#1263) - tests: lsblk --json output changes mountpoint key to mountpoinst [] (#1261) - mounts: fix mount opts string for ephemeral disk (#1250) [Chris Patterson] - Shell script handlers by freq (#1166) [Chris Lalos] - minor improvements to documentation (#1259) [Mark Esler] - cloud-id: publish /run/cloud-init/cloud-id-<cloud-type> files (#1244) - add "eslerm" as contributor (#1258) [Mark Esler] - sources/azure: refactor ssh key handling (#1248) [Chris Patterson] - bump pycloudlib (#1256) - sources/hetzner: Use EphemeralDHCPv4 instead of static configuration (#1251) [Markus Schade] - bump pycloudlib version (#1255) - Fix IPv6 netmask format for sysconfig (#1215) [Harald] (LP: #1959148) - sources/azure: drop debug print (#1249) [Chris Patterson] - tests: do not check instance.pull_file().ok() (#1246) - sources/azure: consolidate ephemeral DHCP configuration (#1229) [Chris Patterson] - cc_salt_minion freebsd fix for rc.conf (#1236) - sources/azure: fix metadata check in _check_if_nic_is_primary() (#1232) [Chris Patterson] - Add _netdev option to mount Azure ephemeral disk (#1213) [Eduardo Otubo] - testing: stop universally overwriting /etc/cloud/cloud.cfg.d (#1237) - Integration test changes (#1240) - Fix Gentoo Locales (#1205) - Add "slingamn" as contributor (#1235) [Shivaram Lingamneni] - integration: do not LXD bind mount /etc/cloud/cloud.cfg.d (#1234) - Integration testing docs and refactor (#1231) - vultr: Return metadata immediately when found (#1233) [eb3095] - spell check docs with spellintian - docs: include upstream python version info - Schema a d - Move LXD to end ds-identify DSLIST (#1228) (LP: #1959118) - fix parallel tox execution - sources/azure: refactor _report_ready_if_needed and _poll_imds [Chris Patterson] - Do not support setting up archive.canonical.com as a source [Steve Langasek] (LP: #1959343) - Vultr: Fix lo being used for DHCP, try next on cmd fail [eb3095] - sources/azure: refactor _should_reprovision[_after_nic_attach]() logic [Chris Patterson] - update ssh logs to show ssh private key gens pub and simplify code [Steve Weber] - Remove mitechie from stale PR github action - Include POST format in cc_phone_home docs (LP: #1959149) - Add json parsing of ip addr show - cc_rsyslog: fix typo in docstring [Louis Sautier] - Update .github-cla-signers [Chris Lalos] - sources/azure: drop unused case in _report_failure() [Chris Patterson] - - sources/azure: always initialize _ephemeral_dhcp_ctx on unpickle + - sources/azure: always initialize _ephemeral_dhcp_ctx on unpickle [Chris Patterson] - Add support for gentoo templates and cloud.cfg [vteratipally] - - sources/azure: unpack ret tuple in crawl_metadata() + - sources/azure: unpack ret tuple in crawl_metadata() [Chris Patterson] - tests: focal caplog has whitespace indentation for multi-line logs - + - Seek interfaces, skip dummy interface, fix region codes [eb3095] - integration: test against the Ubuntu daily images [Paride Legovini] - cmd: status and cloud-id avoid change in behavior for 'not run' - tox: pass PYCLOUDLIB_* env vars into integration tests when present - sources/azure: set ovf_is_accessible when OVF is read successfully [Chris Patterson] - Enable OVF environment transport via ISO in example [Megian] - sources/azure: consolidate DHCP variants to EphemeralDHCPv4WithReporting [Chris Patterson] - Single JSON schema validation in early boot - Add DatasourceOVF network-config propery to Ubuntu OVF example (#1184) [Megian] - testing: support pycloudlib config file (#1189) - Ensure system_cfg read before ds net config on Oracle (SC-720) (#1174) (LP: #1956788) - Test Optimization Proposal (SC-736) (#1188) - cli: cloud-id report not-run or disabled state as cloud-id (#1162) - Remove distutils usage (#1177) [Shreenidhi Shedi] - add .python-version to gitignore (#1186) - print error if datasource import fails (#1170) [Emanuele Giuseppe Esposito] - Add new config module to set keyboard layout (#1176) [maxnet] (LP: #1951593) - sources/azure: rename metadata_type -> MetadataType (#1181) [Chris Patterson] - Remove 3.5 and xenial support (SC-711) (#1167) - tests: mock LXD datasource detection in ds-identify on LXD containers (#1178) - pylint: silence errors on compat code for old jsonschema (#1172) [Paride Legovini] - testing: Add 3.10 Test Coverage (#1173) - Remove unittests from integration test job in travis (#1141) - Don't throw exceptions for empty cloud config (#1130) - bsd/resolv.d/ avoid duplicated entries (#1163) [Gonéri Le Bouder] - sources/azure: do not persist failed_desired_api_version flag (#1159) [Chris Patterson] - Update cc_ubuntu_advantage calls to assume-yes (#1158) [John Chittum] (LP: #1954842) - openbsd: properly restart the network on 7.0 (#1150) [Gonéri Le Bouder] - Add .git-blame-ignore-revs (#1161) - Adopt Black and isort (SC-700) (#1157) - Include dpkg frontend lock in APT_LOCK_FILES (#1153) - tests/cmd/query: fix test run as root and add coverage for defaults (#1156) [Chris Patterson] (LP: #1825027) - Schema processing changes (SC-676) (#1144) - Add dependency workaround for impish in bddeb (#1148) - netbsd: install new dep packages (#1151) [Gonéri Le Bouder] - find_devs_with_openbsd: ensure we return the last entry (#1149) [Gonéri Le Bouder] - sources/azure: remove unnecessary hostname bounce (#1143) [Chris Patterson] - find_devs/openbsd: accept ISO on disk (#1132) [Gonéri Le Bouder] (GH: https://github.com/ContainerCraft/kmi/issues/12) - Improve error log message when mount failed (#1140) [Ksenija Stanojevic] - add KsenijaS as a contributor (#1145) [Ksenija Stanojevic] - travis - don't run integration tests if no deb (#1139) - factor out function for getting top level directory of cloudinit (#1136) - testing: Add deterministic test id (#1138) - mock sleep() in azure test (#1137) - Add miraclelinux support (#1128) [Haruki TSURUMOTO] - docs: Make MACs lowercase in network config (#1135) (GH: #1876941) - Add Strict Metaschema Validation (#1101) - update dead link (#1133) - cloudinit/net: handle two different routes for the same ip (#1124) [Emanuele Giuseppe Esposito] - docs: pin mistune dependency (#1134) - Reorganize unit test locations under tests/unittests (#1126) - Fix exception when no activator found (#1129) (GH: #1948681) - jinja: provide and document jinja-safe key aliases in instance-data (SC-622) (#1123) - testing: Remove date from final_message test (SC-638) (#1127) - Move GCE metadata fetch to init-local (SC-502) (#1122) - Fix missing metadata routes for vultr (#1125) [eb3095] - cc_ssh_authkey_fingerprints.py: prevent duplicate messages on console (#1081) [dermotbradley] - sources/azure: remove unused remnants related to agent command (#1119) [Chris Patterson] - github: update PR template's contributing URL (#1120) [Chris Patterson] - docs: Rename HACKING.rst to CONTRIBUTING.rst (#1118) - testing: monkeypatch system_info call in unit tests (SC-533) (#1117) - Fix Vultr timeout and wait values (#1113) [eb3095] - lxd: add preference for LXD cloud-init.* config keys over user keys (#1108) - VMware: source /etc/network/interfaces.d/* on Debian [chengcheng-chcheng] (GH: #1950136) - Add cjp256 as contributor (#1109) [Chris Patterson] - integration_tests: Ensure log directory exists before symlinking to it (#1110) - testing: add growpart integration test (#1104) - integration_test: Speed up CI run time (#1111) - Some miscellaneous integration test fixes (SC-606) (#1103) - tests: specialize lxd_discovery test for lxd_vm vendordata (#1106) - Add convenience symlink to integration test output (#1105) - Fix for set-name bug in networkd renderer (#1100) [Andrew Kutz] (GH: #1949407) - Wait for apt lock (#1034) (GH: #1944611) - testing: stop chef test from running on openstack (#1102) - alpine.py: add options to the apk upgrade command (#1089) [dermotbradley]
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1961446 Title: sru cloud-init (22.1 update) Bionic, Focal, Impish To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1961446/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs