diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-10-10 11:30:51 -0400 |
---|---|---|
committer | Scott Dodson <sdodson@redhat.com> | 2017-10-10 11:30:51 -0400 |
commit | 49436b4222a10a53a90686a3b051b99b24f799f8 (patch) | |
tree | e8e33b0d3b282a52f9c75eb37f9d781d9289cde9 /playbooks/common/openshift-etcd/embedded2external.yml | |
parent | 43b7dcd79df91114d6b7cd9c9bf09a4254746f73 (diff) | |
download | openshift-49436b4222a10a53a90686a3b051b99b24f799f8.tar.gz openshift-49436b4222a10a53a90686a3b051b99b24f799f8.tar.bz2 openshift-49436b4222a10a53a90686a3b051b99b24f799f8.tar.xz openshift-49436b4222a10a53a90686a3b051b99b24f799f8.zip |
Remove etcd health check
Diffstat (limited to 'playbooks/common/openshift-etcd/embedded2external.yml')
-rw-r--r-- | playbooks/common/openshift-etcd/embedded2external.yml | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/playbooks/common/openshift-etcd/embedded2external.yml b/playbooks/common/openshift-etcd/embedded2external.yml index bd1139c7b..9264f3c32 100644 --- a/playbooks/common/openshift-etcd/embedded2external.yml +++ b/playbooks/common/openshift-etcd/embedded2external.yml @@ -11,32 +11,16 @@ that: groups.oo_masters_to_config | default([]) | length == 1 msg: "[master] group must contain only one host" -# Check the etcd cluster and master are running and healthy -- name: Check master and embedded etcd are healthy - hosts: oo_first_master - tasks: - - name: Check the embedded etcd is healthy - include_role: - name: etcd - tasks_from: check_cluster_health - vars: - r_etcd_common_etcd_runtime: "{{ openshift.common.etcd_runtime }}" - r_etcd_common_backup_tag: pre-migrate - r_etcd_common_backup_sufix_name: "{{ hostvars[groups.oo_first_master.0].embedded_etcd_backup_suffix }}" - etcd_peer: "{{ openshift.common.ip }}" - etcd_url_scheme: "https" - etcd_peer_url_scheme: "https" - - name: Check the master API is ready - include_role: - name: openshift_master - tasks_from: check_master_api_is_ready - # 1. stop a master - name: Prepare masters for etcd data migration hosts: oo_first_master roles: - role: openshift_facts tasks: + - name: Check the master API is ready + include_role: + name: openshift_master + tasks_from: check_master_api_is_ready - set_fact: master_service: "{{ openshift.common.service_type + '-master' }}" embedded_etcd_backup_suffix: "{{ lookup('pipe', 'date +%Y%m%d%H%M%S') }}" |