Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CancelRequest not implemented by *gcp.conditionalTransport #73791

Closed
mattysweeps opened this issue Feb 6, 2019 · 8 comments
Closed

CancelRequest not implemented by *gcp.conditionalTransport #73791

mattysweeps opened this issue Feb 6, 2019 · 8 comments
Labels
area/client-libraries area/provider/gcp Issues or PRs related to gcp provider kind/bug Categorizes issue or PR as related to a bug. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. sig/auth Categorizes an issue or PR as relevant to SIG Auth. sig/cli Categorizes an issue or PR as relevant to SIG CLI. sig/cloud-provider Categorizes an issue or PR as relevant to SIG Cloud Provider.

Comments

@mattysweeps
Copy link

What happened:

Attempting to connect to a GKE cluster which no longer exists:

kubectl --request-timeout=5s get pods
E0206 10:05:40.982355  247442 round_trippers.go:174] CancelRequest not implemented by *gcp.conditionalTransport
E0206 10:05:45.984693  247442 round_trippers.go:174] CancelRequest not implemented by *gcp.conditionalTransport
E0206 10:05:50.985031  247442 round_trippers.go:174] CancelRequest not implemented by *gcp.conditionalTransport
E0206 10:05:55.985319  247442 round_trippers.go:174] CancelRequest not implemented by *gcp.conditionalTransport
E0206 10:06:00.985688  247442 round_trippers.go:174] CancelRequest not implemented by *gcp.conditionalTransport
Unable to connect to the server: context deadline exceeded (Client.Timeout exceeded while awaiting headers)

What you expected to happen:
It should fail after 5 seconds and exit with a non-zero exit status. Additionally, the error message should clearly state that the command was exited due to the request timeout being reached.

Instead, after every 5 second interval the error message CancelRequest not implemented by *gcp.conditionalTransport is shown. The request always retries 5 times: an option which I cannot find command line configuration for.

How to reproduce it (as minimally and precisely as possible):

  • Create GKE cluster
  • Connect to it
  • Delete GKE cluster
  • Run command above

Anything else we need to know?:
I'm posting here because I believe it's a Kubernetes bug, not GKE. However, I have only tested with GKE.

Environment:

  • Kubernetes version (use kubectl version):
  • Cloud provider or hardware configuration: GKE
  • OS (e.g. from /etc/os-release): Ubuntu
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:
@mattysweeps mattysweeps added the kind/bug Categorizes issue or PR as related to a bug. label Feb 6, 2019
@k8s-ci-robot k8s-ci-robot added the needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. label Feb 6, 2019
@mattysweeps
Copy link
Author

/sig cli

@k8s-ci-robot k8s-ci-robot added sig/cli Categorizes an issue or PR as relevant to SIG CLI. and removed needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Feb 6, 2019
@tanner-bruce
Copy link

I had this happen today with a GKE cluster that did exist. After some time the connection would go through. We also had a hostError on a GKE node at the same time. Access to the internet was fine at the time so I do not believe it was our network.

@jeremywadsack
Copy link

Had this today when the network stopped resolving hostnames. Resolving that recovered things for me, but the message could be improved.

#66013 might be related.

@ahmetb
Copy link
Member

ahmetb commented Apr 12, 2019

Can confirm it happens if GKE cluster existed before but deleted later on.

@liggitt liggitt added area/client-libraries sig/gcp sig/auth Categorizes an issue or PR as relevant to SIG Auth. labels Jun 12, 2019
@liggitt
Copy link
Member

liggitt commented Jun 12, 2019

@kubernetes/sig-auth-bugs

@mikedanese
Copy link
Member

This is probably fixed by #71757

@liggitt liggitt added priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. labels Jun 12, 2019
@k8s-ci-robot k8s-ci-robot added area/provider/gcp Issues or PRs related to gcp provider and removed sig/gcp labels Aug 6, 2019
@thockin thockin added the sig/cloud-provider Categorizes an issue or PR as relevant to SIG Cloud Provider. label Aug 6, 2019
@mml
Copy link
Contributor

mml commented Aug 7, 2019

Hmmm.. this happened to me today on a 1.13 cluster, using kubectl.1.13.

@mikedanese
Copy link
Member

Thanks, I'll push on this then since it's showing up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/client-libraries area/provider/gcp Issues or PRs related to gcp provider kind/bug Categorizes issue or PR as related to a bug. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. sig/auth Categorizes an issue or PR as relevant to SIG Auth. sig/cli Categorizes an issue or PR as relevant to SIG CLI. sig/cloud-provider Categorizes an issue or PR as relevant to SIG Cloud Provider.
Projects
None yet
Development

No branches or pull requests

9 participants