{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/8571","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/8571/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/8571/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/8571/events","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/issues/8571","id":78597651,"number":8571,"title":"Cannot get host IP on AWS","user":{"login":"roberthbailey","id":7751204,"avatar_url":"https://avatars.githubusercontent.com/u/7751204?v=3","gravatar_id":"","url":"https://api.github.com/users/roberthbailey","html_url":"https://github.com/roberthbailey","followers_url":"https://api.github.com/users/roberthbailey/followers","following_url":"https://api.github.com/users/roberthbailey/following{/other_user}","gists_url":"https://api.github.com/users/roberthbailey/gists{/gist_id}","starred_url":"https://api.github.com/users/roberthbailey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roberthbailey/subscriptions","organizations_url":"https://api.github.com/users/roberthbailey/orgs","repos_url":"https://api.github.com/users/roberthbailey/repos","events_url":"https://api.github.com/users/roberthbailey/events{/privacy}","received_events_url":"https://api.github.com/users/roberthbailey/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/priority/P1","name":"priority/P1","color":"eb6420"},{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/team/cluster-lifecycle","name":"team/cluster-lifecycle","color":"d2b48c"}],"state":"open","locked":false,"assignee":{"login":"justinsb","id":100893,"avatar_url":"https://avatars.githubusercontent.com/u/100893?v=3","gravatar_id":"","url":"https://api.github.com/users/justinsb","html_url":"https://github.com/justinsb","followers_url":"https://api.github.com/users/justinsb/followers","following_url":"https://api.github.com/users/justinsb/following{/other_user}","gists_url":"https://api.github.com/users/justinsb/gists{/gist_id}","starred_url":"https://api.github.com/users/justinsb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinsb/subscriptions","organizations_url":"https://api.github.com/users/justinsb/orgs","repos_url":"https://api.github.com/users/justinsb/repos","events_url":"https://api.github.com/users/justinsb/events{/privacy}","received_events_url":"https://api.github.com/users/justinsb/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-05-20T16:37:46Z","updated_at":"2015-05-21T09:28:38Z","closed_at":null,"body":"From https://groups.google.com/d/msg/google-containers/WPGJsSmGV6g/Ux5Q22veyEAJ\r\n\r\nHi there,\r\n\r\nhope you can help me. Our kubelets post the following error multiple times per minute :\r\n\r\nE0520 10:34:48.111760    1360 kubelet.go:1973] Cannot get host IP: host IP unknown; known addresses: []\r\n\r\nE0520 10:34:58.108223    1360 kubelet.go:1973] Cannot get host IP: host IP unknown; known addresses: []\r\n\r\nThey are running within the AWS cloud and the hostnames of the machine are also specified within the /etc/hosts file. In effect i have no idea why the kublet is not able to get its host ip. By the way the api-server and kublets are behind firewalls(security groups), do i need to open some special ports? Nevertheless the communication between the different parts of kubernetes seems to work, very smooth. So what do i miss? Many thanks in advance.\r\n\r\nRegards\r\nStefan"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/comments/104195172","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/issues/8571#issuecomment-104195172","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/8571","id":104195172,"user":{"login":"theiq","id":12427208,"avatar_url":"https://avatars.githubusercontent.com/u/12427208?v=3","gravatar_id":"","url":"https://api.github.com/users/theiq","html_url":"https://github.com/theiq","followers_url":"https://api.github.com/users/theiq/followers","following_url":"https://api.github.com/users/theiq/following{/other_user}","gists_url":"https://api.github.com/users/theiq/gists{/gist_id}","starred_url":"https://api.github.com/users/theiq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theiq/subscriptions","organizations_url":"https://api.github.com/users/theiq/orgs","repos_url":"https://api.github.com/users/theiq/repos","events_url":"https://api.github.com/users/theiq/events{/privacy}","received_events_url":"https://api.github.com/users/theiq/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T09:28:38Z","updated_at":"2015-05-21T09:28:38Z","body":"I just checked the VPC and it seems to be set up correctly.\r\n\r\nThe DHCP options are set as follows:\r\ndomain-name = eu-central-1.compute.internal\r\ndomain-name-servers = AmazonProvidedDNS\r\n\r\nThe /etc/resolv.conf\r\nnameserver 172.31.0.2\r\nsearch eu-central-1.compute.internal\r\n\r\nAnd a ping to the hostname als works:\r\nPING ip-172-31-6-144 (172.31.6.144) 56(84) bytes of data.\r\n64 bytes from ip-172-31-6-144 (172.31.6.144): icmp_seq=1 ttl=64 time=0.033 ms\r\n "}}