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
Using the ops-agent-policy to install Ops Agent on VMs does not appear to correctly set APT GPG Key, this means the apt update fails and so agent installation fails.
Expected behavior
Install the agent
Observed behavior
Policy fails enforcement step and agent does not install. Error seen by apt:
W: GPG error: https://packages.cloud.google.com/apt google-cloud-ops-agent-noble-all InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C0BA5CE6DC6315A3
Terraform Configuration
module"install_ops_agent" {
source="terraform-google-modules/cloud-operations/google//modules/ops-agent-policy"project=google_project.this-project.project_idassignment_id="ops-agent-policy-all-in-${var.zone}"zone=var.zoneinstance_filter={ all =true }
}
TL;DR
Using the ops-agent-policy to install Ops Agent on VMs does not appear to correctly set APT GPG Key, this means the
apt update
fails and so agent installation fails.Expected behavior
Install the agent
Observed behavior
Policy fails enforcement step and agent does not install. Error seen by apt:
W: GPG error: https://packages.cloud.google.com/apt google-cloud-ops-agent-noble-all InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C0BA5CE6DC6315A3
Terraform Configuration
Terraform Version
Additional information
No response
The text was updated successfully, but these errors were encountered: