summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-etcd/embedded2external.yml
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-10-10 11:30:51 -0400
committerScott Dodson <sdodson@redhat.com>2017-10-10 11:30:51 -0400
commit49436b4222a10a53a90686a3b051b99b24f799f8 (patch)
treee8e33b0d3b282a52f9c75eb37f9d781d9289cde9 /playbooks/common/openshift-etcd/embedded2external.yml
parent43b7dcd79df91114d6b7cd9c9bf09a4254746f73 (diff)
downloadopenshift-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.yml24
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') }}"