From 13c452caa0fd28ade49263984c3cb68923086d32 Mon Sep 17 00:00:00 2001 From: wutianwei Date: Thu, 10 May 2018 20:04:52 +0800 Subject: fix k8 aio flavor undefined variable 1. fix error that kube_require_packages is undefined 2. add "remote_user: root" in configure-kubenet.yml if don't add this, it will have issue to connect host. fatal: [opnfv]:UNREACHABLE! => {"changed": false, "msg": "Failed to connect to thehost via ssh: Permission denied (publickey,password).\r\n", "unreachable": true"} installer-type:kubespray deploy-scenario:k8-nosdn-nofeature Change-Id: Ia8d1980ad18375c0cff3a97b284b0f53d7539e23 Signed-off-by: wutianwei --- xci/installer/kubespray/playbooks/configure-kubenet.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'xci/installer/kubespray/playbooks/configure-kubenet.yml') diff --git a/xci/installer/kubespray/playbooks/configure-kubenet.yml b/xci/installer/kubespray/playbooks/configure-kubenet.yml index 1c3740b2..3b1cb013 100644 --- a/xci/installer/kubespray/playbooks/configure-kubenet.yml +++ b/xci/installer/kubespray/playbooks/configure-kubenet.yml @@ -13,6 +13,7 @@ # so cbr0 interfaces can talk to each other. - name: Prepare networking for kubenet hosts: k8s-cluster + remote_user: root gather_facts: True become: yes vars_files: -- cgit 1.2.3-korg