GoogleCloudPlatform / GoogleCloudPlatform/guest-agent
"Error watching metadata: context canceled" starting from 2025 07 04
- Dominant language
- Go
- Stars
- 168
- Forks
- 106
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 2
Description
Starting from 2025 07 04 on Google Cloud we get this error that links function to this repo at the bottom of this log entry:
```
{
"insertId": "oguo51fnbt0fd",
"jsonPayload": {
"localTimestamp": "2025-07-07T05:19:00.8012Z",
"omitempty": null,
"message": "Error watching metadata: context canceled"
},
"resource": {
"type": "gce_instance",
"labels": {
"instance_id": "3371365647560141590",
"project_id": "xxxxxxxx",
"zone": "europe-west3-a"
}
},
"timestamp": "2025-07-07T05:19:00.808556387Z",
"severity": "ERROR",
"labels": {
"instance_name": "aef-default-20250706t193350-58h2"
},
"logName": "projects/xxxxxxxx/logs/GCEGuestAgent",
"sourceLocation": {
"file": "metadata.go",
"line": "68",
"function": "github.com/GoogleCloudPlatform/guest-agent/google_guest_agent/events/metadata.(*Watcher).Run"
},
"receiveTimestamp": "2025-07-07T05:19:00.954340019Z"
}
```
Starting with those errors we started getting random 502 bad gateway requests from 2025 07 04 so not sure if that is related with guest agent or no.
Contributor guide
Assessment
This issue has not been assessed yet.