{"action":"created","issue":{"url":"https://api.github.com/repos/rancher/rancher/issues/6611","repository_url":"https://api.github.com/repos/rancher/rancher","labels_url":"https://api.github.com/repos/rancher/rancher/issues/6611/labels{/name}","comments_url":"https://api.github.com/repos/rancher/rancher/issues/6611/comments","events_url":"https://api.github.com/repos/rancher/rancher/issues/6611/events","html_url":"https://github.com/rancher/rancher/issues/6611","id":189074331,"number":6611,"title":"Cannot setup Rancher HA v1.2.0-pre4-rc7","user":{"login":"jdel","id":1107511,"avatar_url":"https://avatars.githubusercontent.com/u/1107511?v=3","gravatar_id":"","url":"https://api.github.com/users/jdel","html_url":"https://github.com/jdel","followers_url":"https://api.github.com/users/jdel/followers","following_url":"https://api.github.com/users/jdel/following{/other_user}","gists_url":"https://api.github.com/users/jdel/gists{/gist_id}","starred_url":"https://api.github.com/users/jdel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdel/subscriptions","organizations_url":"https://api.github.com/users/jdel/orgs","repos_url":"https://api.github.com/users/jdel/repos","events_url":"https://api.github.com/users/jdel/events{/privacy}","received_events_url":"https://api.github.com/users/jdel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-14T10:15:17Z","updated_at":"2016-11-29T09:04:12Z","closed_at":"2016-11-29T09:04:12Z","body":"**Rancher Version:**\r\nrancher/server:v1.2.0-pre4-rc7\r\n\r\n**Docker Version:**\r\nDocker version 1.12.1, build 23cf638\r\n\r\n**OS and where are the hosts located? (cloud, bare metal, etc):**\r\nRancherOS v0.7.0-rc7\r\n\r\n**Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)**\r\nRancher HA with Galera Cluster\r\n\r\n**Environment Type: (Cattle/Kubernetes/Swarm/Mesos)**\r\nCattle\r\n\r\n**Steps to Reproduce:**\r\nCreate a galera cluster (3 nodes), setup Rancher HA\r\n\r\n**Results:** \r\n```bash\r\ntime=\"2016-11-14T10:05:31Z\" level=info msg=\"Waiting for server to be available\" component=cert\r\ntime=\"2016-11-14T10:05:31Z\" 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\r\n**Expected:**\r\nI expect Rancher HA to start\r\n\r\n\r\nTo clarify, I am setting up a sandbox environment to test Rancher 1.2 and Rancher OS 0.7.\r\nI setup everything with VirtualBox 5.1.4 on my Mac, installed RancherOS from iso with basic cloud-config as below:\r\n\r\n```yml\r\n#cloud-config\r\nssh_authorized_keys:\r\n  - ssh-rsa xxx\r\nhostname: rancher-server-01\r\nrancher:\r\n  network:\r\n    interfaces:\r\n      eth*:\r\n        dhcp: false\r\n      eth0:\r\n        address: 10.0.2.11/24\r\n        gateway: 10.0.2.2\r\n      eth1:\r\n        address: 192.168.99.11/24\r\n    dns:\r\n      nameservers:\r\n        - 192.168.99.21\r\n        - 192.168.99.22\r\n        - 192.168.99.23\r\n```\r\n\r\nMy virtual machines have two network interfaces, eth0 configured as NAT (to be able to do pulls), eth1 setup as host-only network for me to ssh to the machines.\r\n\r\nI have already tried adding CATTLE_AGENT_IP=172.17.0.2 in rancher-ha.sh but it seems to be completely ignored as it still tries to connect to 172.17.0.1\r\n\r\nI can provide more logs if required."},"comment":{"url":"https://api.github.com/repos/rancher/rancher/issues/comments/263514271","html_url":"https://github.com/rancher/rancher/issues/6611#issuecomment-263514271","issue_url":"https://api.github.com/repos/rancher/rancher/issues/6611","id":263514271,"user":{"login":"vincent99","id":753917,"avatar_url":"https://avatars.githubusercontent.com/u/753917?v=3","gravatar_id":"","url":"https://api.github.com/users/vincent99","html_url":"https://github.com/vincent99","followers_url":"https://api.github.com/users/vincent99/followers","following_url":"https://api.github.com/users/vincent99/following{/other_user}","gists_url":"https://api.github.com/users/vincent99/gists{/gist_id}","starred_url":"https://api.github.com/users/vincent99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincent99/subscriptions","organizations_url":"https://api.github.com/users/vincent99/orgs","repos_url":"https://api.github.com/users/vincent99/repos","events_url":"https://api.github.com/users/vincent99/events{/privacy}","received_events_url":"https://api.github.com/users/vincent99/received_events","type":"User","site_admin":false},"created_at":"2016-11-29T09:04:12Z","updated_at":"2016-11-29T09:04:12Z","body":"HA is completely revamped in newer RCs, please give it a try."}}
{"actor":{"display_login":"vincent99"}}