Skip to content

cloud-init add azure proxy agent#10357

Merged
rmhsawyer merged 11 commits intomainfrom
minghe/cloud-init-azure-proxy-agent
Sep 13, 2024
Merged

cloud-init add azure proxy agent#10357
rmhsawyer merged 11 commits intomainfrom
minghe/cloud-init-azure-proxy-agent

Conversation

@rmhsawyer
Copy link
Copy Markdown
Contributor

@rmhsawyer rmhsawyer commented Sep 4, 2024

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

  • The toolchain has been rebuilt successfully (or no changes were made to it)
  • The toolchain/worker package manifests are up-to-date
  • Any updated packages successfully build (or no packages were changed)
  • Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
  • Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
  • All package sources are available
  • cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
  • LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
  • All source files have up-to-date hashes in the *.signatures.json files
  • sudo make go-tidy-all and sudo make go-test-coverage pass
  • Documentation has been updated to match any changes to the build system
  • Ready to merge

Summary

What does the PR accomplish, why was it needed?
Add support for azure proxy agent. Initial PR was reverted due to failure in ptest.

Azure Guest Proxy Agent is a new feature in Azure that offers a key exchange protocol to secure communication between guest and host using eBPF.

Add opt-in feature which enables the Azure Guest Proxy Agent when ovf-env.xml has ProvisionGuestProxyAgent=True. Report provisioning failures if ProvisionGuestProxyAgent is enabled but images do not have azure-proxy-agent installed or functional.

Change Log
  • add patch files to support azure-proxy-agent
  • remove the headers_cb, mock_report_dmesg_to_kvp, unit tests from previously patch file which causes failure, as they have nothing to do with azure-proxy-agent and not backported in current version of cloud-init
Does this affect the toolchain?

NO

Associated issues
Test Methodology

@rmhsawyer rmhsawyer marked this pull request as ready for review September 5, 2024 00:43
@rmhsawyer rmhsawyer requested a review from a team as a code owner September 5, 2024 00:43
@rmhsawyer rmhsawyer changed the title add azure proxy agent cloud-init add azure proxy agent Sep 5, 2024
@mfrw mfrw added the stable-release-shiproom PRs for consideration for stable shiproom label Sep 6, 2024
@christopherco
Copy link
Copy Markdown
Collaborator

@rmhsawyer rmhsawyer merged commit 458cd16 into main Sep 13, 2024
@rmhsawyer rmhsawyer deleted the minghe/cloud-init-azure-proxy-agent branch September 13, 2024 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

main PR Destined for main Packaging stable-release-shiproom PRs for consideration for stable shiproom

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants