{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/16985","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/16985/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/16985/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/16985/events","html_url":"https://github.com/kubernetes/kubernetes/issues/16985","id":115712799,"number":16985,"title":"GCE client flakes on oauth","user":{"login":"bprashanth","id":10927820,"avatar_url":"https://avatars.githubusercontent.com/u/10927820?v=3","gravatar_id":"","url":"https://api.github.com/users/bprashanth","html_url":"https://github.com/bprashanth","followers_url":"https://api.github.com/users/bprashanth/followers","following_url":"https://api.github.com/users/bprashanth/following{/other_user}","gists_url":"https://api.github.com/users/bprashanth/gists{/gist_id}","starred_url":"https://api.github.com/users/bprashanth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bprashanth/subscriptions","organizations_url":"https://api.github.com/users/bprashanth/orgs","repos_url":"https://api.github.com/users/bprashanth/repos","events_url":"https://api.github.com/users/bprashanth/events{/privacy}","received_events_url":"https://api.github.com/users/bprashanth/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/cloudprovider","name":"area/cloudprovider","color":"f1fd21"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/platform/gce","name":"area/platform/gce","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-08T06:47:15Z","updated_at":"2015-11-08T07:02:12Z","closed_at":null,"body":"The GCE client flakes on oauth from time to time with:\r\n```\r\nhttps://www.googleapis.com/compute/v1/projects/kubernetes-jenkins/zones/us-central1-f/instanceGroups?alt=json: oauth2/google: can't get a token from the metadata service; not running on GCE\r\n```\r\nWhich is weird, because the client should really refresh the token transparently, and the \"Not on GCE\" message looks suspicious. The controller creates the client in pretty much the same way the Kubernetes cloudprovider module does (https://github.com/kubernetes/contrib/blob/master/Ingress/controllers/gce/cluster_manager.go#L147), so this looks like a general problem?\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/154780221","html_url":"https://github.com/kubernetes/kubernetes/issues/16985#issuecomment-154780221","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/16985","id":154780221,"user":{"login":"bprashanth","id":10927820,"avatar_url":"https://avatars.githubusercontent.com/u/10927820?v=3","gravatar_id":"","url":"https://api.github.com/users/bprashanth","html_url":"https://github.com/bprashanth","followers_url":"https://api.github.com/users/bprashanth/followers","following_url":"https://api.github.com/users/bprashanth/following{/other_user}","gists_url":"https://api.github.com/users/bprashanth/gists{/gist_id}","starred_url":"https://api.github.com/users/bprashanth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bprashanth/subscriptions","organizations_url":"https://api.github.com/users/bprashanth/orgs","repos_url":"https://api.github.com/users/bprashanth/repos","events_url":"https://api.github.com/users/bprashanth/events{/privacy}","received_events_url":"https://api.github.com/users/bprashanth/received_events","type":"User","site_admin":false},"created_at":"2015-11-08T07:02:12Z","updated_at":"2015-11-08T07:02:12Z","body":"@kubernetes/goog-gke in case anyone knows of a recent fix I should rev the godep in contrib to pick up"}}