If you do a deploy/undeploy you need to make sure to remove the sdc keystores from the shared cassandra before the re-deploy.
root@dev-cassandra-cassandra-0:/# cqlsh -u cassandra -p cassandra Connected to cassandra at 127.0.0.1:9042. [cqlsh 5.0.1 | Cassandra 2.2.14 | CQL spec 3.3.1 | Native protocol v4] Use HELP for help. cassandra@cqlsh> describe keyspaces; sdccomponent system_auth sdcaudit system_distributed sdctitan workflow system dox system_traces sdcrepository zusammen_dox aaigraph sdcartifact zusammen_workflow csqlsh delete keystore sdccomponent; etc for each keystore that starts with “sdc..” Brian From: MALINCONICO ANIELLO PAOLO <[email protected]> Sent: Tuesday, May 28, 2019 10:38 AM To: FREEMAN, BRIAN D <[email protected]>; [email protected] Subject: Re: [onap-discuss] SDC-BE 1.4.0 issue Hi Brian, here the situation after about 45+ minutes: dev-sdc-sdc-be-74b5b4d897-lmb8f 2/2 Running 1 46m dev-sdc-sdc-be-config-backend-6nx68 0/1 Error 0 33m dev-sdc-sdc-be-config-backend-7grdw 0/1 Error 0 8m8s dev-sdc-sdc-be-config-backend-7xmrq 0/1 Error 0 20m dev-sdc-sdc-be-config-backend-fml5f 0/1 Error 0 33m dev-sdc-sdc-be-config-backend-gt8sd 0/1 Error 0 31m dev-sdc-sdc-be-config-backend-kb9bk 0/1 Error 0 5m45s dev-sdc-sdc-be-config-backend-nq9gn 0/1 Error 0 46m dev-sdc-sdc-be-config-backend-sl29b 0/1 Error 0 26m dev-sdc-sdc-be-config-backend-w9nhf 0/1 Error 0 35m dev-sdc-sdc-be-config-backend-z9n47 0/1 Error 0 3m27s dev-sdc-sdc-be-config-backend-zb27g 0/1 Error 0 34m dev-sdc-sdc-cs-config-cassandra-7zp5z 0/1 Completed 0 46m dev-sdc-sdc-dcae-be-87bc44ccb-dt7xs 0/2 Init:1/2 3 46m dev-sdc-sdc-dcae-be-tools-2vx7f 0/1 Init:0/1 0 5m13s dev-sdc-sdc-dcae-be-tools-j8q9b 0/1 Init:Error 0 46m dev-sdc-sdc-dcae-be-tools-jqq72 0/1 Init:Error 0 25m dev-sdc-sdc-dcae-be-tools-mxkkm 0/1 Init:Error 0 36m dev-sdc-sdc-dcae-be-tools-prb5c 0/1 Init:Error 0 15m dev-sdc-sdc-dcae-dt-9f6cdccdf-wq5zf 0/2 Init:0/2 4 46m dev-sdc-sdc-dcae-fe-8488d8755-cmhv5 0/2 Init:0/2 4 46m dev-sdc-sdc-dcae-tosca-lab-55d6c76449-v8rxr 0/2 Init:0/1 4 46m dev-sdc-sdc-es-868875c47d-lz84v 1/1 Running 0 46m dev-sdc-sdc-es-config-elasticsearch-sprfs 0/1 Completed 0 46m dev-sdc-sdc-fe-7bd7f7cb4d-ms7qs 0/2 Init:1/2 4 46m dev-sdc-sdc-kb-57689fbf6-b5z2j 1/1 Running 0 46m dev-sdc-sdc-onboarding-be-c7c58696f-mfhv4 2/2 Running 0 46m dev-sdc-sdc-onboarding-be-cassandra-init-2kw7q 0/1 Completed 0 46m dev-sdc-sdc-wfd-be-668b94bf68-lqprt 1/1 Running 0 46m dev-sdc-sdc-wfd-be-workflow-init-5t8ff 0/1 Completed 0 46m dev-sdc-sdc-wfd-fe-74dcf95cb7-clt7k 2/2 Running 0 46m The sdc-be-config-backend goes Always into Error state. I have tried to undeploy/redeploy the sdc but no luck. From the sdc-be-config-backend log seems that : 7: bash "excuting-import_Normatives" do 8: code <<-EOH 9: set -x 10: cd /tmp 11: tar xvfz /tmp/normatives.tar.gz 12: cd /tmp/normatives/scripts/import/tosca/ 13: /bin/chmod +x *.py 14: 15: # executing the normatives 16: # add --debug=true to the importNormativeAll.py arguments to enable debug 17: 18: check_normative="/tmp/check_normative.out" 19: status_code=$(curl -s -o ${check_normative} -w "%{http_code}\\n" -X GET -H 'Content-Type: application/json;charset=UTF-8' -H 'USER_ID: jh0003' -H 'X-ECOMP-RequestID: cbe744a0-037b-458f-aab5-df6e543c4090' "http://#{be_ip}:8080/sdc2/rest/v1/screen") 20: if [ "$status_code" != 200 ] ; then 21: exit "$status_code" 22: fi 23: 24: #curl -s -X GET -H "Content-Type: application/json;charset=UTF-8" -H "USER_ID: jh0003" -H "X-ECOMP-RequestID: cbe744a0-037b-458f-aab5-df6e543c4090" "http://#{be_ip}:8080/sdc2/rest/v1/screen" > ${check_normative} 25: 26: resources_len=`cat ${check_normative}| jq '.["resources"]|length'` 27: mkdir -p /var/lib/jetty/logs 28: if [ $resources_len -eq 0 ] ; then 29: python importONAPNormativeAll.py -i #{be_ip} > /var/lib/jetty/logs/importNormativeAll.log 30: rc=$? 31: if [[ $rc != 0 ]]; then exit $rc; fi 32: else 33: python upgradeONAPNormative.py -i #{be_ip} > /var/lib/jetty/logs/upgradeNormative.log 34: rc=$? 35: if [[ $rc != 0 ]]; then exit $rc; fi 36: fi 37: EOH 38: end Every time it run the command python importXXX.py , it fails returnning 1 as exit code insted of 0 code . Aniello Paolo Malinconico -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17267): https://lists.onap.org/g/onap-discuss/message/17267 Mute This Topic: https://lists.onap.org/mt/31822033/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
