Ubuntu/resolute: SRU 26.2 - #7020
Open
blackboxsw wants to merge 15 commits into
Open
Conversation
…2 schema (canonical#6855) Add an autouse fixture to TestOpenNebulaNetwork that wraps gen_conf() and runs jsonschema validation against schema-network-config-v2.json on every call, so all existing tests implicitly assert schema conformance without requiring dedicated per-field type checks
Add logic to skip Debian 11 (bullseye) backports in templates. As per the Backports Policy, oldstable-backports are only available for one year after the new stable release. Since Debian 12 was released in June 2023, bullseye-backports was disabled on June 2024. This fixes apt update failures in current (2026) environments.
Adds a transitional warning when cloud-init analyze dump falls back to GNU date/gdate for timestamp parsing. The warning includes the unrecognized timestamp format and the selected binary so maintainers can collect formats that still need native Python support before removing the shell-out path. The no-GNU-date behavior is unchanged: unsupported formats still raise ValueError when neither date nor gdate is available. Fixes canonicalGH-4357
`importer.py` calls `importlib.util.find_spec()` but the file only actually imports `importlib` by itself. Up until now we've gotten away with it as something else has always imported `importlib.util` for us "by accident", but if an end consumer imports `cloud-init` as a library (i.e. `ubuntu-pro-client`) there's no guarantee that will happen. It happened in canonical#6924 so let's fix it now. Fixes canonicalGH-6924
…l#6911) Mount points containing spaces (and tabs/newlines/backslashes) are now octal-escaped (\040, \011, \012, \134) when written to /etc/fstab, so `mount -a` can parse them. Directories are still created with real characters. The escape/unescape helpers live in `cloudinit.util` and are reused by `util.mounts()`, which previously only undid `\040` for spaces and now decodes tabs, newlines and backslashes as well. Add unit tests plus a one-off integration test (`test_gh3603.py`) and document the behaviour in the `cc_mounts` examples. Fixes canonicalGH-3603
…6921) _is_iscsi_root() only detected iSCSI root from initramfs-tools klibc /run/net-*.conf files, which dracut images don't produce. Those instances fell back to IMDS and never got keep_configuration (netplan critical: true) on the primary NIC. Without it the interface can be torn down while the root filesystem is still mounted over iSCSI, stalling shutdown/reboot. Detect iSCSI root from the kernel iBFT (/sys/firmware/ibft/target*/ flags), keep klibc as a fallback, and set keep_configuration for both the klibc and IMDS paths. Fixes canonicalGH-6915
…anonical#6802) Refactor x509 certificate and SSH key handling logic from OpenSSLManager and DataSourceAzure into a new dedicated module cloudinit/sources/azure/certs.py with three utility functions: - is_openssh_formatted(): Validates OpenSSH format keys - is_x509_certificate(): Validates x509 certificates via opensslprobert - convert_x509_to_openssh(): Converts x509 certs to OpenSSH keys This refactoring maintains existing functionality without changes while preparing the codebase for upcoming work to support x509 certificates from Azure IMDS.
Bump the version in meson.build to 26.2 and update ChangeLog.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upstream snapshot of 26.2 into resolute for SRU
Process to create this branch
Defined in https://github.com/orgs/canonical/projects/29/views/1?pane=issue&itemId=21366463
Additional Context
Test Steps
CI should validate this branch, otherwise:
Merge type