From d08b71befd5685675a4bb54ba35b89ab3573261f Mon Sep 17 00:00:00 2001 From: Tal Gitelman Date: Tue, 21 Aug 2018 14:52:26 +0300 Subject: Import normative improvement add debug to 3_import_Normatives Change-Id: I23537f750a67d5278f98676651ac0c85c0f85e86 Issue-ID: SDC-557 Signed-off-by: Tal Gitelman --- .../cookbooks/sdc-catalog-be-setup/recipes/3_import_Normatives.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'catalog-be/sdc-backend-init') diff --git a/catalog-be/sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/recipes/3_import_Normatives.rb b/catalog-be/sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/recipes/3_import_Normatives.rb index a8d474b792..631ba5efba 100644 --- a/catalog-be/sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/recipes/3_import_Normatives.rb +++ b/catalog-be/sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/recipes/3_import_Normatives.rb @@ -26,11 +26,11 @@ bash "excuting-import_Normatives" do resources_len=`cat ${check_normative}| jq '.["resources"]|length'` mkdir -p /var/lib/jetty/logs if [ $resources_len -eq 0 ] ; then - python importONAPNormativeAll.py -i #{be_ip} > /var/lib/jetty/logs/importNormativeAll.log + python importONAPNormativeAll.py --debug=true -i #{be_ip} > /var/lib/jetty/logs/importNormativeAll.log rc=$? if [[ $rc != 0 ]]; then exit $rc; fi else - python upgradeONAPNormative.py -i #{be_ip} > /var/lib/jetty/logs/upgradeNormative.log + python upgradeONAPNormative.py --debug=true -i #{be_ip} > /var/lib/jetty/logs/upgradeNormative.log rc=$? if [[ $rc != 0 ]]; then exit $rc; fi fi -- cgit 1.2.3-korg