summaryrefslogtreecommitdiffstats
path: root/playbooks/byo/openshift-cluster/upgrades/v3_3/upgrade_control_plane.yml
diff options
context:
space:
mode:
authorDevan Goodwin <dgoodwin@redhat.com>2017-01-04 15:40:54 -0400
committerDevan Goodwin <dgoodwin@redhat.com>2017-01-18 10:40:21 -0400
commit1f7ff637a1e5413e2a8d8fe19ffb28b373243e6f (patch)
tree28d5061c3293fb4dc95f5929eadacfa9373e4282 /playbooks/byo/openshift-cluster/upgrades/v3_3/upgrade_control_plane.yml
parent7b512bf5fc36ee9ad2df65d8e129aa52c939d98e (diff)
downloadopenshift-1f7ff637a1e5413e2a8d8fe19ffb28b373243e6f.tar.gz
openshift-1f7ff637a1e5413e2a8d8fe19ffb28b373243e6f.tar.bz2
openshift-1f7ff637a1e5413e2a8d8fe19ffb28b373243e6f.tar.xz
openshift-1f7ff637a1e5413e2a8d8fe19ffb28b373243e6f.zip
Validate system restart policy during pre-upgrade.
This was done far into the process potentially leaving the user in a difficult situation if they had now considered they were running the upgrade playbook on a host that would be restarted. Instead check configuration and what host we're running on in pre-upgrade and allow the user to abort before making any substantial changes. This is a step towards merging master upgrade into one serial process.
Diffstat (limited to 'playbooks/byo/openshift-cluster/upgrades/v3_3/upgrade_control_plane.yml')
-rw-r--r--playbooks/byo/openshift-cluster/upgrades/v3_3/upgrade_control_plane.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/playbooks/byo/openshift-cluster/upgrades/v3_3/upgrade_control_plane.yml b/playbooks/byo/openshift-cluster/upgrades/v3_3/upgrade_control_plane.yml
index d6af71827..7717c95e4 100644
--- a/playbooks/byo/openshift-cluster/upgrades/v3_3/upgrade_control_plane.yml
+++ b/playbooks/byo/openshift-cluster/upgrades/v3_3/upgrade_control_plane.yml
@@ -71,6 +71,10 @@
tags:
- pre_upgrade
+- include: ../../../../common/openshift-master/validate_restart.yml
+ tags:
+ - pre_upgrade
+
- include: ../../../../common/openshift-cluster/upgrades/pre/verify_upgrade_targets.yml
tags:
- pre_upgrade