{"action":"created","issue":{"url":"https://api.github.com/repos/rancher/rancher/issues/872","labels_url":"https://api.github.com/repos/rancher/rancher/issues/872/labels{/name}","comments_url":"https://api.github.com/repos/rancher/rancher/issues/872/comments","events_url":"https://api.github.com/repos/rancher/rancher/issues/872/events","html_url":"https://github.com/rancher/rancher/issues/872","id":79068633,"number":872,"title":"Add custom host - No info about hosts on same machine as server","user":{"login":"enriquemorenotent","id":368842,"avatar_url":"https://avatars.githubusercontent.com/u/368842?v=3","gravatar_id":"","url":"https://api.github.com/users/enriquemorenotent","html_url":"https://github.com/enriquemorenotent","followers_url":"https://api.github.com/users/enriquemorenotent/followers","following_url":"https://api.github.com/users/enriquemorenotent/following{/other_user}","gists_url":"https://api.github.com/users/enriquemorenotent/gists{/gist_id}","starred_url":"https://api.github.com/users/enriquemorenotent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enriquemorenotent/subscriptions","organizations_url":"https://api.github.com/users/enriquemorenotent/orgs","repos_url":"https://api.github.com/users/enriquemorenotent/repos","events_url":"https://api.github.com/users/enriquemorenotent/events{/privacy}","received_events_url":"https://api.github.com/users/enriquemorenotent/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rancher/rancher/labels/area/documentation","name":"area/documentation","color":"FBCA04"},{"url":"https://api.github.com/repos/rancher/rancher/labels/area/host","name":"area/host","color":"FBCA04"},{"url":"https://api.github.com/repos/rancher/rancher/labels/area/ui","name":"area/ui","color":"FfeA44"},{"url":"https://api.github.com/repos/rancher/rancher/labels/kind/enhancement","name":"kind/enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-05-21T16:23:44Z","updated_at":"2015-07-22T03:12:44Z","closed_at":null,"body":"When someone tries to create a custom new host, you can see the instructions to run the agent, but it fails to explain that if the machine where the Host is created is the same one as the one where the server  container is running, an extra environment variable is needed:\r\n\r\n    -e CATTLE_AGENT_IP=<IP_OF_RANCHER_SERVER>"},"comment":{"url":"https://api.github.com/repos/rancher/rancher/issues/comments/123549974","html_url":"https://github.com/rancher/rancher/issues/872#issuecomment-123549974","issue_url":"https://api.github.com/repos/rancher/rancher/issues/872","id":123549974,"user":{"login":"loderunner84","id":13444963,"avatar_url":"https://avatars.githubusercontent.com/u/13444963?v=3","gravatar_id":"","url":"https://api.github.com/users/loderunner84","html_url":"https://github.com/loderunner84","followers_url":"https://api.github.com/users/loderunner84/followers","following_url":"https://api.github.com/users/loderunner84/following{/other_user}","gists_url":"https://api.github.com/users/loderunner84/gists{/gist_id}","starred_url":"https://api.github.com/users/loderunner84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loderunner84/subscriptions","organizations_url":"https://api.github.com/users/loderunner84/orgs","repos_url":"https://api.github.com/users/loderunner84/repos","events_url":"https://api.github.com/users/loderunner84/events{/privacy}","received_events_url":"https://api.github.com/users/loderunner84/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T03:12:44Z","updated_at":"2015-07-22T03:12:44Z","body":"time=\"2015-07-21T14:46:07Z\" level=\"info\" msg=\"Starting event router.\" \r\ntime=\"2015-07-21T14:46:07Z\" level=\"info\" msg=\"Watching state directory: /var/lib/rancher/state/containers\" \r\ntime=\"2015-07-21T14:46:07Z\" level=\"info\" msg=\"Processing event: &docker.APIEvents{Status:\\\"start\\\", ID:\\\"213814ca9481f73202a0ca8216125ce9586109164d542d09663e86a7ccd5a447\\\", From:\\\"-simulated-\\\", Time:0}\" \r\ntime=\"2015-07-21T14:46:07Z\" level=\"info\" msg=\"Processing event: &docker.APIEvents{Status:\\\"start\\\", ID:\\\"f50ebe8778c0551b26d4f9f2611a3d6b8cf027d052ed6b20d9c7880362d57af7\\\", From:\\\"-simulated-\\\", Time:0}\" \r\ntime=\"2015-07-21T14:46:07Z\" level=\"info\" msg=\"Processing event: &docker.APIEvents{Status:\\\"start\\\", ID:\\\"ce19d323d28523d19e51d3491f28c8e4a5fdeeb8347988961887147f8ede7bc7\\\", From:\\\"-simulated-\\\", Time:0}\" \r\ntime=\"2015-07-21T14:46:07Z\" level=\"info\" msg=\"Processing event: &docker.APIEvents{Status:\\\"start\\\", ID:\\\"ae2237e42a3ec1bb02d433b41a6a7d4ac6e91bb63f2912cb47e9f1ae76f3cf01\\\", From:\\\"-simulated-\\\", Time:0}\" \r\ntime=\"2015-07-21T14:46:07Z\" level=\"info\" msg=\"Processing event: &docker.APIEvents{Status:\\\"start\\\", ID:\\\"4b653df6a8a3f475fa01fa995a90d9d23af51c9474198fe46d78fe4ee0572de1\\\", From:\\\"-simulated-\\\", Time:0}\" \r\ntime=\"2015-07-21T14:46:07Z\" level=\"info\" msg=\"Connecting to proxy.\" url=\"ws://192.168.2.131:8085/v1/connectbackend?token=eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjE0Mzc0OTAyNjcsInN1YiI6ImNhdHRsZSIsImlzcyI6Imh0dHA6XC9cL2NhdHRsZS5pbyIsInJlcG9ydGVkVXVpZCI6ImJiYjY4MTdmLTBhMTgtNGJjNi1hNWFhLTRlNDA1MDI2ODgxZSIsImlhdCI6MTQzNzQ4OTk2Nywia2lkIjoiZGVmYXVsdCJ9.a_AkNtFQrgM2i8mGoigRpDPDaYp8zuNBZooeJOJDDDn2Y-Km8cACU_Bf4u1mmHBzEKJ2BEDR6IqMj3fNQMtQU70DHF6vAszovacEKdgj0z1PmBcjX9PaxYtr4Z9ketyCn13RgpkjZMEA5SZyqSgOOH7lmzf9tMrFPMRN0AyMojnBahW-n9yxczJUbjYKXUQLwOhOzdUvhjOcihYDYGfBmHaA5lHwKNA62Y2q3wcifnxZIyft4c-THcmBgOZ1vqrI2NWVvbVrOITlAoO6WrYUlAaPDc-7CADDQ3dCtgPBkwLNnjOBur_2FI7Lk9vSNWMKcCrG748L82QVc5jjs68OZQ\" \r\ntime=\"2015-07-21T14:46:07Z\" level=\"fatal\" msg=\"Failed to connect to proxy.\" error=\"websocket: bad handshake\"\r\nMay I fix it by myself? "}}