Recommended update for cloud-init

Announcement ID: SUSE-RU-2022:1121-1
Rating: important
References:
Affected Products:
  • Public Cloud Module 15
  • SUSE Linux Enterprise High Performance Computing 15
  • SUSE Linux Enterprise Server 15
  • SUSE Linux Enterprise Server for SAP Applications 15

An update that has two fixes can now be installed.

Description:

This update for cloud-init fixes the following issues:

  • Update to version 21.4 (bsc#1192343, jsc#PM-3181)
  • Also include VMWare functionality for (jsc#PM-3175)
  • Azure: fallback nic needs to be reevaluated during reprovisioning
  • testing: Remove calls to 'install_new_cloud_init' (#1092)
  • Add LXD datasource (#1040)
  • Fix unhandled apt_configure case. (#1065)
  • Allow libexec for hotplug (#1088)
  • Add necessary mocks to 'test_ovf unit' tests (#1087)
  • Remove (deprecated) apt-key (#1068)
  • distros: Remove a completed "TODO" comment (#1086)
  • cc_ssh.py: Add configuration for controlling ssh-keygen output (#1083) [dermotbradley]
  • Add "install hotplug" module (SC-476) (#1069) (LP: #1946003)
  • hosts.alpine.tmpl: rearrange the order of short and long hostnames (#1084) [dermotbradley]
  • Add max version to docutils
  • cloudinit/dmi.py: Change warning to debug to prevent console display (#1082) [dermotbradley]
  • remove unnecessary EOF string in disable-sshd-keygen-if-cloud-init-active.conf (#1075) [Emanuele Giuseppe Esposito]
  • Add module 'write-files-deferred' executed in stage 'final' (#916) [Lucendio]
  • Bump pycloudlib to fix CI (#1080)
  • Remove pin in dependencies for jsonschema (#1078)
  • Add "Google" as possible system-product-name (#1077)
  • Update Debian security suite for bullseye (#1076)
  • Leave the details of service management to the distro (#1074)
  • Fix typos in setup.py (#1059)
  • Update Azure _unpickle (SC-500) (#1067) (LP: #1946644)
  • cc_ssh.py: fix private key group owner and permissions (#1070)
  • VMware: read network-config from ISO (#1066)
  • testing: mock sleep in gce unit tests (#1072)
  • CloudStack: fix data-server DNS resolution (#1004)
  • Fix unit test broken by pyyaml upgrade (#1071)
  • testing: add get_cloud function (SC-461) (#1038)
  • Inhibit sshd-keygen@.service if cloud-init is active (#1028)
  • VMWARE: search the deployPkg plugin in multiarch dir (#1061)
  • Fix set-name/interface DNS bug (#1058)
  • Use specified tmp location for growpart (#1046)
  • .gitignore: ignore tags file for ctags users (#1057)
  • Allow comments in runcmd and report failed commands correctly (#1049)
  • tox integration: pass the proxy, GOOGLE, GCP_* env vars (#1050)
  • Allow disabling of network activation (SC-307) (#1048)
  • renderer: convert relative imports to absolute (#1052)
  • Support ETHx_IP6_GATEWAY, SET_HOSTNAME on OpenNebula (#1045)
  • integration-requirements: bump the pycloudlib commit (#1047)
  • Allow Vultr to set MTU and use as-is configs (#1037)
  • pin jsonschema in requirements.txt (#1043)
  • testing: remove cloud_tests (#1020)
  • Add andgein as contributor (#1042)
  • Make wording for module frequency consistent (#1039)
  • Use ascii code for growpart (#1036)
  • Add jshen28 as contributor (#1035)
  • Skip test_cache_purged_on_version_change on Azure (#1033)
  • Remove invalid ssh_import_id from examples (#1031)
  • Cleanup Vultr support (#987)
  • docs: update cc_disk_setup for fs to raw disk (#1017)
  • HACKING.rst: change contact info to James Falcon (#1030)
  • tox: bump the pinned flake8 and pylint version (#1029)
  • Add retries to DataSourceGCE.py when connecting to GCE (#1005)
  • Set Azure to apply networking config every BOOT (#1023)
  • Add connectivity_url to Oracle's EphemeralDHCPv4 (#988) (LP: #1939603)
  • docs: fix typo and include sudo for report bugs commands (#1022)
  • VMware: Fix typo introduced in #947 and add test (#1019)
  • Update IPv6 entries in /etc/hosts (#1021) (LP: #1943798)
  • Integration test upgrades for the 21.3-1 SRU (#1001)
  • Add Jille to tools/.github-cla-signers (#1016)
  • Improve ug_util.py (#1013)
  • Support openEuler OS (#1012)
  • ssh_utils.py: ignore when sshd_config options are not key/value pairs (#1007)
  • Set Azure to only update metadata on BOOT_NEW_INSTANCE (#1006)
  • cc_update_etc_hosts: Use the distribution-defined path for the hosts file (#983)
  • Add CloudLinux OS support (#1003)
  • puppet config: add the start_agent option (#1002)
  • Fix make style-check errors (#1000)
  • Make cloud-id copyright year (#991)
  • Add support to accept-ra in networkd renderer (#999)
  • Update ds-identify to pass shellcheck (#979)
  • Azure: Retry dhcp on timeouts when polling reprovisiondata (#998)
  • testing: Fix ssh keys integration test (#992)

  • From 21.3

  • Azure: During primary nic detection, check interface status continuously before rebinding again (#990) [aswinrajamannar]
  • Fix home permissions modified by ssh module (SC-338) (#984) (LP: #1940233)
  • Add integration test for sensitive jinja substitution (#986)
  • Ignore hotplug socket when collecting logs (#985) (LP: #1940235)
  • testing: Add missing mocks to test_vmware.py (#982)
  • add Zadara Edge Cloud Platform to the supported clouds list (#963)
  • testing: skip upgrade tests on LXD VMs (#980)
  • Only invoke hotplug socket when functionality is enabled (#952)
  • Revert unnecesary lcase in ds-identify (#978)
  • cc_resolv_conf: fix typos (#969)
  • Replace broken httpretty tests with mock (SC-324) (#973)
  • Azure: Check if interface is up after sleep when trying to bring it up (#972)
  • Update dscheck_VMware's rpctool check (#970)
  • Azure: Logging the detected interfaces (#968)
  • Change netifaces dependency to 0.10.4 (#965)
  • Azure: Limit polling network metadata on connection errors (#961)
  • Update inconsistent indentation (#962)
  • cc_puppet: support AIO installations and more (#960)
  • Add Puppet contributors to CLA signers (#964)
  • Datasource for VMware (#953)
  • photon: refactor hostname handling and add networkd activator (#958)
  • Stop copying ssh system keys and check folder permissions (#956)
  • testing: port remaining cloud tests to integration testing framework (SC-191) (#955)
  • generate contents for ovf-env.xml when provisioning via IMDS (#959)
  • Add support for EuroLinux 7 and EuroLinux 8 (#957)
  • Implementing device_aliases as described in docs (#945) [Mal Graty] (LP: #1867532)
  • testing: fix test_ssh_import_id.py (#954)
  • Add ability to manage fallback network config on PhotonOS (#941)
  • Add VZLinux support (#951)
  • VMware: add network-config support in ovf-env.xml (#947)
  • Update pylint to v2.9.3 and fix the new issues it spots (#946)
  • Azure: mount default provisioning iso before try device listing (#870)
  • Document known hotplug limitations (#950)
  • Initial hotplug support (#936)
  • Fix MIME policy failure on python version upgrade (#934)
  • run-container: fixup the centos repos baseurls when using http_proxy (#944)
  • tools: add support for building rpms on rocky linux (#940)
  • ssh-util: allow cloudinit to merge all ssh keys into a custom user file, defined in AuthorizedKeysFile (#937)
  • VMware: new "allow_raw_data" switch (#939)
  • bump pycloudlib version (#935)
  • add renanrodrigo as a contributor (#938)
  • testing: simplify test_upgrade.py (#932)
  • freebsd/net_v1 format: read MTU from root (#930)
  • Add new network activators to bring up interfaces (#919)
  • Detect a Python version change and clear the cache (#857)
  • cloud_tests: fix the Impish release name (#931)
  • Removed distro specific network code from Photon (#929)
  • Add support for VMware PhotonOS (#909)
  • cloud_tests: add impish release definition (#927)
  • docs: fix stale links rename master branch to main (#926)
  • Fix DNS in NetworkState (SC-133) (#923)
  • tests: Add 'adhoc' mark for integration tests (#925)
  • Fix the spelling of "DigitalOcean" (#924)
  • Small Doc Update for ReportEventStack and Test (#920)
  • Replace deprecated collections.Iterable with abc replacement (#922) (LP: #1932048)
  • testing: OCI availability domain is now required (SC-59) (#910)
  • add DragonFlyBSD support (#904)
  • Use instance-data-sensitive.json in jinja templates (SC-117) (#917) (LP: #1931392)
  • doc: Update NoCloud docs stating required files (#918) (LP: #1931577)
  • build-on-netbsd: don't pin a specific py3 version (#913)
  • Create the log file with 640 permissions (#858)
  • Allow braces to appear in dhclient output (#911) [eb3095]
  • Docs: Replace all freenode references with libera (#912)
  • openbsd/net: flush the route table on net restart (#908)
  • Add Rocky Linux support to cloud-init (#906)
  • Add "esposem" as contributor (#907)
  • Add integration test for #868 (#901)
  • Added support for importing keys via primary/security mirror clauses (#882) LP: #1925395)
  • [examples] config-user-groups expire in the future (#902)
  • BSD: static network, set the mtu (#894)
  • Add integration test for lp-1920939 (#891)
  • Fix unit tests breaking from new httpretty version (#903)
  • Allow user control over update events (#834)
  • Update test characters in substitution unit test (#893)
  • cc_disk_setup.py: remove UDEVADM_CMD definition as not used (#886)
  • Add AlmaLinux OS support (#872)

  • systemctl location (bsc#1193531)

  • The sytemctl executable is not necessarily in '/bin'

  • Remove unneeded BuildRequires on python3-nose.

  • Still need to consider the "network" configuration option

Patch Instructions:

To install this SUSE update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:

  • Public Cloud Module 15
    zypper in -t patch SUSE-SLE-Module-Public-Cloud-15-2022-1121=1

Package List:

  • Public Cloud Module 15 (aarch64 ppc64le s390x x86_64)
    • cloud-init-config-suse-21.4-150000.5.61.1
    • cloud-init-21.4-150000.5.61.1

References: