Skip to content

feat(cse): record egress endpoint reachability after provision.complete - #9998

Open
Ian Davies (iandvt) wants to merge 1 commit into
mainfrom
40400482
Open

Ian Davies (iandvt) wants to merge 1 commit into
mainfrom
40400482

Conversation

@iandvt

@iandvt Ian Davies (iandvt) commented Nov 4, 2026 •

Copy link
Copy Markdown

Report Blocked Egress After Provisioning

Overview

Check outbound HTTPS endpoints in parallel right after provision.complete and write an AKS.CSE.egressCheck event for WALinuxAgent. It runs in the background. Because it leaves the CSE exit code alone and starts after provision.complete, a firewalled node finishes booting on schedule while still logging which endpoint failed.

The probes honor configured HTTP and HTTPS proxy variables and skip bootstrap-cache nodes or nodes without $OUTBOUND_COMMAND. For regional MCR discovery, a subshell turns off xtrace and strips paths and query strings, keeping signed redirect URLs out of logs and Kusto.

Validation

  • Local shell checks passed (make validate-shell, bash -n, 121 ShellSpec examples).
  • VHD and AgentBaker E2E passed on pre-squash ca4211723a (build 192031067), and build 193319989 is re-running on the squashed commit 51a29fab1e with an identical tree.
  • Hot-staged live runs passed on Standalone SD 192859071 (public, asvi, private-link, isolated) and managed AKS in eastus2 (standard-public on Ubuntu 24.04 and Azure Linux 3.0, standard-private-asvi, standard-private-link, and standard-network-isolated), ingesting baseline, fault, and recovery AKS.CSE.egressCheck rows into azcore.centralus/Fa (GuestAgentGenericLogs) on every non-isolated node and skipping both isolated nodes.
  • Fresh Standalone first-boot certification did not run here.

Related Pull Requests

@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Windows Unit Test Results

  3 files   21 suites   1m 26s ⏱️
811 tests 811 ✅ 0 💤 0 ❌
838 runs  838 ✅ 0 💤 0 ❌

Results for commit 51a29fa.

♻️ This comment has been updated with latest results.

@iandvt Ian Davies (iandvt) changed the title feat(cse): record egress endpoint reachability during nodePrep feat(cse): record egress endpoint reachability after provision.complete Nov 16, 2026
@iandvt
Ian Davies (iandvt) marked this pull request as ready for review November 26, 2026 04:33
@iandvt
Ian Davies (iandvt) requested review from a team as code owners November 26, 2026 04:33
@github-actions

Copy link
Copy Markdown
Contributor

Code Coverage

Package Line Rate Health
test 0% ❌
windows 27% ❌
parts_windows Package 1 74% ➖
staging_cse_windows Package 1 72% ➖
debug 0% ❌
provisioningscripts 2% ❌
Summary 40% (2073 / 7315) ❌

@github-actions

Copy link
Copy Markdown
Contributor

Code Coverage

Package Line Rate Health
shellspec spec 30% ❌
Summary 30% (5103 / 16880) ❌

@github-actions

Copy link
Copy Markdown
Contributor

Code Coverage

Package Line Rate Health
github.com/Azure/agentbaker/aks-live-patching/pkg/status 100% ✔
github.com/Azure/agentbaker/apiserver 24% ❌
github.com/Azure/agentbaker/cmd 0% ❌
github.com/Azure/agentbaker/cmd/starter 0% ❌
github.com/Azure/agentbaker/fuzz/api 0% ❌
github.com/Azure/agentbaker/hotfix/render-nodecustomdata 35% ❌
github.com/Azure/agentbaker/pkg/agent 79% ➖
github.com/Azure/agentbaker/pkg/agent/datamodel 77% ➖
github.com/Azure/agentbaker/pkg/agent/toggles 0% ❌
github.com/Azure/agentbaker/pkg/vhdbuilder/datamodel 87% ✔
github.com/Azure/agentbaker/aks-node-controller 73% ➖
github.com/Azure/agentbaker/aks-node-controller/common 100% ✔
github.com/Azure/agentbaker/aks-node-controller/helpers 68% ➖
github.com/Azure/agentbaker/aks-node-controller/parser 88% ✔
github.com/Azure/agentbaker/aks-node-controller/pkg/gpu 100% ✔
github.com/Azure/agentbaker/aks-node-controller/pkg/nodeconfigutils 92% ✔
github.com/Azure/agentbaker/aks-node-controller/utils 0% ❌
Summary 84% (6152 / 8108) ✔

This branch has not been deployed

No deployments
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.

1 participant