summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/v3_9/upgrade_control_plane.yml
diff options
context:
space:
mode:
authorMichael Gugino <mgugino@redhat.com>2018-01-23 16:27:29 -0500
committerMichael Gugino <mgugino@redhat.com>2018-01-23 16:27:29 -0500
commitd125aa5c0acaf7b6691253d4405cf55ae0119546 (patch)
tree409001137efeb2f091cd87d877ade1011e43915b /playbooks/common/openshift-cluster/upgrades/v3_9/upgrade_control_plane.yml
parentf738bf6bad477887fd7c718a788d27fa6348b121 (diff)
downloadopenshift-d125aa5c0acaf7b6691253d4405cf55ae0119546.tar.gz
openshift-d125aa5c0acaf7b6691253d4405cf55ae0119546.tar.bz2
openshift-d125aa5c0acaf7b6691253d4405cf55ae0119546.tar.xz
openshift-d125aa5c0acaf7b6691253d4405cf55ae0119546.zip
Protect master installed version during node upgrades
Master version is unprotected during all upgrades. During node-only upgrades, master version should remain protected to ensure correct image tag is set for node upgrades. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1536839
Diffstat (limited to 'playbooks/common/openshift-cluster/upgrades/v3_9/upgrade_control_plane.yml')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/v3_9/upgrade_control_plane.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/v3_9/upgrade_control_plane.yml b/playbooks/common/openshift-cluster/upgrades/v3_9/upgrade_control_plane.yml
index 0f48725f6..1dcc38def 100644
--- a/playbooks/common/openshift-cluster/upgrades/v3_9/upgrade_control_plane.yml
+++ b/playbooks/common/openshift-cluster/upgrades/v3_9/upgrade_control_plane.yml
@@ -41,6 +41,7 @@
l_upgrade_verify_targets_hosts: "oo_masters_to_config"
l_upgrade_docker_target_hosts: "oo_masters_to_config:oo_etcd_to_config"
l_upgrade_excluder_hosts: "oo_masters_to_config"
+ openshift_protect_installed_version: False
when: hostvars[groups.oo_first_master.0].openshift_currently_installed_version | version_compare('3.8','<')
- name: Flag pre-upgrade checks complete for hosts without errors 3.8
@@ -82,6 +83,7 @@
l_upgrade_verify_targets_hosts: "oo_masters_to_config"
l_upgrade_docker_target_hosts: "oo_masters_to_config:oo_etcd_to_config"
l_upgrade_excluder_hosts: "oo_masters_to_config"
+ openshift_protect_installed_version: False
- name: Flag pre-upgrade checks complete for hosts without errors
hosts: oo_masters_to_config:oo_etcd_to_config