From e86b8430b6da9f633b53f7b2dce328f6ccb77a75 Mon Sep 17 00:00:00 2001 From: Devan Goodwin Date: Wed, 19 Oct 2016 15:57:39 -0300 Subject: Drop pacemaker restart logic. Pacemaker clusters are no longer supported, and in some cases bugs here were causing upgrade failures. --- .../openshift-master/restart_hosts_pacemaker.yml | 25 ---------------------- 1 file changed, 25 deletions(-) delete mode 100644 playbooks/common/openshift-master/restart_hosts_pacemaker.yml (limited to 'playbooks/common/openshift-master/restart_hosts_pacemaker.yml') diff --git a/playbooks/common/openshift-master/restart_hosts_pacemaker.yml b/playbooks/common/openshift-master/restart_hosts_pacemaker.yml deleted file mode 100644 index c9219e8de..000000000 --- a/playbooks/common/openshift-master/restart_hosts_pacemaker.yml +++ /dev/null @@ -1,25 +0,0 @@ -- name: Fail over master resource - command: > - pcs resource move master {{ hostvars | oo_select_keys(groups['oo_masters_to_config']) | oo_collect('openshift.common.hostname', {'is_active': 'False'}) | list | first }} -- name: Wait for master API to come back online - become: no - local_action: - module: wait_for - host="{{ openshift.master.cluster_hostname }}" - state=started - delay=10 - port="{{ openshift.master.api_port }}" -- name: Restart master system - # https://github.com/ansible/ansible/issues/10616 - shell: sleep 2 && shutdown -r now "OpenShift Ansible master rolling restart" - async: 1 - poll: 0 - ignore_errors: true - become: yes -- name: Wait for master to start - become: no - local_action: - module: wait_for - host="{{ inventory_hostname }}" - state=started - delay=10 -- cgit v1.2.3