Browse Source

disable excluders after all pre-checks

Jan Chaloupka 7 years ago
parent
commit
483208ca75

+ 4 - 4
playbooks/common/openshift-cluster/upgrades/v3_5/upgrade.yml

@@ -47,6 +47,10 @@
   tags:
   - pre_upgrade
 
+- include: ../pre/verify_control_plane_running.yml
+  tags:
+  - pre_upgrade
+
 - include: ../disable_master_excluders.yml
   tags:
   - pre_upgrade
@@ -71,10 +75,6 @@
     # docker is configured and running.
     skip_docker_role: True
 
-- include: ../pre/verify_control_plane_running.yml
-  tags:
-  - pre_upgrade
-
 - include: ../../../openshift-master/validate_restart.yml
   tags:
   - pre_upgrade

+ 8 - 8
playbooks/common/openshift-cluster/upgrades/v3_6/upgrade.yml

@@ -47,6 +47,14 @@
   tags:
   - pre_upgrade
 
+- include: ../pre/verify_health_checks.yml
+  tags:
+  - pre_upgrade
+
+- include: ../pre/verify_control_plane_running.yml
+  tags:
+  - pre_upgrade
+
 - include: ../disable_master_excluders.yml
   tags:
   - pre_upgrade
@@ -71,14 +79,6 @@
     # docker is configured and running.
     skip_docker_role: True
 
-- include: ../pre/verify_health_checks.yml
-  tags:
-  - pre_upgrade
-
-- include: ../pre/verify_control_plane_running.yml
-  tags:
-  - pre_upgrade
-
 - include: ../../../openshift-master/validate_restart.yml
   tags:
   - pre_upgrade

+ 8 - 8
playbooks/common/openshift-cluster/upgrades/v3_7/upgrade.yml

@@ -47,6 +47,14 @@
   tags:
   - pre_upgrade
 
+- include: ../pre/verify_health_checks.yml
+  tags:
+  - pre_upgrade
+
+- include: ../pre/verify_control_plane_running.yml
+  tags:
+  - pre_upgrade
+
 - include: ../disable_master_excluders.yml
   tags:
   - pre_upgrade
@@ -71,14 +79,6 @@
     # docker is configured and running.
     skip_docker_role: True
 
-- include: ../pre/verify_health_checks.yml
-  tags:
-  - pre_upgrade
-
-- include: ../pre/verify_control_plane_running.yml
-  tags:
-  - pre_upgrade
-
 - include: ../../../openshift-master/validate_restart.yml
   tags:
   - pre_upgrade