{"action":"created","issue":{"url":"https://api.github.com/repos/rancher/rancher/issues/4459","repository_url":"https://api.github.com/repos/rancher/rancher","labels_url":"https://api.github.com/repos/rancher/rancher/issues/4459/labels{/name}","comments_url":"https://api.github.com/repos/rancher/rancher/issues/4459/comments","events_url":"https://api.github.com/repos/rancher/rancher/issues/4459/events","html_url":"https://github.com/rancher/rancher/issues/4459","id":149391087,"number":4459,"title":"Not able to set up rancher v1.0.1 in HA","user":{"login":"epierotto","id":5226270,"avatar_url":"https://avatars.githubusercontent.com/u/5226270?v=3","gravatar_id":"","url":"https://api.github.com/users/epierotto","html_url":"https://github.com/epierotto","followers_url":"https://api.github.com/users/epierotto/followers","following_url":"https://api.github.com/users/epierotto/following{/other_user}","gists_url":"https://api.github.com/users/epierotto/gists{/gist_id}","starred_url":"https://api.github.com/users/epierotto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epierotto/subscriptions","organizations_url":"https://api.github.com/users/epierotto/orgs","repos_url":"https://api.github.com/users/epierotto/repos","events_url":"https://api.github.com/users/epierotto/events{/privacy}","received_events_url":"https://api.github.com/users/epierotto/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rancher/rancher/labels/kind/question","name":"kind/question","color":"dddddd"}],"state":"closed","locked":false,"assignee":{"login":"LLParse","id":6145659,"avatar_url":"https://avatars.githubusercontent.com/u/6145659?v=3","gravatar_id":"","url":"https://api.github.com/users/LLParse","html_url":"https://github.com/LLParse","followers_url":"https://api.github.com/users/LLParse/followers","following_url":"https://api.github.com/users/LLParse/following{/other_user}","gists_url":"https://api.github.com/users/LLParse/gists{/gist_id}","starred_url":"https://api.github.com/users/LLParse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LLParse/subscriptions","organizations_url":"https://api.github.com/users/LLParse/orgs","repos_url":"https://api.github.com/users/LLParse/repos","events_url":"https://api.github.com/users/LLParse/events{/privacy}","received_events_url":"https://api.github.com/users/LLParse/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/rancher/rancher/milestones/65","html_url":"https://github.com/rancher/rancher/milestones/Release%201.1.0-dev2","labels_url":"https://api.github.com/repos/rancher/rancher/milestones/65/labels","id":1723398,"number":65,"title":"Release 1.1.0-dev2","description":"","creator":{"login":"will-chan","id":10134676,"avatar_url":"https://avatars.githubusercontent.com/u/10134676?v=3","gravatar_id":"","url":"https://api.github.com/users/will-chan","html_url":"https://github.com/will-chan","followers_url":"https://api.github.com/users/will-chan/followers","following_url":"https://api.github.com/users/will-chan/following{/other_user}","gists_url":"https://api.github.com/users/will-chan/gists{/gist_id}","starred_url":"https://api.github.com/users/will-chan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/will-chan/subscriptions","organizations_url":"https://api.github.com/users/will-chan/orgs","repos_url":"https://api.github.com/users/will-chan/repos","events_url":"https://api.github.com/users/will-chan/events{/privacy}","received_events_url":"https://api.github.com/users/will-chan/received_events","type":"User","site_admin":false},"open_issues":71,"closed_issues":4,"state":"open","created_at":"2016-04-21T17:40:57Z","updated_at":"2016-05-05T20:33:37Z","due_on":"2016-05-11T07:00:00Z","closed_at":null},"comments":19,"created_at":"2016-04-19T08:47:10Z","updated_at":"2016-05-05T20:33:37Z","closed_at":"2016-05-05T20:33:37Z","body":"Rancher Version: v1.0.1\r\n\r\nDocker Version:\r\nClient:\r\n Version:      1.11.0\r\n API version:  1.23\r\n Go version:   go1.5.4\r\n Git commit:   4dc5990\r\n Built:        Wed Apr 13 18:34:23 2016\r\n OS/Arch:      linux/amd64\r\n\r\nServer:\r\n Version:      1.11.0\r\n API version:  1.23\r\n Go version:   go1.5.4\r\n Git commit:   4dc5990\r\n Built:        Wed Apr 13 18:34:23 2016\r\n OS/Arch:      linux/amd64\r\n\r\nOS: Ubuntu 14.04.3 LTS\r\n\r\nSteps to Reproduce: \r\nSpin up 3 \"Ubuntu 14.04.3 LTS\" vagrant nodes and follow the instructions at http://docs.rancher.com/rancher/installing-rancher/installing-server/multi-nodes/\r\n\r\n**vagrant n1:**\r\nCONTAINER ID        IMAGE                   COMMAND                  CREATED             STATUS              PORTS                              NAMES\r\n5180ac779398        rancher/server:v1.0.1   \"/usr/bin/s6-svscan /\"   41 minutes ago      Up 40 minutes       3306/tcp, 0.0.0.0:8080->8080/tcp   rancher-server\r\nf4181fb53c49        percona:5.7.11          \"/docker-entrypoint.s\"   41 minutes ago      Up 41 minutes       0.0.0.0:3306->3306/tcp             rancher-db\r\n\r\nmysql> use cattle;\r\nReading table information for completion of table and column names\r\nYou can turn off this feature to get a quicker startup with -A\r\n\r\nDatabase changed\r\nmysql> select * from DATABASECHANGELOGLOCK;\r\n+----+--------+-------------+----------+\r\n| ID | LOCKED | LOCKGRANTED | LOCKEDBY |\r\n+----+--------+-------------+----------+\r\n|  1 |        | NULL        | NULL     |\r\n+----+--------+-------------+----------+\r\n1 row in set (0.00 sec)\r\n\r\n**vagrant n2:**\r\nUsing rancher-ha.sh script\r\nroot@n2:~# docker logs --tail=0 -f rancher-ha\r\ntime=\"2016-04-19T08:21:50Z\" level=info msg=\"Waiting for server to be available\" component=cert \r\ntime=\"2016-04-19T08:21:50Z\" level=info msg=\"Can not launch agent right now: Server not available at http://172.17.0.1:18080/ping:\" component=service \r\n\r\n**vagrant n3:**\r\nUsing rancher-ha.sh script\r\nSame as n2\r\nroot@n3:~# docker logs --tail=0 -f rancher-ha\r\ntime=\"2016-04-19T08:40:27Z\" level=info msg=\"Waiting for server to be available\" component=cert \r\ntime=\"2016-04-19T08:40:27Z\" level=info msg=\"Can not launch agent right now: Server not available at http://172.17.0.1:18080/ping:\" component=service \r\n\r\nResults: \r\nRancher -> Admin -> HA: Waiting for a host...\r\n\r\n\r\nExpected: A running cluster"},"comment":{"url":"https://api.github.com/repos/rancher/rancher/issues/comments/217269960","html_url":"https://github.com/rancher/rancher/issues/4459#issuecomment-217269960","issue_url":"https://api.github.com/repos/rancher/rancher/issues/4459","id":217269960,"user":{"login":"epierotto","id":5226270,"avatar_url":"https://avatars.githubusercontent.com/u/5226270?v=3","gravatar_id":"","url":"https://api.github.com/users/epierotto","html_url":"https://github.com/epierotto","followers_url":"https://api.github.com/users/epierotto/followers","following_url":"https://api.github.com/users/epierotto/following{/other_user}","gists_url":"https://api.github.com/users/epierotto/gists{/gist_id}","starred_url":"https://api.github.com/users/epierotto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epierotto/subscriptions","organizations_url":"https://api.github.com/users/epierotto/orgs","repos_url":"https://api.github.com/users/epierotto/repos","events_url":"https://api.github.com/users/epierotto/events{/privacy}","received_events_url":"https://api.github.com/users/epierotto/received_events","type":"User","site_admin":false},"created_at":"2016-05-05T20:33:37Z","updated_at":"2016-05-05T20:33:37Z","body":"@ibuildthecloud @LLParse It worked thanks!! \r\nThe env CATTLE_AGENT_IP on the rancher-ha.sh script works perfect!!\r\n\r\n```\r\ntime=\"2016-05-05T19:42:49Z\" level=info msg=\"Cluster changed, index=1, members=[172.20.20.10, 172.20.20.12, 172.20.20.11]\" component=service\r\n```\r\n![screenshot from 2016-05-05 21-19-46](https://cloud.githubusercontent.com/assets/5226270/15055965/3d316cfa-1307-11e6-94b8-9320fe3a7922.png)\r\n\r\nWould be nice to add some lines about it on the rancher docs.\r\n"}}