Skip to content

Bring recent fixes up to 2026-06-04#6

Merged
jiria merged 3 commits into
aclmainfrom
jiria/fixes-20260604
Jun 4, 2026
Merged

Bring recent fixes up to 2026-06-04#6
jiria merged 3 commits into
aclmainfrom
jiria/fixes-20260604

Conversation

@jiria
Copy link
Copy Markdown
Member

@jiria jiria commented Jun 4, 2026

Bringing recent fixes to the GitHub repo.

  • fix: use az tag update in SELinux toggle test
  • enforcing: exempt discovery.etcd.io-dependent tests on Azure
  • add irqbalance pkg in base image

nbojanic and others added 3 commits June 4, 2026 06:43
azure-cli 2.87.0 wired zone-movement into 'az vm update' (Azure/
azure-cli#33242). The new PUT body trips a BadRequest from regions/
subs where zone movement isn't enabled, breaking our tag flip. Switch
to 'az tag update', which hits the generic ARM tag endpoint and
doesn't touch the Compute provider. Verified live on a westus2
Standard_D2s_v5 ACL VM with az 2.87.0.

----
#### AI description  (iteration 1)
#### PR Classification
Bug fix to resolve Azure VM provisioning failures during SELinux toggle tests by switching from a VM-specific update command to a generic ARM tag update endpoint.

#### PR Summary
This PR fixes Azure VM provisioning failures caused by unsupported zone movement operations when setting IMDS tags during SELinux testing. The fix changes the tag update mechanism to avoid round-tripping the entire VM resource through the Compute RP, which was triggering the incompatibility error.

- `run-selinux-toggle-test.sh`: Replaced `az vm update` commands with `az tag update` using the generic ARM tag endpoint to modify the `acl-node-security-profile` tag
- `run-selinux-toggle-test.sh`: Added VM resource ID retrieval via `az vm show` to support the new tag update approach
- `run-selinux-toggle-test.sh`: Changed tag deletion to use `--operation delete` and tag setting to use `--operation merge` for more targeted updates
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->


Related work items: #20481
…on Azure

The etcd project has declared the public v2 discovery
service no longer maintained
(https://etcd.io/blog/2025/announcing-etcd-3.6/).

Add platforms:[azure] exceptions for:
  - acl.etcd-member.discovery
  - acl.flannel.udp
  - acl.flannel.vxlan
  - cl.etcd-member.v2-backup-restore

Related work items: #20438
add irqbalance pkg in base image for ACL.

Please check the https://dev.azure.com/mariner-org/ACL/_workitems/edit/20485/ for analysis.



Signed-off-by: Mayank Singh <mayansingh@microsoft.com>

Related work items: #20485
@jiria jiria marked this pull request as ready for review June 4, 2026 13:50
@jiria jiria requested a review from a team as a code owner June 4, 2026 13:50
Copilot AI review requested due to automatic review settings June 4, 2026 13:50
Copy link
Copy Markdown

Copilot AI left a comment

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 brings a small set of operational/test reliability updates into the repo: it improves how an Azure VM tag is updated for the SELinux toggle test, exempts Azure runs for kola tests that depend on discovery.etcd.io, and includes irqbalance in the RPM-mode base package set.

Changes:

  • Add irqbalance to the RPM package catalog’s base system package set.
  • Update the SELinux toggle test to use az tag update (ARM tag endpoint) instead of az vm update when setting/removing the VM tag.
  • Exempt specific discovery.etcd.io-dependent kola enforcing tests from running on Azure.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
build_library/rpm/package_catalog.yaml Adds irqbalance to the base RPM package set (via the sys-apps/systemd pull-in list).
acl/tests/run-selinux-toggle-test.sh Switches VM tagging to az tag update for more robust tag operations.
acl/tests/kola_enforcing.yaml Adds Azure exceptions for tests that rely on discovery.etcd.io.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread acl/tests/run-selinux-toggle-test.sh
@jiria jiria merged commit f929d37 into aclmain Jun 4, 2026
2 checks passed
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.

3 participants