Comments (5)
MDS = GCE Metadata Server, correct?
I believe in our environment, GKE metadata server (part of GKE Workload Identity feature [1]) is receiving and handling these requests, not the GCE Metadata server. Or not directly, anyway.
I think this issue is the wrong place to report that the 404 responses from MDS are a nuisance in Cloud Logging.
You're right. I actually filed the Buganizer ticket (above: b/325999688) for the 404s for GKE Metadata Server, mostly sharing it here to ensure you had full visibility about how this library is behaving on GKE.
Original issue reporter was on GKE too, but they were getting different behaviour -- possibly because they were not using Workload Identity or other reasons?
[1] https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity#using_from_your_code
from google-api-go-client.
I am also running the google cloud client libraries on GKE. Because of the requests to /computeMetadata/v1/universe/universe_domain
, which do not appear supported by GKE metadata server (see b/325999688), the endpoint is 404ing. This is producing nuisance errors in Cloud Logging.
I don't think there is any functional impact to the app. (We do not even appear to be waiting for the 1s timeout implemented as a mitigation for googleapis/google-cloud-go#9350, because the library correctly treats 404 as a non-retriable error.)
from google-api-go-client.
@patrickmeiring I think this issue is the wrong place to report that the 404 responses from MDS are a nuisance in Cloud Logging. As you noted, the timeout behavior is (or at least should be) unrelated to the handling of 404 errors.
To determine where to report this issue, can you confirm whether MDS is available at all in your GKE environment? Or is some other form of auth used? I know this sounds obvious, but if MDS is indeed present, then I think the source of the 404 nuisance errors is the lack of support for the universe domain endpoint in MDS in your particular GKE environment.
from google-api-go-client.
@quartzmo I think we can close this now with the most recent auth changes?
from google-api-go-client.
Yes, I'll close this now.
from google-api-go-client.
Related Issues (20)
- google.golang.org/api/integration-tests/downscope: TestDownscopedToken failed HOT 1
- SafeBrowsing v5 only supports alt=proto HOT 5
- Import broken when using only androidpublisher/v3 HOT 6
- Why do I receive "googleapi: Error 400: Precondition check failed." when invoking MonetizationService.ConvertRegionPrices? HOT 3
- deps: remove forced dependency on main google-cloud-go module HOT 2
- NewService with option.WithTokenSource error: could not find default credentials HOT 7
- searchconsole: How can I know if accurate data is ready? HOT 1
- Best Practices for constructing resource names HOT 2
- Timeout when post to `https://oauth2.googleapis.com/token` HOT 4
- Properly support "strong typed maps" in generator
- Error 400: Request contains an invalid argument., badRequest HOT 1
- Import error when updating to v0.182.0 HOT 6
- Ipv4Enabled: false is not works for google.golang.org/api/sqladmin/v1beta4(v1) and ../api/sql/v1beta4 HOT 2
- Path replacement of endpoint in Drive /upload operation HOT 2
- Ipv4Enabled: false is not works for google.golang.org/api/sqladmin/v1beta4(v1) and ../api/sql/v1beta4 HOT 1
- Add README for google-api-go-generator
- Opentelemetry tracer client has infinite loop tracing itself HOT 12
- Cloud Job Task spec MaxRetries should be a pointer HOT 5
- Allow skipping nil bytes for WithCredentialsJSON HOT 1
- OK I will check
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-api-go-client.