From a28aa734265805d8bd7421e2f0b2ac1a7ad7dd8d Mon Sep 17 00:00:00 2001 From: denverwilliams Date: Sun, 11 Feb 2018 00:19:32 +0000 Subject: [PATCH] Update etcd to listen on 0.0.0.0, because we can no longer use dns-names see https://github.com/coreos/etcd/issues/6336 --- master-node1.yml | 2 +- master-node2.yml | 2 +- master-node3.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/master-node1.yml b/master-node1.yml index 0ff9776..8919f29 100644 --- a/master-node1.yml +++ b/master-node1.yml @@ -73,7 +73,7 @@ files: #supervisor=start-stop-daemon command=/usr/bin/etcd - command_args="--name master-node1 --discovery-srv goppa-internal.io --initial-advertise-peer-urls http://master-node1.goppa-internal.io:2380 --initial-cluster-token etcd-cluster-1 --initial-cluster-state new --advertise-client-urls http://master-node1.goppa-internal.io:2379 --listen-client-urls http://master-node1.goppa-internal.io:2379 --listen-peer-urls http://master-node1.goppa-internal.io:2380" + command_args="--name master-node1 --discovery-srv goppa-internal.io --initial-advertise-peer-urls http://master-node1.goppa-internal.io:2380 --initial-cluster-token etcd-cluster-1 --initial-cluster-state new --advertise-client-urls http://master-node1.goppa-internal.io:2379 --listen-client-urls http://0.0.0.0:2379 --listen-peer-urls http://0.0.0.0:2380" command_background="true" start_stop_daemon_args="--stdout /var/log/etcd/${RC_SVCNAME}.log --stderr /var/log/etcd/${RC_SVCNAME}.log" depend() { diff --git a/master-node2.yml b/master-node2.yml index 1eb48be..7d67937 100644 --- a/master-node2.yml +++ b/master-node2.yml @@ -73,7 +73,7 @@ files: #supervisor=start-stop-daemon command=/usr/bin/etcd - command_args="--name master-node2 --discovery-srv goppa-internal.io --initial-advertise-peer-urls http://master-node2.goppa-internal.io:2380 --initial-cluster-token etcd-cluster-1 --initial-cluster-state new --advertise-client-urls http://master-node2.goppa-internal.io:2379 --listen-client-urls http://master-node2.goppa-internal.io:2379 --listen-peer-urls http://master-node2.goppa-internal.io:2380" + command_args="--name master-node2 --discovery-srv goppa-internal.io --initial-advertise-peer-urls http://master-node2.goppa-internal.io:2380 --initial-cluster-token etcd-cluster-1 --initial-cluster-state new --advertise-client-urls http://master-node2.goppa-internal.io:2379 --listen-client-urls http://0.0.0.0:2379 --listen-peer-urls http://0.0.0.0:2380" command_background="true" start_stop_daemon_args="--stdout /var/log/etcd/${RC_SVCNAME}.log --stderr /var/log/etcd/${RC_SVCNAME}.log" depend() { diff --git a/master-node3.yml b/master-node3.yml index 9645c16..a993fe5 100644 --- a/master-node3.yml +++ b/master-node3.yml @@ -73,7 +73,7 @@ files: #supervisor=start-stop-daemon command=/usr/bin/etcd - command_args="--name master-node3 --discovery-srv goppa-internal.io --initial-advertise-peer-urls http://master-node3.goppa-internal.io:2380 --initial-cluster-token etcd-cluster-1 --initial-cluster-state new --advertise-client-urls http://master-node3.goppa-internal.io:2379 --listen-client-urls http://master-node3.goppa-internal.io:2379 --listen-peer-urls http://master-node3.goppa-internal.io:2380" + command_args="--name master-node3 --discovery-srv goppa-internal.io --initial-advertise-peer-urls http://master-node3.goppa-internal.io:2380 --initial-cluster-token etcd-cluster-1 --initial-cluster-state new --advertise-client-urls http://master-node3.goppa-internal.io:2379 --listen-client-urls http://0.0.0.0:2379 --listen-peer-urls http://0.0.0.0:2380" command_background="true" start_stop_daemon_args="--stdout /var/log/etcd/${RC_SVCNAME}.log --stderr /var/log/etcd/${RC_SVCNAME}.log" depend() {