diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-08-30 08:30:34 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-30 08:30:34 -0400 |
commit | 9c3d1e0f8eb246c5e9a25f33af13ce01fec9024f (patch) | |
tree | 2c1bca01ed2ac0b6f3c0456e8114fad3c5fe434d /playbooks/common | |
parent | 6598350bc87d74a0b330cfdffc3ef956d96c7987 (diff) | |
parent | fbe3e47283e4ffc5966f707531dad00966803061 (diff) | |
download | openshift-9c3d1e0f8eb246c5e9a25f33af13ce01fec9024f.tar.gz openshift-9c3d1e0f8eb246c5e9a25f33af13ce01fec9024f.tar.bz2 openshift-9c3d1e0f8eb246c5e9a25f33af13ce01fec9024f.tar.xz openshift-9c3d1e0f8eb246c5e9a25f33af13ce01fec9024f.zip |
Merge pull request #5229 from sdodson/fix-containerized-etcdv3-migration
Fix scaleup on containerized installations
Diffstat (limited to 'playbooks/common')
-rw-r--r-- | playbooks/common/openshift-etcd/scaleup.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/playbooks/common/openshift-etcd/scaleup.yml b/playbooks/common/openshift-etcd/scaleup.yml index 52b90daca..a5567dc62 100644 --- a/playbooks/common/openshift-etcd/scaleup.yml +++ b/playbooks/common/openshift-etcd/scaleup.yml @@ -34,7 +34,7 @@ etcd_ca_host: "{{ groups.oo_etcd_to_config.0 }}" etcd_certificates_etcd_hosts: "{{ groups.oo_etcd_to_config | default([], true) }}" etcd_initial_cluster_state: "existing" - initial_etcd_cluster: "{{ etcd_add_check.stdout_lines[3] | regex_replace('ETCD_INITIAL_CLUSTER=','') }}" + initial_etcd_cluster: "{{ etcd_add_check.stdout_lines[3] | regex_replace('ETCD_INITIAL_CLUSTER=','') | regex_replace('\"','') }}" etcd_ca_setup: False r_etcd_common_etcd_runtime: "{{ openshift.common.etcd_runtime }}" - role: nickhammond.logrotate @@ -47,5 +47,7 @@ --ca-file {{ etcd_peer_ca_file }} -C {{ etcd_peer_url_scheme }}://{{ hostvars[etcd_ca_host].etcd_hostname }}:{{ etcd_client_port }} cluster-health - retries: 1 + register: scaleup_health + retries: 3 delay: 30 + until: scaleup_health.rc == 0 |