Skip to content

Add Azure Linux 4 Gen2 Azure SIG target - #2014

Open
mboersma wants to merge 5 commits into
kubernetes-sigs:mainfrom
mboersma:add-azurelinux-4-gen2
Open

Add Azure Linux 4 Gen2 Azure SIG target#2014
mboersma wants to merge 5 commits into
kubernetes-sigs:mainfrom
mboersma:add-azurelinux-4-gen2

Conversation

@mboersma

@mboersma mboersma commented May 14, 2026

Copy link
Copy Markdown
Contributor

Adds an Azure Linux 4 Gen2 SIG build target with Ansible role updates for Azure Linux 4 compatibility.

(Azure Linux 4 is still in preview as of July 17th 2026.)

@k8s-ci-robot

Copy link
Copy Markdown
Contributor

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 14, 2026
@k8s-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign kkeshavamurthy for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels May 14, 2026
@mboersma mboersma changed the title Add Azure Linux 4 Gen2 Azure SIG target [WIP] Add Azure Linux 4 Gen2 Azure SIG target May 14, 2026
@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label May 18, 2026
@mboersma
mboersma force-pushed the add-azurelinux-4-gen2 branch from 3805859 to 544891b Compare May 18, 2026 17:49
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label May 18, 2026
@mboersma
mboersma temporarily deployed to image-promotion-approval May 18, 2026 19:07 — with GitHub Actions Inactive
@mboersma

Copy link
Copy Markdown
Contributor Author

/test pull-azure-vhds

@mboersma mboersma changed the title [WIP] Add Azure Linux 4 Gen2 Azure SIG target Add Azure Linux 4 Gen2 Azure SIG target May 27, 2026
@mboersma

Copy link
Copy Markdown
Contributor Author

/label tide/merge-method-squash

@k8s-ci-robot k8s-ci-robot added the tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges. label May 27, 2026
@mboersma
mboersma marked this pull request as ready for review May 27, 2026 21:51
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 27, 2026
@mboersma

Copy link
Copy Markdown
Contributor Author

/retest

502 error from ansible galaxy.

@mboersma

Copy link
Copy Markdown
Contributor Author

/retest

1 similar comment
@mboersma

Copy link
Copy Markdown
Contributor Author

/retest

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 3, 2026
@mboersma
mboersma force-pushed the add-azurelinux-4-gen2 branch from e8c4ef7 to 13fb55f Compare June 5, 2026 22:23
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 5, 2026
@kubernetes-prow kubernetes-prow Bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 25, 2026
@kubernetes-prow

Copy link
Copy Markdown
Contributor

PR needs rebase.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@mboersma
mboersma force-pushed the add-azurelinux-4-gen2 branch from 13fb55f to 8e2dabd Compare June 26, 2026 16:36
@kubernetes-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign kkeshavamurthy for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@mboersma mboersma removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 26, 2026
@mboersma
mboersma force-pushed the add-azurelinux-4-gen2 branch 2 times, most recently from 28c3c08 to 490e727 Compare July 6, 2026 16:40
@mboersma

mboersma commented Jul 7, 2026

Copy link
Copy Markdown
Contributor Author

/retest

@mboersma
mboersma force-pushed the add-azurelinux-4-gen2 branch 3 times, most recently from 2af650b to 97acfb9 Compare July 19, 2026 21:39
@mboersma

Copy link
Copy Markdown
Contributor Author

/retest

1 similar comment
@mboersma

Copy link
Copy Markdown
Contributor Author

/retest

Azure Linux 4 reports ansible_os_family as "Azure Linux" instead of
"Microsoft Azure Linux" (Azure Linux 3). Add the new value to all
os_family/distribution checks across Ansible roles.

Additional Azure Linux 4 changes:
- Install python3-libdnf5 before using ansible.builtin.dnf (dnf5)
- Add azurelinux4_rpms package list (no ca-certificates-legacy, use
  dnf-utils instead of yum-utils)
- Ensure /etc/systemd/scripts/ exists before persisting iptables rules
- Tolerate missing cloud-init service unit (merged into cloud-init-local
  in cloud-init 24.x+)
- Fix pre-existing "Microsoft Azure Linuz" typo in sysprep

Signed-off-by: Matt Boersma <Matt.Boersma@microsoft.com>
Add register + changed_when so tdnf 'Nothing to do' output isn't
reported as a change.
@mboersma
mboersma force-pushed the add-azurelinux-4-gen2 branch from 97acfb9 to 218813b Compare August 17, 2026 00:12
@linux-foundation-easycla

linux-foundation-easycla Bot commented Aug 17, 2026

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

@kubernetes-prow kubernetes-prow Bot added cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. and removed cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Aug 17, 2026
Use gathered service facts to skip services that are genuinely absent while preserving failures when existing services cannot be configured.

Copilot-Session: 8c372c2f-fc0c-44e4-9c00-69e18b3bcb27
@mboersma
mboersma force-pushed the add-azurelinux-4-gen2 branch from 218813b to 405d787 Compare August 17, 2026 00:13
@kubernetes-prow kubernetes-prow Bot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants