diff options
author | Devan Goodwin <dgoodwin@redhat.com> | 2016-09-09 09:33:32 -0300 |
---|---|---|
committer | Devan Goodwin <dgoodwin@redhat.com> | 2016-09-09 09:33:32 -0300 |
commit | 333e3f0cd0e465f0df3d4463bec6ec640ae48464 (patch) | |
tree | 679044b0eff139ab21a37db93394e21aa0311792 | |
parent | 52eeaed447a97a85d0266036136ac611be13bbae (diff) | |
download | openshift-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.
-rw-r--r-- | playbooks/common/openshift-cluster/upgrades/upgrade.yml | 2 |
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 |