From 333e3f0cd0e465f0df3d4463bec6ec640ae48464 Mon Sep 17 00:00:00 2001 From: Devan Goodwin Date: Fri, 9 Sep 2016 09:33:32 -0300 Subject: Flush handlers before marking a node schedulable after upgrade. Handlers normally only trigger at the end of the play, but in this case we just set our node schedulable again resulting in it immediately getting taken down again. --- playbooks/common/openshift-cluster/upgrades/upgrade.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'playbooks') diff --git a/playbooks/common/openshift-cluster/upgrades/upgrade.yml b/playbooks/common/openshift-cluster/upgrades/upgrade.yml index cb5103e3a..e8bf133e6 100644 --- a/playbooks/common/openshift-cluster/upgrades/upgrade.yml +++ b/playbooks/common/openshift-cluster/upgrades/upgrade.yml @@ -211,6 +211,8 @@ - include: containerized_node_upgrade.yml when: inventory_hostname in groups.oo_nodes_to_config and openshift.common.is_containerized | bool + - meta: flush_handlers + - name: Set node schedulability command: > {{ openshift.common.admin_binary }} manage-node {{ openshift.common.hostname | lower }} --schedulable=true -- cgit v1.2.3