Sfoglia il codice sorgente

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 8 anni fa
parent
commit
333e3f0cd0
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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