From 3c4f0f674393efc212434f8a3cb2820badeb0390 Mon Sep 17 00:00:00 2001 From: Manuel Buil Date: Mon, 8 Oct 2018 18:14:06 +0200 Subject: Fix idf for k8s deploy-scenario:k8-calico-nofeature installer-type:kubespray Change-Id: If1c9f5908f39f9c09efb86e27a3f3883b4cd75b9 Signed-off-by: Manuel Buil --- xci/installer/kubespray/deploy.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xci/installer/kubespray') diff --git a/xci/installer/kubespray/deploy.sh b/xci/installer/kubespray/deploy.sh index 98b1dcdb..48ef7456 100755 --- a/xci/installer/kubespray/deploy.sh +++ b/xci/installer/kubespray/deploy.sh @@ -69,14 +69,17 @@ if [ $XCI_FLAVOR != "aio" ]; then echo "Info: Configured target hosts for kubespray" fi + echo "Info: Using kubespray to deploy the kubernetes cluster" echo "-----------------------------------------------------------------------" ssh root@$OPNFV_HOST_IP "set -o pipefail; export XCI_FLAVOR=$XCI_FLAVOR; export INSTALLER_TYPE=$INSTALLER_TYPE; \ + export IDF=/root/releng-xci/xci/var/idf.yml; export PDF=/root/releng-xci/xci/var/pdf.yml; \ cd releng-xci/.cache/repos/kubespray/; ansible-playbook \ -i opnfv_inventory/dynamic_inventory.py cluster.yml -b | tee setup-kubernetes.log" scp root@$OPNFV_HOST_IP:~/releng-xci/.cache/repos/kubespray/setup-kubernetes.log \ $LOG_PATH/setup-kubernetes.log + cd $K8_XCI_PLAYBOOKS ansible-playbook ${XCI_ANSIBLE_PARAMS} \ -i ${XCI_PLAYBOOKS}/dynamic_inventory.py configure-kubenet.yml -- cgit 1.2.3-korg