diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-08-01 12:55:47 -0400 |
---|---|---|
committer | Scott Dodson <sdodson@redhat.com> | 2017-08-22 12:57:57 -0400 |
commit | 4b5d8d2dc25dbca20be59f3d5d111d737fd865bc (patch) | |
tree | b2707928f22b8a308ff8b110b2ce466e0a9b3c95 /roles/etcd_common/defaults | |
parent | b107f677a3563f6db9a1ef17fe10518d321d495c (diff) | |
download | openshift-4b5d8d2dc25dbca20be59f3d5d111d737fd865bc.tar.gz openshift-4b5d8d2dc25dbca20be59f3d5d111d737fd865bc.tar.bz2 openshift-4b5d8d2dc25dbca20be59f3d5d111d737fd865bc.tar.xz openshift-4b5d8d2dc25dbca20be59f3d5d111d737fd865bc.zip |
Switch to migrating one host and forming a new cluster
With large datasets where there are many keys with TTLs the expiry was
creating a data inconsistency problem. The hope is that by performing
the migration once and then forming a new cluster this is avoided.
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1475351
Diffstat (limited to 'roles/etcd_common/defaults')
-rw-r--r-- | roles/etcd_common/defaults/main.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/etcd_common/defaults/main.yml b/roles/etcd_common/defaults/main.yml index b1bfa4592..89993f7ea 100644 --- a/roles/etcd_common/defaults/main.yml +++ b/roles/etcd_common/defaults/main.yml @@ -63,3 +63,13 @@ etcd_client_port: 2379 etcd_peer_port: 2380 etcd_url_scheme: http etcd_peer_url_scheme: http + +etcd_initial_cluster_state: new +etcd_initial_cluster_token: etcd-cluster-1 + +etcd_initial_advertise_peer_urls: "{{ etcd_peer_url_scheme }}://{{ etcd_ip }}:{{ etcd_peer_port }}" +etcd_listen_peer_urls: "{{ etcd_peer_url_scheme }}://{{ etcd_ip }}:{{ etcd_peer_port }}" +etcd_advertise_client_urls: "{{ etcd_url_scheme }}://{{ etcd_ip }}:{{ etcd_client_port }}" +etcd_listen_client_urls: "{{ etcd_url_scheme }}://{{ etcd_ip }}:{{ etcd_client_port }}" + +etcd_systemd_dir: "/etc/systemd/system/{{ etcd_service }}.service.d" |