{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/machine-config-operator/issues/143","repository_url":"https://api.github.com/repos/openshift/machine-config-operator","labels_url":"https://api.github.com/repos/openshift/machine-config-operator/issues/143/labels{/name}","comments_url":"https://api.github.com/repos/openshift/machine-config-operator/issues/143/comments","events_url":"https://api.github.com/repos/openshift/machine-config-operator/issues/143/events","html_url":"https://github.com/openshift/machine-config-operator/pull/143","id":373114923,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1MTI1MjE4","number":143,"title":"etcd boostrapping using dns","user":{"login":"abhinavdahiya","id":3481311,"node_id":"MDQ6VXNlcjM0ODEzMTE=","avatar_url":"https://avatars2.githubusercontent.com/u/3481311?v=4","gravatar_id":"","url":"https://api.github.com/users/abhinavdahiya","html_url":"https://github.com/abhinavdahiya","followers_url":"https://api.github.com/users/abhinavdahiya/followers","following_url":"https://api.github.com/users/abhinavdahiya/following{/other_user}","gists_url":"https://api.github.com/users/abhinavdahiya/gists{/gist_id}","starred_url":"https://api.github.com/users/abhinavdahiya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhinavdahiya/subscriptions","organizations_url":"https://api.github.com/users/abhinavdahiya/orgs","repos_url":"https://api.github.com/users/abhinavdahiya/repos","events_url":"https://api.github.com/users/abhinavdahiya/events{/privacy}","received_events_url":"https://api.github.com/users/abhinavdahiya/received_events","type":"User","site_admin":false},"labels":[{"id":1005850192,"node_id":"MDU6TGFiZWwxMDA1ODUwMTky","url":"https://api.github.com/repos/openshift/machine-config-operator/labels/approved","name":"approved","color":"0ffa16","default":false},{"id":1005849393,"node_id":"MDU6TGFiZWwxMDA1ODQ5Mzkz","url":"https://api.github.com/repos/openshift/machine-config-operator/labels/lgtm","name":"lgtm","color":"15dd18","default":false},{"id":1005852353,"node_id":"MDU6TGFiZWwxMDA1ODUyMzUz","url":"https://api.github.com/repos/openshift/machine-config-operator/labels/size/XL","name":"size/XL","color":"ee5500","default":false}],"state":"open","locked":false,"assignee":{"login":"crawford","id":368848,"node_id":"MDQ6VXNlcjM2ODg0OA==","avatar_url":"https://avatars3.githubusercontent.com/u/368848?v=4","gravatar_id":"","url":"https://api.github.com/users/crawford","html_url":"https://github.com/crawford","followers_url":"https://api.github.com/users/crawford/followers","following_url":"https://api.github.com/users/crawford/following{/other_user}","gists_url":"https://api.github.com/users/crawford/gists{/gist_id}","starred_url":"https://api.github.com/users/crawford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crawford/subscriptions","organizations_url":"https://api.github.com/users/crawford/orgs","repos_url":"https://api.github.com/users/crawford/repos","events_url":"https://api.github.com/users/crawford/events{/privacy}","received_events_url":"https://api.github.com/users/crawford/received_events","type":"User","site_admin":false},"assignees":[{"login":"crawford","id":368848,"node_id":"MDQ6VXNlcjM2ODg0OA==","avatar_url":"https://avatars3.githubusercontent.com/u/368848?v=4","gravatar_id":"","url":"https://api.github.com/users/crawford","html_url":"https://github.com/crawford","followers_url":"https://api.github.com/users/crawford/followers","following_url":"https://api.github.com/users/crawford/following{/other_user}","gists_url":"https://api.github.com/users/crawford/gists{/gist_id}","starred_url":"https://api.github.com/users/crawford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crawford/subscriptions","organizations_url":"https://api.github.com/users/crawford/orgs","repos_url":"https://api.github.com/users/crawford/repos","events_url":"https://api.github.com/users/crawford/events{/privacy}","received_events_url":"https://api.github.com/users/crawford/received_events","type":"User","site_admin":false}],"milestone":null,"comments":10,"created_at":"2018-10-23T17:33:35Z","updated_at":"2018-10-27T03:08:06Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/openshift/machine-config-operator/pulls/143","html_url":"https://github.com/openshift/machine-config-operator/pull/143","diff_url":"https://github.com/openshift/machine-config-operator/pull/143.diff","patch_url":"https://github.com/openshift/machine-config-operator/pull/143.patch"},"body":"1. cmd: add setup-etcd-environment\r\n\r\nThis outputs an environment file with envs that allow etcd to discover its ip address\r\nand the corresponding dns name from the discovery-srv records.\r\n\r\nIt looks up the `_etcd-server-ssl._tcp.<domain specified by --discovery-srv>` for reverse lookup\r\nof its own dns name.\r\n\r\nAn example of such file is\r\n```console\r\n$ cat /etc/etcd.env/etcd-environment\r\nETCD_IPV4_ADDRESS=192.168.126.11\r\nETCD_DNS_NAME=adahiya-0-etcd-0.tt.testing\r\n```\r\nwhen the `--discovery-srv` was `tt.testing`\r\n```console\r\ndig +noall +answer _etcd-server-ssl._tcp.tt.testing SRV\r\n_etcd-server-ssl._tcp.tt.testing. 0 IN  SRV     0 10 2380 adahiya-0-etcd-0.tt.testing.\r\n```\r\n\r\nThe command retries reverse lookup until 5 minutes to allow for dns to be available.\r\n\r\n2.  templates: bootstrap etcd using dns discovery\r\n\r\nUsing the guide https://github.com/etcd-io/etcd/blob/master/Documentation/op-guide/clustering.md#dns-discovery\r\n\r\nAlso adds `setup-etcd-environment.service` that uses the setup-etcd-environment cli to setup the discovery params.\r\n\r\n3. cleanup across controller, server and operator to drop etcd index, etcd initial count.\r\n\r\nThis requires https://github.com/openshift/installer/pull/526"},"comment":{"url":"https://api.github.com/repos/openshift/machine-config-operator/issues/comments/433585967","html_url":"https://github.com/openshift/machine-config-operator/pull/143#issuecomment-433585967","issue_url":"https://api.github.com/repos/openshift/machine-config-operator/issues/143","id":433585967,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzU4NTk2Nw==","user":{"login":"openshift-merge-robot","id":30189218,"node_id":"MDQ6VXNlcjMwMTg5MjE4","avatar_url":"https://avatars0.githubusercontent.com/u/30189218?v=4","gravatar_id":"","url":"https://api.github.com/users/openshift-merge-robot","html_url":"https://github.com/openshift-merge-robot","followers_url":"https://api.github.com/users/openshift-merge-robot/followers","following_url":"https://api.github.com/users/openshift-merge-robot/following{/other_user}","gists_url":"https://api.github.com/users/openshift-merge-robot/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift-merge-robot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift-merge-robot/subscriptions","organizations_url":"https://api.github.com/users/openshift-merge-robot/orgs","repos_url":"https://api.github.com/users/openshift-merge-robot/repos","events_url":"https://api.github.com/users/openshift-merge-robot/events{/privacy}","received_events_url":"https://api.github.com/users/openshift-merge-robot/received_events","type":"User","site_admin":false},"created_at":"2018-10-27T03:08:06Z","updated_at":"2018-10-27T03:08:06Z","author_association":"CONTRIBUTOR","body":"/retest\n\nPlease review the [full test history](https://openshift-gce-devel.appspot.com/pr/openshift_machine-config-operator/143) for this PR and help us cut down flakes."}}
{"actor":{"display_login":"openshift-merge-robot"}}