Skip to content

[Draft] AzureImageStandard: add Azure Linux 4.0 support for networkd, dhcp#4585

Open
bhagyapathak wants to merge 1 commit into
mainfrom
bhagya/azlinux4-support
Open

[Draft] AzureImageStandard: add Azure Linux 4.0 support for networkd, dhcp#4585
bhagyapathak wants to merge 1 commit into
mainfrom
bhagya/azlinux4-support

Conversation

@bhagyapathak

@bhagyapathak bhagyapathak commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

AzureImageStandard: add Azure Linux 4.0 support for networkd, dhcp, TCP keepalive, and kvp checks

Description

Related Issue

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Refactoring
  • Documentation update

Checklist

  • Description is filled in above
  • No credentials, secrets, or internal details are included
  • Peer review requested (if not, add required peer reviewers after raising PR)
  • Tests executed and results posted below

Test Validation

Key Test Cases:

Impacted LISA Features:

Tested Azure Marketplace Images:

Test Results

Image VM Size Result
PASSED / FAILED / SKIPPED

@bhagyapathak
bhagyapathak requested a review from LiliDeng as a code owner July 8, 2026 04:44
Copilot AI review requested due to automatic review settings July 8, 2026 04:44
@bhagyapathak bhagyapathak changed the title AzureImageStandard: add Azure Linux 4.0 support for networkd, dhcp, T… AzureImageStandard: add Azure Linux 4.0 support for networkd, dhcp Jul 8, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the AzureImageStandard core validation suite to better support Azure Linux (CBL-Mariner) 4.x by adjusting config file locations, daemon names, and introducing kernel TCP keepalive validation for SSH on Azure Linux 4+.

Changes:

  • Update networkd config file path selection for Azure Linux 4+.
  • Extend DHCP config validation logic to include Azure Linux 4.x.
  • Adjust KVP daemon process name validation for Azure Linux 4+ and add SSH/kernel TCP keepalive validation for Azure Linux 4+.

Note: The PR description template is still unfilled; please add a short description and (if applicable) a related issue link for traceability.

Comment thread lisa/microsoft/testsuites/core/azure_image_standard.py
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown

✅ AI Test Selection — PASSED

4 test case(s) selected (view run)

Marketplace image: microsoftcblmariner azure-linux-3 azure-linux-3 latest

Count
✅ Passed 4
❌ Failed 0
⏭️ Skipped 0
Total 4
Test case details
Test Case Status Time (s) Message
verify_hv_kvp_daemon_installed (lisa_0_2) ✅ PASSED 8.260
verify_dhcp_file_configuration (lisa_0_1) ✅ PASSED 8.061
verify_network_file_configuration (lisa_0_0) ✅ PASSED 8.040
verify_client_active_interval (lisa_0_3) ✅ PASSED 8.482

Copilot AI review requested due to automatic review settings July 8, 2026 05:10
@bhagyapathak
bhagyapathak force-pushed the bhagya/azlinux4-support branch from bd196aa to 40f3dce Compare July 8, 2026 05:10
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown

✅ AI Test Selection — PASSED

4 test case(s) selected (view run)

Marketplace image: microsoftcblmariner azure-linux-3 azure-linux-3 latest

Count
✅ Passed 4
❌ Failed 0
⏭️ Skipped 0
Total 4
Test case details
Test Case Status Time (s) Message
verify_dhcp_file_configuration (lisa_0_1) ✅ PASSED 6.984
verify_network_file_configuration (lisa_0_0) ✅ PASSED 7.003
verify_client_active_interval (lisa_0_3) ✅ PASSED 7.466
verify_hv_kvp_daemon_installed (lisa_0_2) ✅ PASSED 7.163

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.

Comment on lines 1347 to +1351
priority=2,
requirement=simple_requirement(supported_platform_type=[AZURE, READY, HYPERV]),
)
def verify_client_active_interval(self, node: Node) -> None:
if isinstance(node.os, CBLMariner) and node.os.information.version.major >= 4:
Comment on lines +1363 to +1366
setting = "net.ipv4.tcp_keepalive_time"
value = node.tools[Sysctl].get(setting).strip()
keepalive_time = int(value)
if not (30 <= keepalive_time <= 235):
@bhagyapathak bhagyapathak changed the title AzureImageStandard: add Azure Linux 4.0 support for networkd, dhcp [Draft] AzureImageStandard: add Azure Linux 4.0 support for networkd, dhcp Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants