{"action":"created","issue":{"url":"https://api.github.com/repos/rancherio/rancher/issues/1152","labels_url":"https://api.github.com/repos/rancherio/rancher/issues/1152/labels{/name}","comments_url":"https://api.github.com/repos/rancherio/rancher/issues/1152/comments","events_url":"https://api.github.com/repos/rancherio/rancher/issues/1152/events","html_url":"https://github.com/rancherio/rancher/issues/1152","id":87272686,"number":1152,"title":"Clean install host IP is wrong","user":{"login":"5an1ty","id":5538404,"avatar_url":"https://avatars.githubusercontent.com/u/5538404?v=3","gravatar_id":"","url":"https://api.github.com/users/5an1ty","html_url":"https://github.com/5an1ty","followers_url":"https://api.github.com/users/5an1ty/followers","following_url":"https://api.github.com/users/5an1ty/following{/other_user}","gists_url":"https://api.github.com/users/5an1ty/gists{/gist_id}","starred_url":"https://api.github.com/users/5an1ty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/5an1ty/subscriptions","organizations_url":"https://api.github.com/users/5an1ty/orgs","repos_url":"https://api.github.com/users/5an1ty/repos","events_url":"https://api.github.com/users/5an1ty/events{/privacy}","received_events_url":"https://api.github.com/users/5an1ty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-11T09:17:48Z","updated_at":"2015-06-11T15:55:27Z","closed_at":null,"body":"I just installed the rancher server and a host on the same machine to test and it pops up as expected under hosts, only it's IP address is incorrect. As IP it shows:\r\n\r\n 172.17.42.1 \r\n\r\nThat's the IP address of the docker0 network interface. Is this a bug or a misconfiguration on my part?\r\n\r\nAfter some googling I tried adding:\r\n-e CATTLE_AGENT_IP=MYSERVERIP\r\n\r\nand when I use docker logs of the created host, it's stuck at:\r\nINFO: Attempting to connect to: http://MYSERVERIP/v1\r\nERROR: http://MYSERVERIP/v1 is not accessible"},"comment":{"url":"https://api.github.com/repos/rancherio/rancher/issues/comments/111182323","html_url":"https://github.com/rancherio/rancher/issues/1152#issuecomment-111182323","issue_url":"https://api.github.com/repos/rancherio/rancher/issues/1152","id":111182323,"user":{"login":"deniseschannon","id":11410997,"avatar_url":"https://avatars.githubusercontent.com/u/11410997?v=3","gravatar_id":"","url":"https://api.github.com/users/deniseschannon","html_url":"https://github.com/deniseschannon","followers_url":"https://api.github.com/users/deniseschannon/followers","following_url":"https://api.github.com/users/deniseschannon/following{/other_user}","gists_url":"https://api.github.com/users/deniseschannon/gists{/gist_id}","starred_url":"https://api.github.com/users/deniseschannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deniseschannon/subscriptions","organizations_url":"https://api.github.com/users/deniseschannon/orgs","repos_url":"https://api.github.com/users/deniseschannon/repos","events_url":"https://api.github.com/users/deniseschannon/events{/privacy}","received_events_url":"https://api.github.com/users/deniseschannon/received_events","type":"User","site_admin":false},"created_at":"2015-06-11T15:55:27Z","updated_at":"2015-06-11T15:55:27Z","body":"Instead of putting in \"MYSERVERIP\", you need to put in the actual IP of the Rancher server (i.e. 172.0.0.1) when you register the host.\r\n"}}