Ver Fonte

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.
Devan Goodwin há 8 anos atrás
pai
commit
333e3f0cd0
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      playbooks/common/openshift-cluster/upgrades/upgrade.yml

+ 2 - 0
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