Repository navigation
RHEL 9.6+ Azure: enable the dataloss warning service and add unmanaged devices to the NetworkManager config - #1447
Merged
achilleas-k merged 4 commits intoApr 22, 2025
Conversation
Enable the systemd service added in 0ab8d33 Fixes osbuild#1444
ondrejbudai
reviewed
Apr 22, 2025
ondrejbudai
left a comment
Member
There was a problem hiding this comment.
A minor nitpick, otherwise lgtm. :)
| return fmt.Errorf("%s: main.no-auto-default %s", nmConfStageType, err) | ||
| } | ||
| if err := validateArrayHasItems(main.Plugins); err != nil { | ||
| return fmt.Errorf("%s: main.no-auto-default %s", nmConfStageType, err) |
Member
There was a problem hiding this comment.
Copilot found out that this error message should mention main.plugins. It also suggested a test for it, as the empty-main test case only covers the first condition.
The stage has been in osbuild for a while now, but we never used it in images.
Add NMConfStageOptions (as NetworkManager) to ImageConfig and OSCustomizations and wire them up into the OS pipeline.
Add two unmanaged devices to the NetworkManager config for RHEL 9.6+ Azure images. Closes osbuild#1445.
achilleas-k
force-pushed
the
el9/azure/network-config+enable-service
branch
from
April 22, 2025 10:06
530dede to
cc4de5d
Compare
thozza
approved these changes
Apr 22, 2025
achilleas-k
enabled auto-merge
April 22, 2025 10:27
achilleas-k
added a commit
to achilleas-k/osbuild-composer
that referenced
this pull request
Apr 22, 2025
Includes tag v0.134.0 Tagger: imagebuilder-bot <[email protected]> Changes with 0.134.0 ---------------- * Distro/el10/ec2/modprobe: blacklist 'i2c_piix4' (RHEL-71926) (osbuild/image-builder#1395) * Author: Tomáš Hozza, Reviewers: Achilleas Koutsou, Michael Vogt * Update osbuild dependency commit ID to latest (osbuild/image-builder#1391) * Author: SchutzBot, Reviewers: Achilleas Koutsou, Tomáš Hozza * distro/rhel9/azure: blacklist more modules on 9.6+ (RHEL-79065) (osbuild/image-builder#1394) * Author: Achilleas Koutsou, Reviewers: Michael Vogt, Simon de Vlieger * distro/rhel9/azure: exclude microcode_ctl on 9.6+ (RHEL-79065) (osbuild/image-builder#1405) * Author: Achilleas Koutsou, Reviewers: Michael Vogt, Tomáš Hozza * test: add configs for Azure that match official builds (osbuild/image-builder#1411) * Author: Achilleas Koutsou, Reviewers: Michael Vogt, Tomáš Hozza * test: fix description of `build-image` (osbuild/image-builder#1420) * Author: Michael Vogt, Reviewers: Achilleas Koutsou, Simon de Vlieger * tools/gen-manifest-checksums: sort by image name (osbuild/image-builder#1406) * Author: Achilleas Koutsou, Reviewers: Michael Vogt, Simon de Vlieger — Somewhere on the Internet, 2025-04-14 --- tag v0.135.0 Tagger: imagebuilder-bot <[email protected]> Changes with 0.135.0 ---------------- * RHEL 9.6+ & 10.0+: install system-reinstall-bootc AWS and Azure [COMPOSER-2502] (osbuild/image-builder#1435) * Author: Achilleas Koutsou, Reviewers: Ondřej Budai * RHEL 9.6+/Azure: systemd service and script for dataloss warning on temporary resource disk (osbuild/image-builder#1434) * Author: Achilleas Koutsou, Reviewers: Tomáš Hozza * Set refclock in chrony config for Azure images on RHEL 9.6+ (RHEL-79065) (osbuild/image-builder#1400) * Author: Achilleas Koutsou, Reviewers: Tomáš Hozza * Update snapshots to 20250415 (osbuild/image-builder#1431) * Author: SchutzBot, Reviewers: Achilleas Koutsou * WSL: add packages for podman and proc utilities (COMPOSER-2455) (osbuild/image-builder#1425) * Author: Sanne Raymaekers, Reviewers: Tomáš Hozza * [RHEL-9.6+/Azure]: update waagent.conf and add nvme_core.io_timeout kernel arg (osbuild/image-builder#1430) * Author: Achilleas Koutsou, Reviewers: Ondřej Budai, Sanne Raymaekers * [RHEL/Azure RHUI] Disable `auto_enable_yum_plugins` in the RHSM config as a BP customization (osbuild/image-builder#1415) * Author: Tomáš Hozza, Reviewers: Achilleas Koutsou * ci: dependency updater gobump golang fix (osbuild/image-builder#1441) * Author: Lukáš Zapletal, Reviewers: Ondřej Budai * ci: dependency updater gobump typo (osbuild/image-builder#1439) * Author: Lukáš Zapletal, Reviewers: Achilleas Koutsou * ci: dependency updater via gobump (osbuild/image-builder#1385) * Author: Lukáš Zapletal, Reviewers: Achilleas Koutsou * distro: almalinux and almalinux_kitten (osbuild/image-builder#1375) * Author: Simon de Vlieger, Reviewers: Neal Gompa (ニール・ゴンパ), Ondřej Budai * fedora: bump branched and rawhide (osbuild/image-builder#1440) * Author: Simon de Vlieger, Reviewers: Achilleas Koutsou, Ondřej Budai * github: don't run manifest checksum validation on main (osbuild/image-builder#1437) * Author: Achilleas Koutsou, Reviewers: Ondřej Budai, Simon de Vlieger * manifesttest: add helper to find stages in a pipeline (osbuild/image-builder#1418) * Author: Michael Vogt, Reviewers: Lukáš Zapletal, Simon de Vlieger * rhsm: support for podman secrets (osbuild/image-builder#1414) * Author: Lukáš Zapletal, Reviewers: Simon de Vlieger — Somewhere on the Internet, 2025-04-16 --- tag v0.136.0 Tagger: imagebuilder-bot <[email protected]> Changes with 0.136.0 ---------------- * ci: dependency updater gobump git fix (osbuild/image-builder#1442) * Author: Lukáš Zapletal, Reviewers: Achilleas Koutsou — Somewhere on the Internet, 2025-04-21 --- tag v0.137.0 Tagger: imagebuilder-bot <[email protected]> Changes with 0.137.0 ---------------- * RHEL 9.6+ Azure: enable the dataloss warning service and add unmanaged devices to the NetworkManager config (osbuild/image-builder#1447) * Author: Achilleas Koutsou, Reviewers: Ondřej Budai, Tomáš Hozza — Somewhere on the Internet, 2025-04-22 ---
achilleas-k
added a commit
to osbuild/osbuild-composer
that referenced
this pull request
Apr 22, 2025
Includes tag v0.134.0 Tagger: imagebuilder-bot <[email protected]> Changes with 0.134.0 ---------------- * Distro/el10/ec2/modprobe: blacklist 'i2c_piix4' (RHEL-71926) (osbuild/image-builder#1395) * Author: Tomáš Hozza, Reviewers: Achilleas Koutsou, Michael Vogt * Update osbuild dependency commit ID to latest (osbuild/image-builder#1391) * Author: SchutzBot, Reviewers: Achilleas Koutsou, Tomáš Hozza * distro/rhel9/azure: blacklist more modules on 9.6+ (RHEL-79065) (osbuild/image-builder#1394) * Author: Achilleas Koutsou, Reviewers: Michael Vogt, Simon de Vlieger * distro/rhel9/azure: exclude microcode_ctl on 9.6+ (RHEL-79065) (osbuild/image-builder#1405) * Author: Achilleas Koutsou, Reviewers: Michael Vogt, Tomáš Hozza * test: add configs for Azure that match official builds (osbuild/image-builder#1411) * Author: Achilleas Koutsou, Reviewers: Michael Vogt, Tomáš Hozza * test: fix description of `build-image` (osbuild/image-builder#1420) * Author: Michael Vogt, Reviewers: Achilleas Koutsou, Simon de Vlieger * tools/gen-manifest-checksums: sort by image name (osbuild/image-builder#1406) * Author: Achilleas Koutsou, Reviewers: Michael Vogt, Simon de Vlieger — Somewhere on the Internet, 2025-04-14 --- tag v0.135.0 Tagger: imagebuilder-bot <[email protected]> Changes with 0.135.0 ---------------- * RHEL 9.6+ & 10.0+: install system-reinstall-bootc AWS and Azure [COMPOSER-2502] (osbuild/image-builder#1435) * Author: Achilleas Koutsou, Reviewers: Ondřej Budai * RHEL 9.6+/Azure: systemd service and script for dataloss warning on temporary resource disk (osbuild/image-builder#1434) * Author: Achilleas Koutsou, Reviewers: Tomáš Hozza * Set refclock in chrony config for Azure images on RHEL 9.6+ (RHEL-79065) (osbuild/image-builder#1400) * Author: Achilleas Koutsou, Reviewers: Tomáš Hozza * Update snapshots to 20250415 (osbuild/image-builder#1431) * Author: SchutzBot, Reviewers: Achilleas Koutsou * WSL: add packages for podman and proc utilities (COMPOSER-2455) (osbuild/image-builder#1425) * Author: Sanne Raymaekers, Reviewers: Tomáš Hozza * [RHEL-9.6+/Azure]: update waagent.conf and add nvme_core.io_timeout kernel arg (osbuild/image-builder#1430) * Author: Achilleas Koutsou, Reviewers: Ondřej Budai, Sanne Raymaekers * [RHEL/Azure RHUI] Disable `auto_enable_yum_plugins` in the RHSM config as a BP customization (osbuild/image-builder#1415) * Author: Tomáš Hozza, Reviewers: Achilleas Koutsou * ci: dependency updater gobump golang fix (osbuild/image-builder#1441) * Author: Lukáš Zapletal, Reviewers: Ondřej Budai * ci: dependency updater gobump typo (osbuild/image-builder#1439) * Author: Lukáš Zapletal, Reviewers: Achilleas Koutsou * ci: dependency updater via gobump (osbuild/image-builder#1385) * Author: Lukáš Zapletal, Reviewers: Achilleas Koutsou * distro: almalinux and almalinux_kitten (osbuild/image-builder#1375) * Author: Simon de Vlieger, Reviewers: Neal Gompa (ニール・ゴンパ), Ondřej Budai * fedora: bump branched and rawhide (osbuild/image-builder#1440) * Author: Simon de Vlieger, Reviewers: Achilleas Koutsou, Ondřej Budai * github: don't run manifest checksum validation on main (osbuild/image-builder#1437) * Author: Achilleas Koutsou, Reviewers: Ondřej Budai, Simon de Vlieger * manifesttest: add helper to find stages in a pipeline (osbuild/image-builder#1418) * Author: Michael Vogt, Reviewers: Lukáš Zapletal, Simon de Vlieger * rhsm: support for podman secrets (osbuild/image-builder#1414) * Author: Lukáš Zapletal, Reviewers: Simon de Vlieger — Somewhere on the Internet, 2025-04-16 --- tag v0.136.0 Tagger: imagebuilder-bot <[email protected]> Changes with 0.136.0 ---------------- * ci: dependency updater gobump git fix (osbuild/image-builder#1442) * Author: Lukáš Zapletal, Reviewers: Achilleas Koutsou — Somewhere on the Internet, 2025-04-21 --- tag v0.137.0 Tagger: imagebuilder-bot <[email protected]> Changes with 0.137.0 ---------------- * RHEL 9.6+ Azure: enable the dataloss warning service and add unmanaged devices to the NetworkManager config (osbuild/image-builder#1447) * Author: Achilleas Koutsou, Reviewers: Ondřej Budai, Tomáš Hozza — Somewhere on the Internet, 2025-04-22 ---
This was referenced Apr 23, 2025
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.
Part of #1396
These came up after a review of the currently merged changes from QE.