From 5864692345fe35db4ced3b208dbbc2b143525259 Mon Sep 17 00:00:00 2001 From: Rihab Banday Date: Fri, 21 Aug 2020 15:03:34 +0200 Subject: Fix PyYAML error caused by net-attach-defs-create role in BMRA This change modifies net-attach-defs-create role to fix PyYAML errors discovered during installation of openshift package on remote nodes. Change-Id: I45d9fef77942b8bec0bfc5fb50d8be53c96adb75 Signed-off-by: Rihab Banday Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/70839 Tested-by: jenkins-ci Reviewed-by: Georg Kunz --- functions.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/functions.sh b/functions.sh index d246ace..47c8536 100755 --- a/functions.sh +++ b/functions.sh @@ -152,6 +152,9 @@ fi if [ ! -d "${PROJECT_ROOT}/container-experience-kits" ]; then git clone --recurse-submodules --depth 1 https://github.com/intel/container-experience-kits.git -b v1.4.1 ${PROJECT_ROOT}/container-experience-kits/ cp -r ${PROJECT_ROOT}/container-experience-kits/examples/group_vars examples/host_vars ${PROJECT_ROOT}/container-experience-kits/ +#TODO Remove this once the reported issue is fixed in the next BMRA Release + sed -i '/\openshift/a \ extra_args: --ignore-installed PyYAML' \ + ${PROJECT_ROOT}/container-experience-kits/roles/net-attach-defs-create/tasks/main.yml fi cp ${PROJECT_ROOT}/${INSTALLER}/inventory.ini \ ${PROJECT_ROOT}/container-experience-kits/ -- cgit 1.2.3-korg