Conversation
| return nil, trace.Wrap(err) | ||
| } | ||
| id, err := strconv.ParseUint(idStr, 10, 64) | ||
| id, err := client.getNumericID(ctx) |
There was a problem hiding this comment.
So if this fails, are we going to continue to call GetTags on a periodic basis and continue to return the same error over and over again?
There was a problem hiding this comment.
For getNumericID() in particular, it's called in IsAvailable(), so if it fails (e.g. because we're on Yandex) Teleport won't create a GCP metadata client at all. In general, yes errors here are returned periodically, but we only log them once.
Lines 147 to 158 in a420d8b
There was a problem hiding this comment.
It doesn't, that issue is fixed by the logging changes in lib/service (I originally also tried to parse the *url.Errors, but per feedback on this PR I removed that as it was redundant).
There was a problem hiding this comment.
how does the logging change fix that?
I see, now we are just logging the error instead of failing. Ignore this comment.
| return nil, trace.Wrap(err) | ||
| } | ||
| id, err := strconv.ParseUint(idStr, 10, 64) | ||
| id, err := client.getNumericID(ctx) |
|
This PR is closed as Yandex Cloud is not supported. The fix should be rescoped to address GCP and AWS only. Please resubmit once you address the comments and changes. |
|
Hi @klizhentas, According to the documentation Teleport should work on any k8s deployment including bare-metal installations as far as I understand. Could you please tell if there's any chance to implement some workaround so we can continue using it as before? Thanks in advance. |
|
I confirm that Yandex Cloud has broken since version 15.3.6 |
This change:
Fixes #42312.
Changelog: Fixed crashes related to importing GCP labels