summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml
diff options
context:
space:
mode:
authorMichael Gugino <mgugino@redhat.com>2017-10-10 13:10:23 -0400
committerMichael Gugino <mgugino@redhat.com>2017-10-11 11:45:04 -0400
commitbb1d5f45255d60a88a3220ea7e7b724a073465b1 (patch)
tree7917fefb2a817c3f5446c8c6f8d489526651ee1c /playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml
parentc38f63cc4a7e8cf2942e5bc83ee92fbea7aa59fe (diff)
downloadopenshift-bb1d5f45255d60a88a3220ea7e7b724a073465b1.tar.gz
openshift-bb1d5f45255d60a88a3220ea7e7b724a073465b1.tar.bz2
openshift-bb1d5f45255d60a88a3220ea7e7b724a073465b1.tar.xz
openshift-bb1d5f45255d60a88a3220ea7e7b724a073465b1.zip
Fix broken debug_level
Currently, debug_level is documented as a way to change the debug output level for both masters and nodes. debug_level does not currently have any effect. This commit removes debug_level from openshift_facts and properly sets openshift_master_debug_level and openshift_node_debug_level to the value of debug_level specified in the inventory. This commit also reorganizes some set_fact tasks needed during master upgrades to put all work-around set-facts for undefined variables in one place, allowing for easier cleanup in the future. This includes an entry for openshift_master_debug_level. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1500164
Diffstat (limited to 'playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml1
1 files changed, 0 insertions, 1 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml b/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml
index 797e21bc3..c37a5f9ab 100644
--- a/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml
+++ b/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml
@@ -31,7 +31,6 @@
role: master
local_facts:
embedded_etcd: "{{ groups.oo_etcd_to_config | default([]) | length == 0 }}"
- debug_level: "{{ openshift_master_debug_level | default(openshift.common.debug_level | default(2)) }}"
- name: Upgrade and backup etcd
include: ./etcd/main.yml