{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/openshift-ansible/issues/1267","labels_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/1267/labels{/name}","comments_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/1267/comments","events_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/1267/events","html_url":"https://github.com/openshift/openshift-ansible/issues/1267","id":128330588,"number":1267,"title":"etcd certs use first interface's ip by default","user":{"login":"goern","id":260331,"avatar_url":"https://avatars.githubusercontent.com/u/260331?v=3","gravatar_id":"","url":"https://api.github.com/users/goern","html_url":"https://github.com/goern","followers_url":"https://api.github.com/users/goern/followers","following_url":"https://api.github.com/users/goern/following{/other_user}","gists_url":"https://api.github.com/users/goern/gists{/gist_id}","starred_url":"https://api.github.com/users/goern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goern/subscriptions","organizations_url":"https://api.github.com/users/goern/orgs","repos_url":"https://api.github.com/users/goern/repos","events_url":"https://api.github.com/users/goern/events{/privacy}","received_events_url":"https://api.github.com/users/goern/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-23T14:10:29Z","updated_at":"2016-01-25T22:46:07Z","closed_at":null,"body":"On a host with two network interfaces, https://github.com/openshift/openshift-ansible/blob/master/roles/etcd_certificates/tasks/server.yml#L21 seem to use only the first IP. This may lead to problems if all traffic should go thru the second interface."},"comment":{"url":"https://api.github.com/repos/openshift/openshift-ansible/issues/comments/174707855","html_url":"https://github.com/openshift/openshift-ansible/issues/1267#issuecomment-174707855","issue_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/1267","id":174707855,"user":{"login":"detiber","id":915544,"avatar_url":"https://avatars.githubusercontent.com/u/915544?v=3","gravatar_id":"","url":"https://api.github.com/users/detiber","html_url":"https://github.com/detiber","followers_url":"https://api.github.com/users/detiber/followers","following_url":"https://api.github.com/users/detiber/following{/other_user}","gists_url":"https://api.github.com/users/detiber/gists{/gist_id}","starred_url":"https://api.github.com/users/detiber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/detiber/subscriptions","organizations_url":"https://api.github.com/users/detiber/orgs","repos_url":"https://api.github.com/users/detiber/repos","events_url":"https://api.github.com/users/detiber/events{/privacy}","received_events_url":"https://api.github.com/users/detiber/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T22:46:07Z","updated_at":"2016-01-25T22:46:07Z","body":"@goern indeed, we also do not make it easy to override the names used for the etcd certs. Ideally, we should be using the same openshift_ip and openshift_hostname variables as the other roles.\r\n\r\nI created https://trello.com/c/2tygIgBm/163-fix-etcd-hostname-ip-address-handling to address the issue."}}