summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades
diff options
context:
space:
mode:
authorjkaurredhat <jkaur@redhat.com>2017-07-13 13:36:08 +0530
committerjkaurredhat <jkaur@redhat.com>2017-07-13 13:36:08 +0530
commit5b73851774e290e470e471f29c01db387e1980ce (patch)
treefe1545087318d17f80626bb5e54e0123f851f9f8 /playbooks/common/openshift-cluster/upgrades
parent12654fbe2ff56e7ba9eab61554f86a4164052a18 (diff)
downloadopenshift-5b73851774e290e470e471f29c01db387e1980ce.tar.gz
openshift-5b73851774e290e470e471f29c01db387e1980ce.tar.bz2
openshift-5b73851774e290e470e471f29c01db387e1980ce.tar.xz
openshift-5b73851774e290e470e471f29c01db387e1980ce.zip
Upgrade fails when "Drain Node for Kubelet upgrade"
Fixes : https://bugzilla.redhat.com/show_bug.cgi?id=1468572 Signed-off-by: jkaurredhat <jkaur@redhat.com>
Diffstat (limited to 'playbooks/common/openshift-cluster/upgrades')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml2
1 files changed, 1 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 227fbf60a..e1f3ae78f 100644
--- a/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml
+++ b/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml
@@ -294,7 +294,7 @@
- name: Drain Node for Kubelet upgrade
command: >
- {{ hostvars[groups.oo_first_master.0].openshift.common.admin_binary }} drain {{ openshift.node.nodename | lower }} --force --delete-local-data --ignore-daemonsets
+ {{ hostvars[groups.oo_first_master.0].openshift.common.admin_binary }} drain {{ openshift.node.nodename | lower }} --config={{ openshift.common.config_base }}/master/admin.kubeconfig --force --delete-local-data --ignore-daemonsets
delegate_to: "{{ groups.oo_first_master.0 }}"
roles: