Skip to content

metadata.OnGCE is flaky #194

Closed
Closed
@Carrotman42

Description

The implementation of OnGCE does an http.Get to "http://metadata.google.internal" using a client that has timeouts set to 750ms. Sometimes (I can repro semi-consistently when running inside a docker container) the func returns false, presumably due to timing out.

OnGCE also caches its result, so there's no way to retry. A workaround is to invent my own OnGCE func with longer timeouts, but I'd like to avoid doing that in the long term.

Metadata

Labels

🚨This issue needs some love.triage meI really want to be triaged.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions