gravitational / teleport

The easiest, and most secure way to access and protect all of your infrastructure.
https://goteleport.com
GNU Affero General Public License v3.0
17.35k stars 1.74k forks source link

tsh kube ls -R fails to list any Kube Clusters if there are issues with any associated teleport cluster #38300

Open arsenetar opened 7 months ago

arsenetar commented 7 months ago

Expected behavior: tsh kube ls -R returns the list of all Kubernetes clusters for any of the functional associated leaf teleport clusters.

Current behavior: If any teleport leaf cluster has issues (offline) then the command fails and does not provide any output aside from the error such as: ERROR: connection error: desc = "transport: authentication handshake failed: EOF". The error does not indicate which cluster it came from.

Bug details:

zmb3 commented 7 months ago

Which version are you actually running? 1.14.3 seems like a typo..

arsenetar commented 7 months ago

Yeah it was, fixed in issue.

jorpilo commented 1 month ago

Seeing the same issue, if one of the clusters errors the command will just not output anything. Also it checks cluster by cluster sequentially which is very slow...