{"action":"closed","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/7066","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/7066/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/7066/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/7066/events","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/issues/7066","id":69672999,"number":7066,"title":".kube/config is never regenerated for e2e test once removed","user":{"login":"dchen1107","id":7740897,"avatar_url":"https://avatars.githubusercontent.com/u/7740897?v=3","gravatar_id":"","url":"https://api.github.com/users/dchen1107","html_url":"https://github.com/dchen1107","followers_url":"https://api.github.com/users/dchen1107/followers","following_url":"https://api.github.com/users/dchen1107/following{/other_user}","gists_url":"https://api.github.com/users/dchen1107/gists{/gist_id}","starred_url":"https://api.github.com/users/dchen1107/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dchen1107/subscriptions","organizations_url":"https://api.github.com/users/dchen1107/orgs","repos_url":"https://api.github.com/users/dchen1107/repos","events_url":"https://api.github.com/users/dchen1107/events{/privacy}","received_events_url":"https://api.github.com/users/dchen1107/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/area/test","name":"area/test","color":"fad8c7"},{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/kind/bug","name":"kind/bug","color":"ff0000"}],"state":"closed","locked":false,"assignee":{"login":"quinton-hoole","id":10390785,"avatar_url":"https://avatars.githubusercontent.com/u/10390785?v=3","gravatar_id":"","url":"https://api.github.com/users/quinton-hoole","html_url":"https://github.com/quinton-hoole","followers_url":"https://api.github.com/users/quinton-hoole/followers","following_url":"https://api.github.com/users/quinton-hoole/following{/other_user}","gists_url":"https://api.github.com/users/quinton-hoole/gists{/gist_id}","starred_url":"https://api.github.com/users/quinton-hoole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quinton-hoole/subscriptions","organizations_url":"https://api.github.com/users/quinton-hoole/orgs","repos_url":"https://api.github.com/users/quinton-hoole/repos","events_url":"https://api.github.com/users/quinton-hoole/events{/privacy}","received_events_url":"https://api.github.com/users/quinton-hoole/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-04-20T20:26:31Z","updated_at":"2015-04-20T21:59:44Z","closed_at":"2015-04-20T21:59:44Z","body":"I tried to bring up a e2e test cluster, and ran into several issues. Most of issues are transient, and would be disappeared after several runs until I ran into an issue in which 'kubectl cluster-info' reports a minion IP as master node's IP:\r\n\r\n```\r\n$ cluster/kubectl.sh cluster-info\r\ncurrent-context: \"golden-system-455_e2e-test-dawnchen\"\r\nRunning: cluster/../cluster/gce/../../cluster/../_output/dockerized/bin/linux/amd64/kubectl cluster-info\r\nKubernetes master is running at https://146.148.87.91\r\n```\r\n\r\n```\r\n+-------------------------------+---------------+---------+----------------+-----------------+\r\n| name                          | zone          | status  | network-ip     | external-ip     |\r\n+-------------------------------+---------------+---------+----------------+-----------------+\r\n| e2e-test-dawnchen-master      | us-central1-b | RUNNING | 10.240.178.120 | 130.211.113.160 |\r\n+-------------------------------+---------------+---------+----------------+-----------------+\r\n| e2e-test-dawnchen-minion-jy4s | us-central1-b | RUNNING | 10.240.7.110   | 146.148.87.91   |\r\n+-------------------------------+---------------+---------+----------------+-----------------+\r\n| e2e-test-dawnchen-minion-yxyr | us-central1-b | RUNNING | 10.240.167.7   | 104.154.55.143  |\r\n\r\n```\r\n\r\nI ran into this problem before, but it is transient too. Based on my previous experience, removing wrong config file which records wrong IP should fix the issue. I did the same this time, now I cannot run tests against my e2e cluster anymore. Here is the related console output:\r\n\r\n```\r\ncurrent-context: \"golden-system-455_e2e-test-dawnchen\"\r\nRunning: /usr/local/src/goproj/src/github.com/GoogleCloudPlatform/kubernetes/hack/e2e-internal/../../cluster/../cluster/gce/../../cluster/../cluster/../cluster/gce/../../cluster/../_output/dockerized/bin/linux/amd64/kubectl cluster-info\r\nKubernetes master is running at https://104.197.6.101\r\nelasticsearch-logging is running at https://104.197.6.101/api/v1beta1/proxy/services/elasticsearch-logging/ (note the trailing slash)\r\nkibana-logging is running at https://104.197.6.101/api/v1beta1/proxy/services/kibana-logging/ (note the trailing slash)\r\nkube-dns is running at https://104.197.6.101/api/v1beta1/proxy/services/kube-dns/ (note the trailing slash)\r\ngrafana is running at https://104.197.6.101/api/v1beta1/proxy/services/monitoring-grafana/ (note the trailing slash)\r\nheapster is running at https://104.197.6.101/api/v1beta1/proxy/services/monitoring-heapster/ (note the trailing slash)\r\n\r\nCreated [https://www.googleapis.com/compute/v1/projects/golden-system-455/global/firewalls/e2e-test-dawnchen-minion-e2e-test-dawnchen-http-alt].\r\nNAME                                                NETWORK SRC_RANGES RULES           SRC_TAGS TARGET_TAGS\r\ne2e-test-dawnchen-minion-e2e-test-dawnchen-http-alt e2e     0.0.0.0/0  tcp:80,tcp:8080          e2e-test-dawnchen-minion\r\n2015/04/20 12:17:38 Running: get status\r\nProject: golden-system-455\r\nZone: us-central1-b\r\ncurrent-context: \"\"\r\nRunning: /usr/local/src/goproj/src/github.com/GoogleCloudPlatform/kubernetes/cluster/../cluster/gce/../../cluster/../_output/dockerized/bin/linux/amd64/kubectl --match-server-version version\r\nError: couldn't read version from server: Get http://localhost:8080/version: dial tcp 127.0.0.1:8080: connection refused\r\n```\r\n\r\nHere is the content of config file:\r\n\r\n```\r\n$ cat ~/.kube/config\r\napiVersion: v1\r\nclusters: []\r\ncontexts: []\r\ncurrent-context: \"\"\r\nkind: Config\r\npreferences: {}\r\nusers: []\r\n```\r\n"}}