{"action":"closed","issue":{"url":"https://api.github.com/repos/coreos/etcd-operator/issues/385","repository_url":"https://api.github.com/repos/coreos/etcd-operator","labels_url":"https://api.github.com/repos/coreos/etcd-operator/issues/385/labels{/name}","comments_url":"https://api.github.com/repos/coreos/etcd-operator/issues/385/comments","events_url":"https://api.github.com/repos/coreos/etcd-operator/issues/385/events","html_url":"https://github.com/coreos/etcd-operator/issues/385","id":190532338,"number":385,"title":"jenkins: Can't access GCE node internal IP from pod","user":{"login":"hongchaodeng","id":920884,"avatar_url":"https://avatars.githubusercontent.com/u/920884?v=3","gravatar_id":"","url":"https://api.github.com/users/hongchaodeng","html_url":"https://github.com/hongchaodeng","followers_url":"https://api.github.com/users/hongchaodeng/followers","following_url":"https://api.github.com/users/hongchaodeng/following{/other_user}","gists_url":"https://api.github.com/users/hongchaodeng/gists{/gist_id}","starred_url":"https://api.github.com/users/hongchaodeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hongchaodeng/subscriptions","organizations_url":"https://api.github.com/users/hongchaodeng/orgs","repos_url":"https://api.github.com/users/hongchaodeng/repos","events_url":"https://api.github.com/users/hongchaodeng/events{/privacy}","received_events_url":"https://api.github.com/users/hongchaodeng/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2016-11-20T01:23:00Z","updated_at":"2016-11-20T05:22:42Z","closed_at":"2016-11-20T05:22:42Z","body":"Our migration tests on jenkins are now failing consistently. Digging into the problem, it seems that k8s pod couldn't access IP of nodes.\r\n\r\nIn migration test, we use GetDefaultHost(), which returns internal IP \"10.240.0.x\". Then we use it as network interface that etcd binds to. But etcd operator was trying to do migrate, it failed:\r\n```\r\ngrpc: time out when dialing\r\n```\r\n\r\nI test it by running an etcd server locally:\r\n```\r\netcd --listen-peer-urls 'http://10.240.0.7:12380' --listen-client-urls 'http://10.240.0.7:12379' --initial-advertise-peer-urls http://10.240.0.7:12380 --advertise-client-urls http://10.240.0.7:12379 --initial-cluster 'boot=http://10.240.0.7:12380' --name boot\r\n```\r\n\r\nThen create a pod to contact it:\r\n```\r\nkubectl run --rm -i --tty fun --image quay.io/coreos/etcd --restart=Never -- /bin/sh\r\n/ # ETCDCTL_API=3 etcdctl --endpoints http://10.240.0.7:12379 get foo\r\nError:  grpc: timed out when dialing\r\n```\r\nIt also turns out to be inaccessible."}}
{"actor":{"display_login":"hongchaodeng"}}