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
On a few of our hosts in google console is not reporting their os other info from the agent, agent is not running patching jobs or logging even though it is still reporting as running.
Logging onto the hosts I see that the agent is running. But hasn't written a new line to the log file in 15 days
systemctl status google-osconfig-agent
● google-osconfig-agent.service - Google OSConfig Agent
Loaded: loaded (/lib/systemd/system/google-osconfig-agent.service; enabled; preset: enabled)
Active: active (running) since Thu 2024-10-24 04:19:55 UTC; 2 weeks 4 days ago
Main PID: 660 (google_osconfig)
Tasks: 22 (limit: 4677)
Memory: 105.2M
CPU: 1h 8min 26.925s
CGroup: /system.slice/google-osconfig-agent.service
├─ 660 /usr/bin/google_osconfig_agent
├─1320421 /usr/bin/apt-get update
├─1320433 /usr/lib/apt/methods/https
├─1320434 /usr/lib/apt/methods/http
├─1320435 /usr/lib/apt/methods/ar+https
├─1320441 /usr/lib/apt/methods/http
└─1320443 /usr/lib/apt/methods/gpgv
Oct 26 23:20:11 lightstep-satellite-f8fh OSConfigAgent[660]: 2024-10-26T23:20:11.0569Z OSConfigAgent Info: Writing inventory to guest attributes
Oct 26 23:30:10 lightstep-satellite-f8fh OSConfigAgent[660]: 2024-10-26T23:30:10.9839Z OSConfigAgent Info: Writing inventory to guest attributes
Oct 26 23:40:10 lightstep-satellite-f8fh OSConfigAgent[660]: 2024-10-26T23:40:10.6683Z OSConfigAgent Info: Writing inventory to guest attributes
Oct 26 23:50:10 lightstep-satellite-f8fh OSConfigAgent[660]: 2024-10-26T23:50:10.8159Z OSConfigAgent Info: Writing inventory to guest attributes
Oct 27 00:00:10 lightstep-satellite-f8fh OSConfigAgent[660]: 2024-10-27T00:00:10.7159Z OSConfigAgent Info: Writing inventory to guest attributes
Oct 27 00:10:10 lightstep-satellite-f8fh OSConfigAgent[660]: 2024-10-27T00:10:10.8140Z OSConfigAgent Info: Writing inventory to guest attributes
Oct 27 00:20:10 lightstep-satellite-f8fh OSConfigAgent[660]: 2024-10-27T00:20:10.8854Z OSConfigAgent Info: Writing inventory to guest attributes
Oct 27 00:30:10 lightstep-satellite-f8fh OSConfigAgent[660]: 2024-10-27T00:30:10.9676Z OSConfigAgent Info: Writing inventory to guest attributes
Oct 27 00:40:10 lightstep-satellite-f8fh OSConfigAgent[660]: 2024-10-27T00:40:10.9233Z OSConfigAgent Info: Writing inventory to guest attributes
Oct 27 00:50:10 lightstep-satellite-f8fh OSConfigAgent[660]: 2024-10-27T00:50:10.5406Z OSConfigAgent Info: Writing inventory to guest attributes
Last logs that were not Writing inventory to guest attributes: looked like this.
Oct 24 04:20:56 lightstep-satellite-f8fh OSConfigAgent[660]: 2024-10-24T04:20:56.0314Z OSConfigAgent Info: Successfully completed ApplyConfigTask
Oct 24 06:00:06 lightstep-satellite-f8fh OSConfigAgent[660]: 2024-10-24T06:00:06.5103Z OSConfigAgent Error inventory.go:55: packages.GetPackageUpdates() error: error getting apt updates: exit status 100
Oct 24 12:19:01 lightstep-satellite-f8fh OSConfigAgent[660]: 2024-10-24T12:19:01.1567Z OSConfigAgent Warning: Error waiting for task (attempt 1 of 10): rpc error: code = Unavailable desc = closing transport due to: connection error: desc = "error reading from server: EOF", received prior goaway: code: NO_ERROR, debug data: "server_shutting_down"
Oct 25 06:00:06 lightstep-satellite-f8fh OSConfigAgent[660]: 2024-10-25T06:00:06.5184Z OSConfigAgent Error inventory.go:55: packages.GetPackageUpdates() error: error getting apt updates: exit status 100
Oct 26 06:00:06 lightstep-satellite-f8fh OSConfigAgent[660]: 2024-10-26T06:00:06.5876Z OSConfigAgent Error inventory.go:55: packages.GetPackageUpdates() error: error getting apt updates: exit status 100
UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
root 660 1 0 311612 24516 1 Oct24 ? 00:02:13 /usr/bin/google_osconfig_agent
Doing a manual restart -- systemctl restart google-osconfig-agent returns the agent to a working state (at least temporarily) and google console shows proper operating system.
strace reveals most threads are blocked on futex call.
The text was updated successfully, but these errors were encountered:
bwaters
changed the title
OS config agent running but OS reporting unkown in patch consul
OS config agent "running" but OS reporting unknown in patch consul / not patching
Nov 11, 2024
bwaters
changed the title
OS config agent "running" but OS reporting unknown in patch consul / not patching
OS config agent hung - reporting "running" but OS unknown in patch consul / not patching / logging
Nov 11, 2024
Hello @bwaters, sorry for long reply, i suggest to firstly update agent to the latest version 20240926.03-g1 and confirm that behavior is still exists.
On a few of our hosts in google console is not reporting their os other info from the agent, agent is not running patching jobs or logging even though it is still reporting as running.
Logging onto the hosts I see that the agent is running. But hasn't written a new line to the log file in 15 days
Last logs that were not Writing inventory to guest attributes: looked like this.
Doing a manual restart --
systemctl restart google-osconfig-agent
returns the agent to a working state (at least temporarily) and google console shows proper operating system.strace reveals most threads are blocked on futex call.
The text was updated successfully, but these errors were encountered: