Sfoglia il codice sorgente

Merge pull request #5357 from juanvallejo/jvallejo/add-health-checks-upgrade-path

Automatic merge from submit-queue

add health checks 3_6,3_7 upgrade path

Related BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1483931

Adds health checks to `upgrade_control_plane` and `upgrade_nodes` in 3_6 and 3_7.

cc @sosiouxme @rhcarvalho @brenton
OpenShift Merge Robot 7 anni fa
parent
commit
5637b611ce

+ 4 - 0
playbooks/common/openshift-cluster/upgrades/v3_6/upgrade_control_plane.yml

@@ -75,6 +75,10 @@
     # 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

+ 4 - 0
playbooks/common/openshift-cluster/upgrades/v3_6/upgrade_nodes.yml

@@ -68,6 +68,10 @@
     # docker is configured and running.
     skip_docker_role: True
 
+- include: ../pre/verify_health_checks.yml
+  tags:
+  - pre_upgrade
+
 - name: Verify masters are already upgraded
   hosts: oo_masters_to_config
   tags:

+ 4 - 0
playbooks/common/openshift-cluster/upgrades/v3_7/upgrade_control_plane.yml

@@ -75,6 +75,10 @@
     # 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

+ 4 - 0
playbooks/common/openshift-cluster/upgrades/v3_7/upgrade_nodes.yml

@@ -68,6 +68,10 @@
     # docker is configured and running.
     skip_docker_role: True
 
+- include: ../pre/verify_health_checks.yml
+  tags:
+  - pre_upgrade
+
 - name: Verify masters are already upgraded
   hosts: oo_masters_to_config
   tags: