-
Notifications
You must be signed in to change notification settings - Fork 881
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu/devel #5527
Ubuntu/devel #5527
Commits on Jun 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for eb388c7 - Browse repository at this point
Copy the full SHA eb388c7View commit details -
tests: hard-code curtin-dev ppa instead of canonical-kernel-team (can…
…onical#5450) Avoid integration test dependencies on PPAs that we don't own. The canonical-kernel-team PPA will trail publication of packages to the devel series sometimes by many weeks. Also, their process may change in the future and the daily canonical-kernel-team PPA may not be used at some point in the future. Some of our apt-related integration tests are only asserting that different formats of user-data can setup and assert valid PPA signing keys to 3 separate PPAs on a single instance launch to avoid the costs of launching three separate instances to test different user-data formats. For these tests, we can hard-code a known series and PPA without degrading the value of the simple test. Shift our canonical-kernel-team PPA reference to curtin-dev daily PPA for two reasons: - we have tighter coupling with the curtin dev team to keep in step with any process changes - ppa:curtin-dev/daily already has a 4096-bit signing key instead of the stale 1024-bit key in canonical-kernel-team's PPA which may change in the near future.
Configuration menu - View commit details
-
Copy full SHA for 8470af0 - Browse repository at this point
Copy the full SHA 8470af0View commit details -
Support metalink in yum repository config (canonical#5444)
'metalink' config can be specified instead or along with 'baseurl' in the yum repository config. Add support for specifying metalink instead of 'baseurl'. Fixes canonicalGH-5359 Signed-off-by: Ani Sinha <[email protected]> Co-authored-by: Ben Gray <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5250260 - Browse repository at this point
Copy the full SHA 5250260View commit details -
fix(net): klibc ipconfig PROTO compatibility (canonical#5437)
klibc's ipconfig format [1] states that PROTO values 'none', 'off', 'static' and blank all mean no autoconfiguration, but cloud-init parser is too strict and accepts only the first. LP: #2065787 [1] https://git.kernel.org/pub/scm/libs/klibc/klibc.git/plain/usr/kinit/ipconfig/README.ipconfig
Configuration menu - View commit details
-
Copy full SHA for 2c09f69 - Browse repository at this point
Copy the full SHA 2c09f69View commit details -
fix: Add get_connection_with_tls_context() for requests 2.32.2+ (cano…
…nical#5435) get_connection() is deprecated in requests 2.32.2+ so this will allow for the LXDSocketAdapter to avoid using a deprecated api. Fixes canonicalGH-5434 Signed-off-by: eaglegai <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 790d229 - Browse repository at this point
Copy the full SHA 790d229View commit details -
chore(cmdline): Update comments (canonical#5458)
Update based on 2c09f69
Configuration menu - View commit details
-
Copy full SHA for 6ee0079 - Browse repository at this point
Copy the full SHA 6ee0079View commit details -
test: Add ds-identify integration test coverage (canonical#5394)
LXD instances don't have a defined datasource_list and therefore implicitly exercise ds-identify. Add coverage for all other platforms.
Configuration menu - View commit details
-
Copy full SHA for 3851c5c - Browse repository at this point
Copy the full SHA 3851c5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 12f1198 - Browse repository at this point
Copy the full SHA 12f1198View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8f9d19 - Browse repository at this point
Copy the full SHA f8f9d19View commit details -
fix: Gracefully handle missing files (canonical#5397)
Do not raise an error when userdata files are missing in cloud-init query operations. Fixes canonicalGH-5396
Configuration menu - View commit details
-
Copy full SHA for bcc5920 - Browse repository at this point
Copy the full SHA bcc5920View commit details -
feat: Add deprecation boundary to logger (canonical#5411)
This will all stable distros to define whether a key is deprecated based on the version of cloud-init which deprecated the key.
Configuration menu - View commit details
-
Copy full SHA for e80514b - Browse repository at this point
Copy the full SHA e80514bView commit details -
feat: Add deprecation boundary support to schema validator (canonical…
…#5411) This will all stable distros to define whether a key is deprecated based on the version of cloud-init which deprecated the key.
Configuration menu - View commit details
-
Copy full SHA for 8906e17 - Browse repository at this point
Copy the full SHA 8906e17View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f98af9 - Browse repository at this point
Copy the full SHA 7f98af9View commit details -
doc(refactor): Convert module docs to new system (canonical#5427)
Convert the remaining half of the module docs to be rendered by the new template system. Includes the documentation on how to document modules under this system. Add additional developer script tools/format_yaml_doc to reformat either data.yaml or example.yaml cloud-config files for module documentation. Co-authored-by: Chad Smith <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bbcc67d - Browse repository at this point
Copy the full SHA bbcc67dView commit details -
fix: Do not add the vlan_mac_address field into the VLAN object (cano…
…nical#5365) This field is required by the OpenStack network_data.json parsing code but is not supported by the VLAN object in the cloudinit network schema v1. Fixes canonicalGH-5364
Configuration menu - View commit details
-
Copy full SHA for 70f7e78 - Browse repository at this point
Copy the full SHA 70f7e78View commit details
Commits on Jun 28, 2024
-
fix(schema): permit deprecated hyphenated keys under users key (canon…
…ical#5456) Both hyphenated and underscore delimited key names are permitted by cloudinit/distros/ug_util.py#L114 due to magic replacement of key names. Since this is still valid json schema, add the necessary hyphenated aliases for all users/groups keys. Because the goal in the future is to only support one config key for a given configuraion option, add deprecated keys to those schema definitions. Also drop the description key from the deprecates lock-passwd schema key. Any deprecated schema key which provides a suggested replacement should not provide duplicated key descriptions as the preferred replacement will provided the necessary context. Fixes canonicalGH-5454
Configuration menu - View commit details
-
Copy full SHA for b3618d4 - Browse repository at this point
Copy the full SHA b3618d4View commit details -
fix: Ensure properties for bonded interfaces are properly translated (c…
…anonical#5367) There is a discrepancy between the properties key name formatting in the OpenStack network_data.json and cloudinit network-config.json specifications. Ensure `bond_` is translated to `bond-` when the OpenStack configuration is parsed by cloudinit. Fixes canonicalGH-5366 Co-authored-by: Alberto Contreras <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 371b236 - Browse repository at this point
Copy the full SHA 371b236View commit details -
test: fix unit test openstack vlan mac_address (canonical#5367)
After 70f7e78, mac_address is not rendered for in openstack for network config v1. Fix the unit test to reflect that.
Configuration menu - View commit details
-
Copy full SHA for debafbc - Browse repository at this point
Copy the full SHA debafbcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 121539b - Browse repository at this point
Copy the full SHA 121539bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 726159b - Browse repository at this point
Copy the full SHA 726159bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 25669f7 - Browse repository at this point
Copy the full SHA 25669f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ce2ee3 - Browse repository at this point
Copy the full SHA 5ce2ee3View commit details -
test: Fix deprecation test failures (canonical#5466)
8906e17 is causing some test failures on older releases. Fix them
Configuration menu - View commit details
-
Copy full SHA for 0a698a5 - Browse repository at this point
Copy the full SHA 0a698a5View commit details
Commits on Jul 1, 2024
-
tests: update keyserver PPA key fur curtin-dev (canonical#5472)
Commit 8470af0 changes the integration test keyserver PPA to ppa:curtin-dev/daily. Update the assertion key fingerprint.
Configuration menu - View commit details
-
Copy full SHA for 7693ee2 - Browse repository at this point
Copy the full SHA 7693ee2View commit details -
tests: integration tests aware of features.DEPRECATION_INFO_BOUNDARY
Adapt util.should_log_deprecation to expect two params: - version: where the key/feature was deprecated - boundary_version: at which deprecation level logs occur
Configuration menu - View commit details
-
Copy full SHA for d59724a - Browse repository at this point
Copy the full SHA d59724aView commit details -
fix(rh_subscription): add string type to org (canonical#5453)
Per [1], org's correct type is string. Added as new type and deprecated integer. References: [1] https://github.com/candlepin/subscription-manager/blob/b6fad11e7783ae414fe88fdecee57d8db5c8e292/man/subscription-manager.8#L589 Fixes canonicalGH-5382 Co-authored-by: pneigel-ca <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 681b7de - Browse repository at this point
Copy the full SHA 681b7deView commit details -
Configuration menu - View commit details
-
Copy full SHA for ee1b25b - Browse repository at this point
Copy the full SHA ee1b25bView commit details -
tests: update ubuntu_pro test to account for info-level deprecations (c…
…anonical#5475) The ubuntu_advantage key is deprecated in 24.1 in favor of ubuntu_pro. Any version less than 24.1 will have only an info level log resulting in no DEPRECATED keys from cloud-init status --format=yaml. Parse log level messages in /var/log/cloud-init.log instead.
Configuration menu - View commit details
-
Copy full SHA for c45280e - Browse repository at this point
Copy the full SHA c45280eView commit details -
test: Update integration tests to pass on focal (canonical#5476)
- Update deprecation test to include focal. - Update test using `cloud-id` appropriately
Configuration menu - View commit details
-
Copy full SHA for 40e2eb4 - Browse repository at this point
Copy the full SHA 40e2eb4View commit details -
ci(mypy): Set default follow_imports value (canonical#5350)
Remove code for detecting a virtualenv. This has been broken since ~3.7.
Configuration menu - View commit details
-
Copy full SHA for 41c375c - Browse repository at this point
Copy the full SHA 41c375cView commit details -
fix(typing): Remove invalid type annotations (canonical#5350)
Invalid type annotations confuse mypy. When it sees a type annotation that doesn't conflict with other annotations, it is trusted. This means that future attempts to conditionally check a variable's type will cause mypy to produce an unreachable code path warning.
Configuration menu - View commit details
-
Copy full SHA for 16018b2 - Browse repository at this point
Copy the full SHA 16018b2View commit details -
fix(typing): Remove type annotation for unused variable (canonical#5350)
Later use of the same variable name leads mypy to report unreachable code paths.
Configuration menu - View commit details
-
Copy full SHA for 5550285 - Browse repository at this point
Copy the full SHA 5550285View commit details -
fix(typing): Add / update type annotations (canonical#5350)
Mypy infers an unannotated variable's type from its initial value. When a variable's type may change (such as from None to non-None), the variable's type needs to be annotated, otherwise mypy may warn of unreachable code paths.
Configuration menu - View commit details
-
Copy full SHA for a8cf24b - Browse repository at this point
Copy the full SHA a8cf24bView commit details -
refactor(typing): Remove unused code paths (canonical#5350)
Enable mypy's "warn_unreachable" checks. Remove adjacent unused mocks. Note: mypy can incorrectly report typing errors as "unused code paths"
Configuration menu - View commit details
-
Copy full SHA for b26d388 - Browse repository at this point
Copy the full SHA b26d388View commit details -
chore(typing): Remove type ignores and casts (canonical#5350)
Python's provides type annotation features which allow validating types throughout the code base. Use, rather than ignore, these features. Note that since a dict's .get() may return None, using this method when the only possible return value is a literal will confuse mypy.
Configuration menu - View commit details
-
Copy full SHA for 97146b5 - Browse repository at this point
Copy the full SHA 97146b5View commit details -
fix(tox): Update tox.ini (canonical#5350)
Enable positional arguments for various environments. Add missing deps for tip-mypy. The -tip envs were broken when a non-tip env existed. In these cases, {[testenv:mypy]commands} resolved to the non-tip environment. Fix it.
Configuration menu - View commit details
-
Copy full SHA for e4c05e8 - Browse repository at this point
Copy the full SHA e4c05e8View commit details -
chore: Auto-format network jsonschema in ci (canonical#5350)
Fix the current network v2 schema as well.
Configuration menu - View commit details
-
Copy full SHA for 73a5c51 - Browse repository at this point
Copy the full SHA 73a5c51View commit details -
type: Add stub types for network v1/v2 config (canonical#5350)
This doesn't add anything useful on its own, but it defines a custom type which can easily be overridden. See canonicalGH-5398 for more details.
Configuration menu - View commit details
-
Copy full SHA for 8ad0bba - Browse repository at this point
Copy the full SHA 8ad0bbaView commit details -
Configuration menu - View commit details
-
Copy full SHA for c95ec1a - Browse repository at this point
Copy the full SHA c95ec1aView commit details -
fix(test): Fix ip printing for non-lxd instances (canonical#5350)
This also satisfies mypy via type narrowing, which hasattr() does not accomplish.
Configuration menu - View commit details
-
Copy full SHA for 2bca69a - Browse repository at this point
Copy the full SHA 2bca69aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 291aabe - Browse repository at this point
Copy the full SHA 291aabeView commit details
Commits on Jul 2, 2024
-
test: Add jsonschema guard in test_cc_ubuntu_pro.py (canonical#5479)
jsonschema is still a soft dependency, so don't fail it not present.
Configuration menu - View commit details
-
Copy full SHA for b0d6c7d - Browse repository at this point
Copy the full SHA b0d6c7dView commit details -
fix: correct deprecated_version=22.2 for users.sudo
Update test to reduce expected deprecation count when below deprecation boundary. changed_version messages are still logged.
Configuration menu - View commit details
-
Copy full SHA for 0a7036e - Browse repository at this point
Copy the full SHA 0a7036eView commit details -
test: Fix no default user in test_status.py (canonical#5478)
Also use ca_certs instead of ca-certs deprecated key
Configuration menu - View commit details
-
Copy full SHA for 0a4c43d - Browse repository at this point
Copy the full SHA 0a4c43dView commit details
Commits on Jul 3, 2024
-
Bump the version in cloudinit/version.py to 24.2 and update ChangeLog.
Configuration menu - View commit details
-
Copy full SHA for fd63297 - Browse repository at this point
Copy the full SHA fd63297View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9357c38 - Browse repository at this point
Copy the full SHA 9357c38View commit details -
fix(openbsd): fix mtu on newline in hostname files (canonical#5412)
The /etc/hostname.* files should have the mtu on a separate line otherwise it gives error: ifconfig: mtu: bad value The lines are executed in order by ifconfig and mtu should be on it's own line. Fixes: canonicalGH-5413
Configuration menu - View commit details
-
Copy full SHA for 053331e - Browse repository at this point
Copy the full SHA 053331eView commit details -
fix(vmware): Set IPv6 to dhcp when there is no IPv6 addr (canonical#5471
Configuration menu - View commit details
-
Copy full SHA for 2b6fe64 - Browse repository at this point
Copy the full SHA 2b6fe64View commit details
Commits on Jul 8, 2024
-
test: pytestify and cleanup test_cc_mounts.py (canonical#5459)
* Remove `unittest` constructs and remove base classes. * Replace tests that don't test things with tests that do * Add fstab and mounts combinations test
Configuration menu - View commit details
-
Copy full SHA for 0af459e - Browse repository at this point
Copy the full SHA 0af459eView commit details
Commits on Jul 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8a58270 - Browse repository at this point
Copy the full SHA 8a58270View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7130bbb - Browse repository at this point
Copy the full SHA 7130bbbView commit details
Commits on Jul 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for db828d0 - Browse repository at this point
Copy the full SHA db828d0View commit details -
refactor: util.get_proc_env to work with strs (canonical#5490)
There are no call sites requesting not decoding the environment vars. This change decodes then always, simplifying typing and logic.
Configuration menu - View commit details
-
Copy full SHA for 188656b - Browse repository at this point
Copy the full SHA 188656bView commit details -
refactor: util.mounts to handle errors (canonical#5490)
Instead of a broad try/except, do properly check for conditions that invalidate a mount location.
Configuration menu - View commit details
-
Copy full SHA for 0128716 - Browse repository at this point
Copy the full SHA 0128716View commit details -
Set MTU for bond parent interface (canonical#5495)
Support for jumbo frames requires that the underlying physical interfaces and the parent bond interface all have the larger MTU configured, not just the physical interfaces.
Configuration menu - View commit details
-
Copy full SHA for 4c0468c - Browse repository at this point
Copy the full SHA 4c0468cView commit details -
fix: add schema rules for 'baseurl' and 'metalink' in yum repo config (…
…canonical#5501) At least one of (or both) 'baseurl' or 'metalink' should be provided for yum repository specification. Add schema changes to enforce it. Without this, with just 'metalink' property set, one would get the schema validator error \--- Error: Cloud config schema errors: yum_repos.epel-release: 'baseurl' is a required property \--- Signed-off-by: Ani Sinha <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7d35664 - Browse repository at this point
Copy the full SHA 7d35664View commit details -
feat(systemd): Warn user of unexpected run mode (canonical#5209)
On systemd, services are started by PID 1. When this doesn't happen, cloud-init is in an unknown run state and should warn the user. Reorder pid log to be able to reuse Distro information. Add docstring deprecating util.is_Linux().
Configuration menu - View commit details
-
Copy full SHA for 4abdd5a - Browse repository at this point
Copy the full SHA 4abdd5aView commit details -
test: Don't fail tests which call cloud-init as a command (canonical#…
…5209) Implement verify_clean_boot() to ignore certain expected logs in a platform-specific way.
Configuration menu - View commit details
-
Copy full SHA for 604d80e - Browse repository at this point
Copy the full SHA 604d80eView commit details -
test: allow verify_clean_boot to ignore all or specific tracebacks (c…
…anonical#5209) Ensure ignore_warnings=True or ignore_errors=True is honored and not overridden by supplemental warning texts appended.
Configuration menu - View commit details
-
Copy full SHA for 8aa1c30 - Browse repository at this point
Copy the full SHA 8aa1c30View commit details -
feat(systemd): convert warning level message to deprecation (canonica…
…l#5209) Avoid using warning level messages as there may be some use-cases in the wild that need to invoke cloud-init boot stages after boot for some reason unknown to upstream. Provide a detailed warning message informing admins to file issues against cloud-init to better represent those feature needs before dropping this feature altogether.
Configuration menu - View commit details
-
Copy full SHA for 75add5c - Browse repository at this point
Copy the full SHA 75add5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a911d07 - Browse repository at this point
Copy the full SHA a911d07View commit details -
tests: revert expectation of exit 2 from cloud-init init --local (can…
…onical#5504) Commit 604d80e introduced assertions expecting exit 2 from the CLI when calling cloud-init init --local. Revert this test assertion as only cloud-init status command exits (2) on deprecations/warnings. Invoking cloud-init's boot stages on the commmand line will only exit 1 if critical errors are encountered to avoid degrading overall systemd health as seen from cloud-init systemd units. When cloud-init boot stages encounter recoverable_errors of any type, there is no need to exit non-zero as those deprecation logs are not-critical to the health of the system as a whole.
Configuration menu - View commit details
-
Copy full SHA for 18d76ac - Browse repository at this point
Copy the full SHA 18d76acView commit details -
test: Unconditionally skip test_multi_nic_hotplug_vpc (canonical#5503)
It is pretty consistently failing due to canonical#5373 with no fix in sight.
Configuration menu - View commit details
-
Copy full SHA for 8dbc5c2 - Browse repository at this point
Copy the full SHA 8dbc5c2View commit details
Commits on Jul 11, 2024
-
Fix configuration of DNS servers via OpenStack (canonical#5384)
Ensure DNS server addresses are parsed from the proper location of network_data.json Fixes canonical#5386 Co-authored-by: Alberto Contreras <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e0e6a42 - Browse repository at this point
Copy the full SHA e0e6a42View commit details
Commits on Jul 18, 2024
-
fix: Update DNS behavior for NetworkManager interfaces (canonical#5496)
If DNS information is added to a NetworkManager managed interface where the given protocol family is disabled, NetworkManager will be unable to activate the interface. canonical#5387
Configuration menu - View commit details
-
Copy full SHA for 311f723 - Browse repository at this point
Copy the full SHA 311f723View commit details -
Configuration menu - View commit details
-
Copy full SHA for 658d184 - Browse repository at this point
Copy the full SHA 658d184View commit details -
Support setting mirrorlist in yum repository config (canonical#5522)
'mirrorlist' config can be specified instead or along with 'baseurl' in the yum repository config. Add support for specifying mirrorlist instead of 'baseurl'. Fixes canonicalGH-5520 Signed-off-by: Ani Sinha <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0b40843 - Browse repository at this point
Copy the full SHA 0b40843View commit details -
fix: Clean cache if no datasource fallback (canonical#5499)
9929a00 added the ability to used a cached datasource when none is found. This was supposed to be per-datasource, but the lack of cache cleaning got applied universally. This commit makes it so cache will be cleaned as it was before if fallback isn't implemented in datasource. Fixes canonicalGH-5486
Configuration menu - View commit details
-
Copy full SHA for 550c685 - Browse repository at this point
Copy the full SHA 550c685View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57d130e - Browse repository at this point
Copy the full SHA 57d130eView commit details -
feat: Add trace-level logger (canonical#5414)
This is useful for logs we want hidden by default but can be turned on via configuration.
Configuration menu - View commit details
-
Copy full SHA for b0a673a - Browse repository at this point
Copy the full SHA b0a673aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ec2f64 - Browse repository at this point
Copy the full SHA 8ec2f64View commit details -
refactor: logs.py pathlib changes (canonical#5414)
Switch to pathlib where appropriate and call consistently
Configuration menu - View commit details
-
Copy full SHA for 19c86ff - Browse repository at this point
Copy the full SHA 19c86ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e4153b - Browse repository at this point
Copy the full SHA 6e4153bView commit details
Commits on Jul 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 08767fd - Browse repository at this point
Copy the full SHA 08767fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 669f8f4 - Browse repository at this point
Copy the full SHA 669f8f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 87c915f - Browse repository at this point
Copy the full SHA 87c915fView commit details