From 5b73851774e290e470e471f29c01db387e1980ce Mon Sep 17 00:00:00 2001 From: jkaurredhat Date: Thu, 13 Jul 2017 13:36:08 +0530 Subject: Upgrade fails when "Drain Node for Kubelet upgrade" Fixes : https://bugzilla.redhat.com/show_bug.cgi?id=1468572 Signed-off-by: jkaurredhat --- playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'playbooks/common/openshift-cluster') 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: -- cgit v1.2.3