summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2016-11-30 11:50:49 -0500
committerJason DeTiberus <jdetiber@redhat.com>2016-12-06 22:51:19 -0500
commit888c342174d2d6b7a51e97848c35b1e406106a66 (patch)
treee504dbdd8fa3efd3ee2155fc3e298b6aa6c22b4d /playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml
parent5b307c8266842534585b9d78e7e0b32dfbce540a (diff)
downloadopenshift-888c342174d2d6b7a51e97848c35b1e406106a66.tar.gz
openshift-888c342174d2d6b7a51e97848c35b1e406106a66.tar.bz2
openshift-888c342174d2d6b7a51e97848c35b1e406106a66.tar.xz
openshift-888c342174d2d6b7a51e97848c35b1e406106a66.zip
Handle updating of scheduler config during upgrade
- do not upgrade predicates if openshift_master_scheduler_predicates is defined - do not upgrade priorities if openshift_master_scheduler_priorities is defined - do not upgrade predicates/priorities unless they match known previous default configs - output WARNING to user if predictes/priorities are not updated during install
Diffstat (limited to 'playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml b/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml
index 9035b4d1d..f74ea9820 100644
--- a/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml
+++ b/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml
@@ -33,9 +33,6 @@
- name: Upgrade master packages
hosts: oo_masters_to_config
- handlers:
- - include: ../../../../roles/openshift_master/handlers/main.yml
- static: yes
roles:
- openshift_facts
tasks:
@@ -64,6 +61,8 @@
- openshift_facts
- openshift_master_facts
tasks:
+ - include: upgrade_scheduler.yml
+
- include: "{{ master_config_hook }}"
when: master_config_hook is defined