You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Google-managed Ops Agent OS Policy Assignment template still does not include a debian:13 (trixie) inventoryFilter, six months after a Google engineer indicated work was in progress in the closing comment on #2060:
"We are working on the OS policy support for Debian 13 right now... Will update here once ready." — @LujieDuan, 2025-11-04
Because the auto-provisioned goog-ops-agent-policy has allowNoResourceGroupMatch: true, trixie VMs that carry the goog-ops-agent-policy label silently report COMPLIANT while no agent is ever installed. This is a particularly nasty failure mode: the operator looks at the OS Config compliance UI, sees green, and assumes the agent is healthy.
Filing a narrow, OS-policy-only follow-up since #2060 itself is closed (the binary side shipped in 2.61.0).
Reproduction
Create a Compute Engine VM from debian-cloud/debian-13.
Apply the documented label: goog-ops-agent-policy=v2-x86-template-1-4-0 (or =true).
Apt repository already exists: https://packages.cloud.google.com/apt dists/google-cloud-ops-agent-trixie-2/Release returns 200, and packages such as google-cloud-ops-agent2.66.0-trixie are available there.
So the only remaining gap is the auto-provisioned OS Policy template — Google has everything it needs to add a debian:13 resourceGroup mirroring the existing debian:12 one.
Workaround (verified)
A custom OS Policy Assignment scoped to osShortName=debian, osVersion=13 works. Example resource group:
Verified end-to-end on a fleet of 27 personal Compute Engine VMs (21 trixie + 6 non-trixie). Within ~12 minutes of creating the assignment, all 21 trixie VMs converged from "no agent installed, COMPLIANT against goog-managed template" to actively reporting agent.googleapis.com/agent/uptime with google-cloud-ops-agent-{logging,metrics}/2.66.0-trixie. On a sample VM:
$ dpkg -l | grep google-cloud-ops-agent
ii google-cloud-ops-agent 2.66.0~debian13 amd64
$ systemctl is-active google-cloud-ops-agent
active
Strongly recommend removing the goog-ops-agent-policy label from trixie VMs that use a custom policy, since the COMPLIANT-but-no-op behaviour will silently override observability if Google later re-enables it under a label name we already use.
Asks
Bump the goog-managed OS Policy Assignment template to add a debian:13 resourceGroup. The debian:12 group should be a near drop-in template (swap bookworm-2 → trixie-2).
Independently of the fix: please consider treating "no resourceGroup matches & policy was applied" as NON_COMPLIANT (or at least surface a warning) rather than COMPLIANT. The current behaviour makes "agent never installed" indistinguishable from "agent installed and healthy" in the OS Config UI.
Summary
The Google-managed Ops Agent OS Policy Assignment template still does not include a
debian:13(trixie)inventoryFilter, six months after a Google engineer indicated work was in progress in the closing comment on #2060:Because the auto-provisioned
goog-ops-agent-policyhasallowNoResourceGroupMatch: true, trixie VMs that carry thegoog-ops-agent-policylabel silently report COMPLIANT while no agent is ever installed. This is a particularly nasty failure mode: the operator looks at the OS Config compliance UI, sees green, and assumes the agent is healthy.Filing a narrow, OS-policy-only follow-up since #2060 itself is closed (the binary side shipped in 2.61.0).
Reproduction
debian-cloud/debian-13.goog-ops-agent-policy=v2-x86-template-1-4-0(or=true).What the policy actually contains
Dumped via
gcloud compute os-config os-policy-assignments describe goog-ops-agent-v2-x86-template-1-4-0-<region>— theosPolicies[0].resourceGroups[]cover:centos:8,rocky:8.*,rhel:8.*rocky:9.*,rhel:9.*sles:12.*sles:15.*,opensuse-leap:15.*debian:11(distributiongoogle-cloud-ops-agent-bullseye-2)debian:12(distributiongoogle-cloud-ops-agent-bookworm-2)ubuntu:18.04,20.04,22.04,24.04,24.10windows:10.*,windows:6.*No
debian:13. Combined withallowNoResourceGroupMatch: trueon the policy, trixie matches no resource group and is reported COMPLIANT-with-no-action.What is already in place upstream
https://packages.cloud.google.com/apt dists/google-cloud-ops-agent-trixie-2/Releasereturns 200, and packages such asgoogle-cloud-ops-agent2.66.0-trixieare available there.So the only remaining gap is the auto-provisioned OS Policy template — Google has everything it needs to add a debian:13 resourceGroup mirroring the existing debian:12 one.
Workaround (verified)
A custom OS Policy Assignment scoped to
osShortName=debian, osVersion=13works. Example resource group:Verified end-to-end on a fleet of 27 personal Compute Engine VMs (21 trixie + 6 non-trixie). Within ~12 minutes of creating the assignment, all 21 trixie VMs converged from "no agent installed, COMPLIANT against goog-managed template" to actively reporting
agent.googleapis.com/agent/uptimewithgoogle-cloud-ops-agent-{logging,metrics}/2.66.0-trixie. On a sample VM:Strongly recommend removing the
goog-ops-agent-policylabel from trixie VMs that use a custom policy, since the COMPLIANT-but-no-op behaviour will silently override observability if Google later re-enables it under a label name we already use.Asks
debian:13resourceGroup. The debian:12 group should be a near drop-in template (swapbookworm-2→trixie-2).Environment
debian-cloud/debian-13