summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorDevan Goodwin <dgoodwin@redhat.com>2016-09-09 09:33:32 -0300
committerDevan Goodwin <dgoodwin@redhat.com>2016-09-09 09:33:32 -0300
commit333e3f0cd0e465f0df3d4463bec6ec640ae48464 (patch)
tree679044b0eff139ab21a37db93394e21aa0311792 /playbooks
parent52eeaed447a97a85d0266036136ac611be13bbae (diff)
downloadopenshift-333e3f0cd0e465f0df3d4463bec6ec640ae48464.tar.gz
openshift-333e3f0cd0e465f0df3d4463bec6ec640ae48464.tar.bz2
openshift-333e3f0cd0e465f0df3d4463bec6ec640ae48464.tar.xz
openshift-333e3f0cd0e465f0df3d4463bec6ec640ae48464.zip
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.
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/upgrade.yml2
1 files changed, 2 insertions, 0 deletions
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