Unable to install Ops Agent

2.5k Views Asked by At

I'm having issues with installing Ops Agent on individual VM. It will stuck in a Pending: Ops Agent is installing. state and then go Ops Agent undetected.

google-cloud-ops-agent-repo.sh is installed and active.

When I checked the log, it states google-cloud-ops-agent runs successfully.

VM is not using legacy Agents.

Just in case, I have also added Logs Writer and Metric Monitoring role.

Here is the procedure outlined: https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent/installation

--Added Info:--.
OS Debian GNU/Linux 11 (bullseye)
OS version 11
Machine type e2-standard-2
This is the version installed dpkg-query --show --showformat \ '${Package} ${Version} ${Architecture} ${Status}\n' \ google-cloud-ops-agent google-cloud-ops-agent 2.18.2~debian11 amd64 install ok installed

enter image description here

enter image description here

enter image description here

0

There are 0 best solutions below