Hi all,
I am deploying ONAP master branch.
All pods are into Running state, except for few SDC pods. in particular the
sdc-be-config-backend
dev-sdc-sdc-be-74b5b4d897-lmb8f 2/2 Running
0 13m
*dev-sdc-sdc-be-config-backend-fml5f 0/1 Init:0/1
0 3s*
*dev-sdc-sdc-be-config-backend-nq9gn 0/1 Error
0 13m*
dev-sdc-sdc-cs-config-cassandra-7zp5z 0/1 Completed
0 13m
dev-sdc-sdc-dcae-be-87bc44ccb-dt7xs 0/2 Init:1/2
0 13m
dev-sdc-sdc-dcae-be-tools-mxkkm 0/1 Init:0/1
0 3m3s
dev-sdc-sdc-dcae-dt-9f6cdccdf-wq5zf 0/2 Init:0/2
1 13m
dev-sdc-sdc-dcae-fe-8488d8755-cmhv5 0/2 Init:0/2
1 13m
dev-sdc-sdc-dcae-tosca-lab-55d6c76449-v8rxr 0/2 Init:0/1
1 13m
dev-sdc-sdc-es-868875c47d-lz84v 1/1 Running
0 13m
dev-sdc-sdc-es-config-elasticsearch-sprfs 0/1 Completed
0 13m
dev-sdc-sdc-fe-7bd7f7cb4d-ms7qs 0/2 Init:1/2
1 13m
dev-sdc-sdc-kb-57689fbf6-b5z2j 1/1 Running
0 13m
dev-sdc-sdc-onboarding-be-c7c58696f-mfhv4 2/2 Running
0 13m
dev-sdc-sdc-onboarding-be-cassandra-init-2kw7q 0/1 Completed
0 13m
dev-sdc-sdc-wfd-be-668b94bf68-lqprt 1/1 Running
0 13m
dev-sdc-sdc-wfd-be-workflow-init-5t8ff 0/1 Completed
0 13m
dev-sdc-sdc-wfd-fe-74dcf95cb7-clt7k 2/2 Running
0 13m
The log output is:
....
normatives/scripts/import/tosca/upgradeNormativeVersionAll.py
normatives/scripts/import/tosca/importPolicyTypes.py
normatives/scripts/import/tosca/upgradeHeatTypes1707.py
normatives/scripts/import/tosca/upgradeNormativeVersionProd1702_3537.py
normatives/scripts/import/tosca/importSolTypes.py
normatives/scripts/import/tosca/importNfvTypes.py
STDERR: + cd /tmp
+ tar xvfz /tmp/normatives.tar.gz
+ cd /tmp/normatives/scripts/import/tosca/
+ /bin/chmod +x importAnnotationTypes.py importCategoryTypes.py importCommon.py
importDataTypes.py importGroupTypes.py importHeatTypes.py importNfvTypes.py
importNodeType.py importNormativeAll.py importNormativeCapabilities.py
importNormativeElements.py importNormativeInterfaceLifecycleTypes.py
importNormativeNoHeatAndNormativeTypes.py importNormativeTypes.py
importONAPNormativeAll.py importOnapTypes.py importPolicyTypes.py
importSolTypes.py importUsersFromYaml.py upgradeHeatAndNormativeTypes.py
upgradeHeatTypes1707.py upgradeNfvTypes.py upgradeNormative.py
upgradeNormativeVersion.py upgradeNormativeVersionAll.py
upgradeNormativeVersionProd1702_3537.py upgradeONAPNormative.py
upgradeONAPTypes.py upgradeSolTypes.py
+ check_normative=/tmp/check_normative.out
++ curl -s -o /tmp/check_normative.out -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://sdc-be.onap:8080/sdc2/rest/v1/screen
+ status_code=200
+ '[' 200 '!=' 200 ']'
++ cat /tmp/check_normative.out
++ jq '.["resources"]|length'
+ resources_len=6
+ mkdir -p /var/lib/jetty/logs
+ '[' 6 -eq 0 ']'
+ python upgradeONAPNormative.py -i sdc-be.onap
+ rc=1
+ [[ 1 != 0 ]]
+ exit 1
---- End output of "bash" "/tmp/chef-script20190528-12-f8yutn" ----
Ran "bash" "/tmp/chef-script20190528-12-f8yutn" returned 1
*[2019-05-28T13:59:05+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef
run process exited unsuccessfully (exit code 1)*
*[2019-05-28T13:59:05+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef
run process exited unsuccessfully (exit code 1)*
Complete log is into the attached file.
The image version is the master's ones.
Anyone could help me to solve this issue?
Thanks a lot,
Aniello Paolo Malinconico
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17251): https://lists.onap.org/g/onap-discuss/message/17251
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]]
-=-=-=-=-=-=-=-=-=-=-=-
[2019-05-28T13:58:56+00:00] INFO: Started chef-zero at chefzero://localhost:1 with repository at /root/chef-solo
One version per cookbook
[2019-05-28T13:58:56+00:00] INFO: Started chef-zero at chefzero://localhost:1 with repository at /root/chef-solo
One version per cookbook
[2019-05-28T13:58:56+00:00] INFO: Forking chef instance to converge...
[2019-05-28T13:58:56+00:00] INFO: Forking chef instance to converge...
Starting Chef Client, version 13.8.5
[2019-05-28T13:58:56+00:00] INFO: *** Chef 13.8.5 ***
[2019-05-28T13:58:56+00:00] INFO: *** Chef 13.8.5 ***
[2019-05-28T13:58:56+00:00] INFO: Platform: x86_64-linux-musl
[2019-05-28T13:58:56+00:00] INFO: Platform: x86_64-linux-musl
[2019-05-28T13:58:56+00:00] INFO: Chef-client pid: 12
[2019-05-28T13:58:56+00:00] INFO: Chef-client pid: 12
[2019-05-28T13:58:56+00:00] INFO: The plugin path /etc/chef/ohai/plugins does not exist. Skipping...
[2019-05-28T13:58:56+00:00] INFO: The plugin path /etc/chef/ohai/plugins does not exist. Skipping...
[2019-05-28T13:58:58+00:00] INFO: Setting the run_list to ["role[catalog-be-setup]"] from CLI options
[2019-05-28T13:58:58+00:00] INFO: Setting the run_list to ["role[catalog-be-setup]"] from CLI options
[2019-05-28T13:58:58+00:00] INFO: Run List is [role[catalog-be-setup]]
[2019-05-28T13:58:58+00:00] INFO: Run List is [role[catalog-be-setup]]
[2019-05-28T13:58:58+00:00] INFO: Run List expands to [sdc-catalog-be-setup::1_create_consumer_and_user, sdc-catalog-be-setup::2_check_Backend, sdc-catalog-be-setup::3_import_Normatives]
[2019-05-28T13:58:58+00:00] INFO: Run List expands to [sdc-catalog-be-setup::1_create_consumer_and_user, sdc-catalog-be-setup::2_check_Backend, sdc-catalog-be-setup::3_import_Normatives]
[2019-05-28T13:58:58+00:00] INFO: Starting Chef Run for dev-sdc-sdc-be-config-backend-zb27g
[2019-05-28T13:58:58+00:00] INFO: Starting Chef Run for dev-sdc-sdc-be-config-backend-zb27g
[2019-05-28T13:58:58+00:00] INFO: Running start handlers
[2019-05-28T13:58:58+00:00] INFO: Running start handlers
[2019-05-28T13:58:58+00:00] INFO: Start handlers complete.
[2019-05-28T13:58:58+00:00] INFO: Start handlers complete.
resolving cookbooks for run list: ["sdc-catalog-be-setup::1_create_consumer_and_user", "sdc-catalog-be-setup::2_check_Backend", "sdc-catalog-be-setup::3_import_Normatives"]
[2019-05-28T13:58:58+00:00] INFO: Loading cookbooks [[email protected]]
[2019-05-28T13:58:58+00:00] INFO: Loading cookbooks [[email protected]]
Synchronizing Cookbooks:
[2019-05-28T13:58:58+00:00] INFO: Storing updated cookbooks/sdc-catalog-be-setup/attributes/default.rb in the cache.
[2019-05-28T13:58:58+00:00] INFO: Storing updated cookbooks/sdc-catalog-be-setup/templates/default/consumers.py.erb in the cache.
[2019-05-28T13:58:58+00:00] INFO: Storing updated cookbooks/sdc-catalog-be-setup/templates/default/consumers.py.erb in the cache.
[2019-05-28T13:58:58+00:00] INFO: Storing updated cookbooks/sdc-catalog-be-setup/files/default/normatives.tar.gz in the cache.
[2019-05-28T13:58:58+00:00] INFO: Storing updated cookbooks/sdc-catalog-be-setup/files/default/normatives.tar.gz in the cache.
[2019-05-28T13:58:58+00:00] INFO: Storing updated cookbooks/sdc-catalog-be-setup/recipes/1_create_consumer_and_user.rb in the cache.
[2019-05-28T13:58:58+00:00] INFO: Storing updated cookbooks/sdc-catalog-be-setup/recipes/1_create_consumer_and_user.rb in the cache.
[2019-05-28T13:58:58+00:00] INFO: Storing updated cookbooks/sdc-catalog-be-setup/attributes/default.rb in the cache.
[2019-05-28T13:58:58+00:00] INFO: Storing updated cookbooks/sdc-catalog-be-setup/recipes/2_check_Backend.rb in the cache.
[2019-05-28T13:58:58+00:00] INFO: Storing updated cookbooks/sdc-catalog-be-setup/recipes/2_check_Backend.rb in the cache.
[2019-05-28T13:58:58+00:00] INFO: Storing updated cookbooks/sdc-catalog-be-setup/templates/default/check_Backend_Health.py.erb in the cache.
[2019-05-28T13:58:58+00:00] INFO: Storing updated cookbooks/sdc-catalog-be-setup/templates/default/check_Backend_Health.py.erb in the cache.
[2019-05-28T13:58:58+00:00] INFO: Storing updated cookbooks/sdc-catalog-be-setup/templates/default/user.py.erb in the cache.
[2019-05-28T13:58:58+00:00] INFO: Storing updated cookbooks/sdc-catalog-be-setup/templates/default/user.py.erb in the cache.
[2019-05-28T13:58:58+00:00] INFO: Storing updated cookbooks/sdc-catalog-be-setup/recipes/3_import_Normatives.rb in the cache.
[2019-05-28T13:58:58+00:00] INFO: Storing updated cookbooks/sdc-catalog-be-setup/recipes/3_import_Normatives.rb in the cache.
- sdc-catalog-be-setup (0.0.0)
Installing Cookbook Gems:
Compiling Cookbooks...
Converging 8 resources
Recipe: sdc-catalog-be-setup::1_create_consumer_and_user
* template[/tmp/user.py] action create[2019-05-28T13:58:58+00:00] INFO: template[/tmp/user.py] created file /tmp/user.py
[2019-05-28T13:58:58+00:00] INFO: template[/tmp/user.py] created file /tmp/user.py
- create new file /tmp/user.py[2019-05-28T13:58:58+00:00] INFO: template[/tmp/user.py] updated file contents /tmp/user.py
[2019-05-28T13:58:58+00:00] INFO: template[/tmp/user.py] updated file contents /tmp/user.py
- update content in file /tmp/user.py from none to a56152
- suppressed sensitive resource[2019-05-28T13:58:58+00:00] INFO: template[/tmp/user.py] mode changed to 755
[2019-05-28T13:58:58+00:00] INFO: template[/tmp/user.py] mode changed to 755
- change mode from '' to '0755'
* bash[excuting-create_user] action run
[execute] [INFO]: Backend is up and running
[INFO]: demo already exists
[INFO]: op0001 already exists
[INFO]: gv0001 already exists
[INFO]: jh0003 already exists
[INFO]: jm0007 already exists
[INFO]: cs0008 already exists
[2019-05-28T13:58:59+00:00] INFO: bash[excuting-create_user] ran successfully
[2019-05-28T13:58:59+00:00] INFO: bash[excuting-create_user] ran successfully
- execute "bash" "/tmp/chef-script20190528-12-1821qyx"
* template[/tmp/consumers.py] action create[2019-05-28T13:58:59+00:00] INFO: template[/tmp/consumers.py] created file /tmp/consumers.py
[2019-05-28T13:58:59+00:00] INFO: template[/tmp/consumers.py] created file /tmp/consumers.py
- create new file /tmp/consumers.py[2019-05-28T13:58:59+00:00] INFO: template[/tmp/consumers.py] updated file contents /tmp/consumers.py
[2019-05-28T13:58:59+00:00] INFO: template[/tmp/consumers.py] updated file contents /tmp/consumers.py
- update content in file /tmp/consumers.py from none to d59c3e
- suppressed sensitive resource[2019-05-28T13:58:59+00:00] INFO: template[/tmp/consumers.py] mode changed to 755
[2019-05-28T13:58:59+00:00] INFO: template[/tmp/consumers.py] mode changed to 755
- change mode from '' to '0755'
* bash[excuting-consumers] action run
[execute] [INFO]: Backend is up and running
[INFO]: aai already exists
[INFO]: appc already exists
[INFO]: dcae already exists
[INFO]: mso already exists
[INFO]: sdnc already exists
[INFO]: vid already exists
[INFO]: cognita already exists
[INFO]: clamp already exists
[INFO]: vfc already exists
[INFO]: workflow already exists
[INFO]: policy already exists
[INFO]: pomba already exists
[2019-05-28T13:59:03+00:00] INFO: bash[excuting-consumers] ran successfully
[2019-05-28T13:59:03+00:00] INFO: bash[excuting-consumers] ran successfully
- execute "bash" "/tmp/chef-script20190528-12-1vknp5o"
Recipe: sdc-catalog-be-setup::2_check_Backend
* template[/tmp/check_Backend_Health.py] action create[2019-05-28T13:59:03+00:00] INFO: template[/tmp/check_Backend_Health.py] created file /tmp/check_Backend_Health.py
[2019-05-28T13:59:03+00:00] INFO: template[/tmp/check_Backend_Health.py] created file /tmp/check_Backend_Health.py
- create new file /tmp/check_Backend_Health.py[2019-05-28T13:59:03+00:00] INFO: template[/tmp/check_Backend_Health.py] updated file contents /tmp/check_Backend_Health.py
[2019-05-28T13:59:03+00:00] INFO: template[/tmp/check_Backend_Health.py] updated file contents /tmp/check_Backend_Health.py
- update content in file /tmp/check_Backend_Health.py from none to af00b7
- suppressed sensitive resource[2019-05-28T13:59:03+00:00] INFO: template[/tmp/check_Backend_Health.py] mode changed to 755
[2019-05-28T13:59:03+00:00] INFO: template[/tmp/check_Backend_Health.py] mode changed to 755
- change mode from '' to '0755'
* bash[excuting-check_Backend_Health] action run
[execute] [INFO]: Backend is up and running
[2019-05-28T13:59:03+00:00] INFO: bash[excuting-check_Backend_Health] ran successfully
[2019-05-28T13:59:03+00:00] INFO: bash[excuting-check_Backend_Health] ran successfully
- execute "bash" "/tmp/chef-script20190528-12-1lsd83"
Recipe: sdc-catalog-be-setup::3_import_Normatives
* cookbook_file[/tmp/normatives.tar.gz] action create[2019-05-28T13:59:03+00:00] INFO: cookbook_file[/tmp/normatives.tar.gz] created file /tmp/normatives.tar.gz
[2019-05-28T13:59:03+00:00] INFO: cookbook_file[/tmp/normatives.tar.gz] created file /tmp/normatives.tar.gz
- create new file /tmp/normatives.tar.gz[2019-05-28T13:59:03+00:00] INFO: cookbook_file[/tmp/normatives.tar.gz] updated file contents /tmp/normatives.tar.gz
[2019-05-28T13:59:03+00:00] INFO: cookbook_file[/tmp/normatives.tar.gz] updated file contents /tmp/normatives.tar.gz
- update content in file /tmp/normatives.tar.gz from none to 4038fb
(new content is binary, diff output suppressed)
* bash[excuting-import_Normatives] action run
[execute] + cd /tmp
+ tar xvfz /tmp/normatives.tar.gz
normatives/import/
normatives/import/tosca/
normatives/import/tosca/relationship-types/
normatives/import/tosca/categories/
normatives/import/tosca/users/
normatives/import/tosca/capability-types/
normatives/import/tosca/normative-types/
normatives/import/tosca/normative-types/webServer/
normatives/import/tosca/normative-types/root/
normatives/import/tosca/normative-types/webApplication/
normatives/import/tosca/normative-types/loadBalancer/
normatives/import/tosca/normative-types/network/
normatives/import/tosca/normative-types/compute/
normatives/import/tosca/normative-types/objectStorage/
normatives/import/tosca/normative-types/DBMS/
normatives/import/tosca/normative-types/blockStorage/
normatives/import/tosca/normative-types/port/
normatives/import/tosca/normative-types/containerApplication/
normatives/import/tosca/normative-types/database/
normatives/import/tosca/normative-types/softwareComponent/
normatives/import/tosca/normative-types/containerRuntime/
normatives/import/tosca/annotation-types/
normatives/import/tosca/heat-types/
normatives/import/tosca/heat-types/subInterfaceV2/
normatives/import/tosca/heat-types/securityRules/
normatives/import/tosca/heat-types/multiFlavorVFC/
normatives/import/tosca/heat-types/vnfConfiguration/
normatives/import/tosca/heat-types/Generic_Service/
normatives/import/tosca/heat-types/contrailV2VirtualMachineInterface/
normatives/import/tosca/heat-types/novaServer/
normatives/import/tosca/heat-types/neutronPort/
normatives/import/tosca/heat-types/globalPort/
normatives/import/tosca/heat-types/globalNetwork/
normatives/import/tosca/heat-types/neutronNet/
normatives/import/tosca/heat-types/extVl/
normatives/import/tosca/heat-types/forwardingPath/
normatives/import/tosca/heat-types/contrailCompute/
normatives/import/tosca/heat-types/VLANNetworkReceptor/
normatives/import/tosca/heat-types/cinderVolume/
normatives/import/tosca/heat-types/Generic_CR/
normatives/import/tosca/heat-types/fabricConfiguration/
normatives/import/tosca/heat-types/extVirtualMachineInterfaceCP/
normatives/import/tosca/heat-types/contrailV2NetworkRules/
normatives/import/tosca/heat-types/Generic_VF/
normatives/import/tosca/heat-types/contrailV2VirtualNetwork/
normatives/import/tosca/heat-types/Generic_PNF/
normatives/import/tosca/heat-types/Generic_VFC/
normatives/import/tosca/heat-types/contrailV2VLANSubInterface/
normatives/import/tosca/heat-types/contrailVirtualNetwork/
normatives/import/tosca/heat-types/portMirroring/
normatives/import/tosca/heat-types/configuration/
normatives/import/tosca/heat-types/portMirroringByPolicy/
normatives/import/tosca/heat-types/subInterface/
normatives/import/tosca/heat-types/serviceProxy/
normatives/import/tosca/heat-types/extNeutronCP/
normatives/import/tosca/heat-types/VRFObject/
normatives/import/tosca/heat-types/vl/
normatives/import/tosca/heat-types/volume/
normatives/import/tosca/heat-types/extCp2/
normatives/import/tosca/heat-types/eline/
normatives/import/tosca/heat-types/contrailPort/
normatives/import/tosca/heat-types/abstractSubstitute/
normatives/import/tosca/heat-types/internalVl/
normatives/import/tosca/heat-types/globalCompute/
normatives/import/tosca/heat-types/contrailAbstractSubstitute/
normatives/import/tosca/heat-types/contrailNetworkRules/
normatives/import/tosca/heat-types/VRFEntry/
normatives/import/tosca/heat-types/contrailV2VLANSubInterfaceV2/
normatives/import/tosca/heat-types/extCp/
normatives/import/tosca/heat-types/extContrailCP/
normatives/import/tosca/interface-lifecycle-types/
normatives/import/tosca/data-types/
normatives/import/tosca/policy-types/
normatives/import/tosca/artifact-types/
normatives/import/tosca/group-types/
normatives/import/tosca/nfv-types/
normatives/import/tosca/nfv-types/overlayTunnel/
normatives/import/tosca/nfv-types/vduCompute/
normatives/import/tosca/nfv-types/extLocalStorage/
normatives/import/tosca/nfv-types/VDU/
normatives/import/tosca/nfv-types/genericNeutronNet/
normatives/import/tosca/nfv-types/allottedResource/
normatives/import/tosca/nfv-types/underlayVpn/
normatives/import/tosca/nfv-types/VNF/
normatives/import/tosca/nfv-types/extImageFile/
normatives/import/tosca/nfv-types/Cp/
normatives/import/tosca/nfv-types/vduCp/
normatives/import/tosca/nfv-types/NSD/
normatives/import/tosca/nfv-types/vnfVirtualLinkDesc/
normatives/import/tosca/nfv-types/vduVirtualStorage/
normatives/import/tosca/nfv-types/vnfVirtualLink/
normatives/import/tosca/nfv-types/extZteVDU/
normatives/import/tosca/nfv-types/extZteVL/
normatives/import/tosca/nfv-types/extZteCP/
normatives/import/tosca/relationship-types/relationshipTypes.yml
normatives/import/tosca/categories/categoryTypes.yml
normatives/import/tosca/users/importUsers.yaml
normatives/import/tosca/capability-types/capabilityTypes.yml
normatives/import/tosca/normative-types/webServer/webServer.yml
normatives/import/tosca/normative-types/webServer/webServer.json
normatives/import/tosca/normative-types/root/root.json
normatives/import/tosca/normative-types/root/root.yml
normatives/import/tosca/normative-types/webApplication/webApplication.json
normatives/import/tosca/normative-types/webApplication/webApplication.yml
normatives/import/tosca/normative-types/loadBalancer/loadBalancer.json
normatives/import/tosca/normative-types/loadBalancer/loadBalancer.yml
normatives/import/tosca/normative-types/network/network.yml
normatives/import/tosca/normative-types/network/network.json
normatives/import/tosca/normative-types/compute/compute.yml
normatives/import/tosca/normative-types/compute/compute.json
normatives/import/tosca/normative-types/objectStorage/objectStorage.yml
normatives/import/tosca/normative-types/objectStorage/objectStorage.json
normatives/import/tosca/normative-types/DBMS/DBMS.yml
normatives/import/tosca/normative-types/DBMS/DBMS.json
normatives/import/tosca/normative-types/blockStorage/blockStorage.yml
normatives/import/tosca/normative-types/blockStorage/blockStorage.json
normatives/import/tosca/normative-types/port/port.yml
normatives/import/tosca/normative-types/port/port.json
normatives/import/tosca/normative-types/containerApplication/containerApplication.json
normatives/import/tosca/normative-types/containerApplication/containerApplication.yml
normatives/import/tosca/normative-types/database/database.yml
normatives/import/tosca/normative-types/database/database.json
normatives/import/tosca/normative-types/softwareComponent/softwareComponent.yml
normatives/import/tosca/normative-types/softwareComponent/softwareComponent.json
normatives/import/tosca/normative-types/containerRuntime/containerRuntime.json
normatives/import/tosca/normative-types/containerRuntime/containerRuntime.yml
normatives/import/tosca/annotation-types/annotationTypes.yml
normatives/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.yml
normatives/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.json
normatives/import/tosca/heat-types/securityRules/securityRules.json
normatives/import/tosca/heat-types/securityRules/securityRules.yml
normatives/import/tosca/heat-types/multiFlavorVFC/multiFlavorVFC.json
normatives/import/tosca/heat-types/multiFlavorVFC/multiFlavorVFC.yml
normatives/import/tosca/heat-types/vnfConfiguration/vnfConfiguration.yml
normatives/import/tosca/heat-types/vnfConfiguration/vnfConfiguration.json
normatives/import/tosca/heat-types/Generic_Service/Generic_Service.yml
normatives/import/tosca/heat-types/Generic_Service/Generic_Service.json
normatives/import/tosca/heat-types/contrailV2VirtualMachineInterface/contrailV2VirtualMachineInterface.json
normatives/import/tosca/heat-types/contrailV2VirtualMachineInterface/contrailV2VirtualMachineInterface.yml
normatives/import/tosca/heat-types/novaServer/novaServer.json
normatives/import/tosca/heat-types/novaServer/novaServer.yml
normatives/import/tosca/heat-types/neutronPort/neutronPort.json
normatives/import/tosca/heat-types/neutronPort/neutronPort.yml
normatives/import/tosca/heat-types/globalPort/globalPort.json
normatives/import/tosca/heat-types/globalPort/globalPort.yml
normatives/import/tosca/heat-types/globalNetwork/globalNetwork.yml
normatives/import/tosca/heat-types/globalNetwork/globalNetwork.json
normatives/import/tosca/heat-types/neutronNet/neutronNet.yml
normatives/import/tosca/heat-types/neutronNet/neutronNet.json
normatives/import/tosca/heat-types/extVl/extVl.yml
normatives/import/tosca/heat-types/extVl/extVl.json
normatives/import/tosca/heat-types/forwardingPath/forwardingPath.json
normatives/import/tosca/heat-types/forwardingPath/forwardingPath.yml
normatives/import/tosca/heat-types/contrailCompute/contrailCompute.yml
normatives/import/tosca/heat-types/contrailCompute/contrailCompute.json
normatives/import/tosca/heat-types/VLANNetworkReceptor/VLANNetworkReceptor.yml
normatives/import/tosca/heat-types/VLANNetworkReceptor/VLANNetworkReceptor.json
normatives/import/tosca/heat-types/cinderVolume/cinderVolume.json
normatives/import/tosca/heat-types/cinderVolume/cinderVolume.yml
normatives/import/tosca/heat-types/Generic_CR/Generic_CR.json
normatives/import/tosca/heat-types/Generic_CR/Generic_CR.yml
normatives/import/tosca/heat-types/fabricConfiguration/fabricConfiguration.yml
normatives/import/tosca/heat-types/fabricConfiguration/fabricConfiguration.json
normatives/import/tosca/heat-types/extVirtualMachineInterfaceCP/extVirtualMachineInterfaceCP.yml
normatives/import/tosca/heat-types/extVirtualMachineInterfaceCP/extVirtualMachineInterfaceCP.json
normatives/import/tosca/heat-types/contrailV2NetworkRules/contrailV2NetworkRules.json
normatives/import/tosca/heat-types/contrailV2NetworkRules/contrailV2NetworkRules.yml
normatives/import/tosca/heat-types/Generic_VF/Generic_VF.yml
normatives/import/tosca/heat-types/Generic_VF/Generic_VF.json
normatives/import/tosca/heat-types/contrailV2VirtualNetwork/contrailV2VirtualNetwork.json
normatives/import/tosca/heat-types/contrailV2VirtualNetwork/contrailV2VirtualNetwork.yml
normatives/import/tosca/heat-types/Generic_PNF/Generic_PNF.json
normatives/import/tosca/heat-types/Generic_PNF/Generic_PNF.yml
normatives/import/tosca/heat-types/Generic_VFC/Generic_VFC.yml
normatives/import/tosca/heat-types/Generic_VFC/Generic_VFC.json
normatives/import/tosca/heat-types/contrailV2VLANSubInterface/contrailV2VLANSubInterface.yml
normatives/import/tosca/heat-types/contrailV2VLANSubInterface/contrailV2VLANSubInterface.json
normatives/import/tosca/heat-types/contrailVirtualNetwork/contrailVirtualNetwork.yml
normatives/import/tosca/heat-types/contrailVirtualNetwork/contrailVirtualNetwork.json
normatives/import/tosca/heat-types/portMirroring/portMirroring.yml
normatives/import/tosca/heat-types/portMirroring/portMirroring.json
normatives/import/tosca/heat-types/configuration/configuration.json
normatives/import/tosca/heat-types/configuration/configuration.yml
normatives/import/tosca/heat-types/portMirroringByPolicy/portMirroringByPolicy.yml
normatives/import/tosca/heat-types/portMirroringByPolicy/portMirroringByPolicy.json
normatives/import/tosca/heat-types/subInterface/subInterface.json
normatives/import/tosca/heat-types/subInterface/subInterface.yml
normatives/import/tosca/heat-types/serviceProxy/serviceProxy.yml
normatives/import/tosca/heat-types/serviceProxy/serviceProxy.json
normatives/import/tosca/heat-types/extNeutronCP/extNeutronCP.json
normatives/import/tosca/heat-types/extNeutronCP/extNeutronCP.yml
normatives/import/tosca/heat-types/VRFObject/VRFObject.yml
normatives/import/tosca/heat-types/VRFObject/VRFObject.json
normatives/import/tosca/heat-types/vl/vl.yml
normatives/import/tosca/heat-types/vl/vl.json
normatives/import/tosca/heat-types/volume/volume.yml
normatives/import/tosca/heat-types/volume/volume.json
normatives/import/tosca/heat-types/extCp2/extCp2.yml
normatives/import/tosca/heat-types/extCp2/extCp2.json
normatives/import/tosca/heat-types/eline/eline.json
normatives/import/tosca/heat-types/eline/eline.yml
normatives/import/tosca/heat-types/contrailPort/contrailPort.yml
normatives/import/tosca/heat-types/contrailPort/contrailPort.json
normatives/import/tosca/heat-types/abstractSubstitute/abstractSubstitute.yml
normatives/import/tosca/heat-types/abstractSubstitute/abstractSubstitute.json
normatives/import/tosca/heat-types/internalVl/internalVl.json
normatives/import/tosca/heat-types/internalVl/internalVl.yml
normatives/import/tosca/heat-types/globalCompute/globalCompute.yml
normatives/import/tosca/heat-types/globalCompute/globalCompute.json
normatives/import/tosca/heat-types/contrailAbstractSubstitute/contrailAbstractSubstitute.json
normatives/import/tosca/heat-types/contrailAbstractSubstitute/contrailAbstractSubstitute.yml
normatives/import/tosca/heat-types/contrailNetworkRules/contrailNetworkRules.yml
normatives/import/tosca/heat-types/contrailNetworkRules/contrailNetworkRules.json
normatives/import/tosca/heat-types/VRFEntry/VRFEntry.json
normatives/import/tosca/heat-types/VRFEntry/VRFEntry.yml
normatives/import/tosca/heat-types/contrailV2VLANSubInterfaceV2/contrailV2VLANSubInterfaceV2.yml
normatives/import/tosca/heat-types/contrailV2VLANSubInterfaceV2/contrailV2VLANSubInterfaceV2.json
normatives/import/tosca/heat-types/extCp/extCp.yml
normatives/import/tosca/heat-types/extCp/extCp.json
normatives/import/tosca/heat-types/extContrailCP/extContrailCP.yml
normatives/import/tosca/heat-types/extContrailCP/extContrailCP.json
normatives/import/tosca/interface-lifecycle-types/interfaceLifecycleTypes.yml
normatives/import/tosca/data-types/dataTypes.yml
normatives/import/tosca/policy-types/policyTypes.yml
normatives/import/tosca/policy-types/policyTypes.json
normatives/import/tosca/artifact-types/artifactTypes.yml
normatives/import/tosca/group-types/groupTypes.yml
normatives/import/tosca/group-types/groupTypes.json
normatives/import/tosca/nfv-types/overlayTunnel/overlayTunnel.yml
normatives/import/tosca/nfv-types/overlayTunnel/overlayTunnel.json
normatives/import/tosca/nfv-types/vduCompute/vduCompute.json
normatives/import/tosca/nfv-types/vduCompute/vduCompute.yml
normatives/import/tosca/nfv-types/extLocalStorage/extLocalStorage.json
normatives/import/tosca/nfv-types/extLocalStorage/extLocalStorage.yml
normatives/import/tosca/nfv-types/VDU/VDU.yml
normatives/import/tosca/nfv-types/VDU/VDU.json
normatives/import/tosca/nfv-types/genericNeutronNet/genericNeutronNet.json
normatives/import/tosca/nfv-types/genericNeutronNet/genericNeutronNet.yml
normatives/import/tosca/nfv-types/allottedResource/allottedResource.yml
normatives/import/tosca/nfv-types/allottedResource/allottedResource.json
normatives/import/tosca/nfv-types/underlayVpn/underlayVpn.json
normatives/import/tosca/nfv-types/underlayVpn/underlayVpn.yml
normatives/import/tosca/nfv-types/VNF/VNF.json
normatives/import/tosca/nfv-types/VNF/VNF.yml
normatives/import/tosca/nfv-types/extImageFile/extImageFile.json
normatives/import/tosca/nfv-types/extImageFile/extImageFile.yml
normatives/import/tosca/nfv-types/Cp/Cp.json
normatives/import/tosca/nfv-types/Cp/Cp.yml
normatives/import/tosca/nfv-types/vduCp/vduCp.json
normatives/import/tosca/nfv-types/vduCp/vduCp.yml
normatives/import/tosca/nfv-types/NSD/NSD.json
normatives/import/tosca/nfv-types/NSD/NSD.yml
normatives/import/tosca/nfv-types/vnfVirtualLinkDesc/vnfVirtualLinkDesc.json
normatives/import/tosca/nfv-types/vnfVirtualLinkDesc/vnfVirtualLinkDesc.yml
normatives/import/tosca/nfv-types/vduVirtualStorage/vduVirtualStorage.json
normatives/import/tosca/nfv-types/vduVirtualStorage/vduVirtualStorage.yml
normatives/import/tosca/nfv-types/vnfVirtualLink/vnfVirtualLink.json
normatives/import/tosca/nfv-types/vnfVirtualLink/vnfVirtualLink.yml
normatives/import/tosca/nfv-types/extZteVDU/extZteVDU.yml
normatives/import/tosca/nfv-types/extZteVDU/extZteVDU.json
normatives/import/tosca/nfv-types/extZteVL/extZteVL.yml
normatives/import/tosca/nfv-types/extZteVL/extZteVL.json
normatives/import/tosca/nfv-types/extZteCP/extZteCP.json
normatives/import/tosca/nfv-types/extZteCP/extZteCP.yml
normatives/scripts/
normatives/scripts/import/
normatives/scripts/import/tosca/
normatives/scripts/import/tosca/upgradeNormativeVersion.py
normatives/scripts/import/tosca/importOnapTypes.py
normatives/scripts/import/tosca/importNormativeInterfaceLifecycleTypes.py
normatives/scripts/import/tosca/importNormativeNoHeatAndNormativeTypes.py
normatives/scripts/import/tosca/importNormativeElements.py
normatives/scripts/import/tosca/importHeatTypes.py
normatives/scripts/import/tosca/importNormativeAll.py
normatives/scripts/import/tosca/importUsersFromYaml.py
normatives/scripts/import/tosca/importAnnotationTypes.py
normatives/scripts/import/tosca/importCategoryTypes.py
normatives/scripts/import/tosca/importNodeType.py
normatives/scripts/import/tosca/upgradeSolTypes.py
normatives/scripts/import/tosca/importNormativeTypes.py
normatives/scripts/import/tosca/importDataTypes.py
normatives/scripts/import/tosca/upgradeONAPTypes.py
normatives/scripts/import/tosca/typesToUpgrade.json
normatives/scripts/import/tosca/upgradeNormative.py
normatives/scripts/import/tosca/onapTypesToUpgrade.json
normatives/scripts/import/tosca/importNormativeCapabilities.py
normatives/scripts/import/tosca/importGroupTypes.py
normatives/scripts/import/tosca/upgradeHeatAndNormativeTypes.py
normatives/scripts/import/tosca/importCommon.py
normatives/scripts/import/tosca/importONAPNormativeAll.py
normatives/scripts/import/tosca/upgradeONAPNormative.py
normatives/scripts/import/tosca/upgradeNfvTypes.py
normatives/scripts/import/tosca/upgradeNormativeVersionAll.py
normatives/scripts/import/tosca/importPolicyTypes.py
normatives/scripts/import/tosca/upgradeHeatTypes1707.py
normatives/scripts/import/tosca/upgradeNormativeVersionProd1702_3537.py
normatives/scripts/import/tosca/importSolTypes.py
normatives/scripts/import/tosca/importNfvTypes.py
+ cd /tmp/normatives/scripts/import/tosca/
+ /bin/chmod +x importAnnotationTypes.py importCategoryTypes.py importCommon.py importDataTypes.py importGroupTypes.py importHeatTypes.py importNfvTypes.py importNodeType.py importNormativeAll.py importNormativeCapabilities.py importNormativeElements.py importNormativeInterfaceLifecycleTypes.py importNormativeNoHeatAndNormativeTypes.py importNormativeTypes.py importONAPNormativeAll.py importOnapTypes.py importPolicyTypes.py importSolTypes.py importUsersFromYaml.py upgradeHeatAndNormativeTypes.py upgradeHeatTypes1707.py upgradeNfvTypes.py upgradeNormative.py upgradeNormativeVersion.py upgradeNormativeVersionAll.py upgradeNormativeVersionProd1702_3537.py upgradeONAPNormative.py upgradeONAPTypes.py upgradeSolTypes.py
+ check_normative=/tmp/check_normative.out
++ curl -s -o /tmp/check_normative.out -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://sdc-be.onap:8080/sdc2/rest/v1/screen
+ status_code=200
+ '[' 200 '!=' 200 ']'
++ cat /tmp/check_normative.out
++ jq '.["resources"]|length'
+ resources_len=6
+ mkdir -p /var/lib/jetty/logs
+ '[' 6 -eq 0 ']'
+ python upgradeONAPNormative.py -i sdc-be.onap
+ rc=1
+ [[ 1 != 0 ]]
+ exit 1
================================================================================
Error executing action `run` on resource 'bash[excuting-import_Normatives]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of "bash" "/tmp/chef-script20190528-12-f8yutn" ----
STDOUT: normatives/import/
normatives/import/tosca/
normatives/import/tosca/relationship-types/
normatives/import/tosca/categories/
normatives/import/tosca/users/
normatives/import/tosca/capability-types/
normatives/import/tosca/normative-types/
normatives/import/tosca/normative-types/webServer/
normatives/import/tosca/normative-types/root/
normatives/import/tosca/normative-types/webApplication/
normatives/import/tosca/normative-types/loadBalancer/
normatives/import/tosca/normative-types/network/
normatives/import/tosca/normative-types/compute/
normatives/import/tosca/normative-types/objectStorage/
normatives/import/tosca/normative-types/DBMS/
normatives/import/tosca/normative-types/blockStorage/
normatives/import/tosca/normative-types/port/
normatives/import/tosca/normative-types/containerApplication/
normatives/import/tosca/normative-types/database/
normatives/import/tosca/normative-types/softwareComponent/
normatives/import/tosca/normative-types/containerRuntime/
normatives/import/tosca/annotation-types/
normatives/import/tosca/heat-types/
normatives/import/tosca/heat-types/subInterfaceV2/
normatives/import/tosca/heat-types/securityRules/
normatives/import/tosca/heat-types/multiFlavorVFC/
normatives/import/tosca/heat-types/vnfConfiguration/
normatives/import/tosca/heat-types/Generic_Service/
normatives/import/tosca/heat-types/contrailV2VirtualMachineInterface/
normatives/import/tosca/heat-types/novaServer/
normatives/import/tosca/heat-types/neutronPort/
normatives/import/tosca/heat-types/globalPort/
normatives/import/tosca/heat-types/globalNetwork/
normatives/import/tosca/heat-types/neutronNet/
normatives/import/tosca/heat-types/extVl/
normatives/import/tosca/heat-types/forwardingPath/
normatives/import/tosca/heat-types/contrailCompute/
normatives/import/tosca/heat-types/VLANNetworkReceptor/
normatives/import/tosca/heat-types/cinderVolume/
normatives/import/tosca/heat-types/Generic_CR/
normatives/import/tosca/heat-types/fabricConfiguration/
normatives/import/tosca/heat-types/extVirtualMachineInterfaceCP/
normatives/import/tosca/heat-types/contrailV2NetworkRules/
normatives/import/tosca/heat-types/Generic_VF/
normatives/import/tosca/heat-types/contrailV2VirtualNetwork/
normatives/import/tosca/heat-types/Generic_PNF/
normatives/import/tosca/heat-types/Generic_VFC/
normatives/import/tosca/heat-types/contrailV2VLANSubInterface/
normatives/import/tosca/heat-types/contrailVirtualNetwork/
normatives/import/tosca/heat-types/portMirroring/
normatives/import/tosca/heat-types/configuration/
normatives/import/tosca/heat-types/portMirroringByPolicy/
normatives/import/tosca/heat-types/subInterface/
normatives/import/tosca/heat-types/serviceProxy/
normatives/import/tosca/heat-types/extNeutronCP/
normatives/import/tosca/heat-types/VRFObject/
normatives/import/tosca/heat-types/vl/
normatives/import/tosca/heat-types/volume/
normatives/import/tosca/heat-types/extCp2/
normatives/import/tosca/heat-types/eline/
normatives/import/tosca/heat-types/contrailPort/
normatives/import/tosca/heat-types/abstractSubstitute/
normatives/import/tosca/heat-types/internalVl/
normatives/import/tosca/heat-types/globalCompute/
normatives/import/tosca/heat-types/contrailAbstractSubstitute/
normatives/import/tosca/heat-types/contrailNetworkRules/
normatives/import/tosca/heat-types/VRFEntry/
normatives/import/tosca/heat-types/contrailV2VLANSubInterfaceV2/
normatives/import/tosca/heat-types/extCp/
normatives/import/tosca/heat-types/extContrailCP/
normatives/import/tosca/interface-lifecycle-types/
normatives/import/tosca/data-types/
normatives/import/tosca/policy-types/
normatives/import/tosca/artifact-types/
normatives/import/tosca/group-types/
normatives/import/tosca/nfv-types/
normatives/import/tosca/nfv-types/overlayTunnel/
normatives/import/tosca/nfv-types/vduCompute/
normatives/import/tosca/nfv-types/extLocalStorage/
normatives/import/tosca/nfv-types/VDU/
normatives/import/tosca/nfv-types/genericNeutronNet/
normatives/import/tosca/nfv-types/allottedResource/
normatives/import/tosca/nfv-types/underlayVpn/
normatives/import/tosca/nfv-types/VNF/
normatives/import/tosca/nfv-types/extImageFile/
normatives/import/tosca/nfv-types/Cp/
normatives/import/tosca/nfv-types/vduCp/
normatives/import/tosca/nfv-types/NSD/
normatives/import/tosca/nfv-types/vnfVirtualLinkDesc/
normatives/import/tosca/nfv-types/vduVirtualStorage/
normatives/import/tosca/nfv-types/vnfVirtualLink/
normatives/import/tosca/nfv-types/extZteVDU/
normatives/import/tosca/nfv-types/extZteVL/
normatives/import/tosca/nfv-types/extZteCP/
normatives/import/tosca/relationship-types/relationshipTypes.yml
normatives/import/tosca/categories/categoryTypes.yml
normatives/import/tosca/users/importUsers.yaml
normatives/import/tosca/capability-types/capabilityTypes.yml
normatives/import/tosca/normative-types/webServer/webServer.yml
normatives/import/tosca/normative-types/webServer/webServer.json
normatives/import/tosca/normative-types/root/root.json
normatives/import/tosca/normative-types/root/root.yml
normatives/import/tosca/normative-types/webApplication/webApplication.json
normatives/import/tosca/normative-types/webApplication/webApplication.yml
normatives/import/tosca/normative-types/loadBalancer/loadBalancer.json
normatives/import/tosca/normative-types/loadBalancer/loadBalancer.yml
normatives/import/tosca/normative-types/network/network.yml
normatives/import/tosca/normative-types/network/network.json
normatives/import/tosca/normative-types/compute/compute.yml
normatives/import/tosca/normative-types/compute/compute.json
normatives/import/tosca/normative-types/objectStorage/objectStorage.yml
normatives/import/tosca/normative-types/objectStorage/objectStorage.json
normatives/import/tosca/normative-types/DBMS/DBMS.yml
normatives/import/tosca/normative-types/DBMS/DBMS.json
normatives/import/tosca/normative-types/blockStorage/blockStorage.yml
normatives/import/tosca/normative-types/blockStorage/blockStorage.json
normatives/import/tosca/normative-types/port/port.yml
normatives/import/tosca/normative-types/port/port.json
normatives/import/tosca/normative-types/containerApplication/containerApplication.json
normatives/import/tosca/normative-types/containerApplication/containerApplication.yml
normatives/import/tosca/normative-types/database/database.yml
normatives/import/tosca/normative-types/database/database.json
normatives/import/tosca/normative-types/softwareComponent/softwareComponent.yml
normatives/import/tosca/normative-types/softwareComponent/softwareComponent.json
normatives/import/tosca/normative-types/containerRuntime/containerRuntime.json
normatives/import/tosca/normative-types/containerRuntime/containerRuntime.yml
normatives/import/tosca/annotation-types/annotationTypes.yml
normatives/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.yml
normatives/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.json
normatives/import/tosca/heat-types/securityRules/securityRules.json
normatives/import/tosca/heat-types/securityRules/securityRules.yml
normatives/import/tosca/heat-types/multiFlavorVFC/multiFlavorVFC.json
normatives/import/tosca/heat-types/multiFlavorVFC/multiFlavorVFC.yml
normatives/import/tosca/heat-types/vnfConfiguration/vnfConfiguration.yml
normatives/import/tosca/heat-types/vnfConfiguration/vnfConfiguration.json
normatives/import/tosca/heat-types/Generic_Service/Generic_Service.yml
normatives/import/tosca/heat-types/Generic_Service/Generic_Service.json
normatives/import/tosca/heat-types/contrailV2VirtualMachineInterface/contrailV2VirtualMachineInterface.json
normatives/import/tosca/heat-types/contrailV2VirtualMachineInterface/contrailV2VirtualMachineInterface.yml
normatives/import/tosca/heat-types/novaServer/novaServer.json
normatives/import/tosca/heat-types/novaServer/novaServer.yml
normatives/import/tosca/heat-types/neutronPort/neutronPort.json
normatives/import/tosca/heat-types/neutronPort/neutronPort.yml
normatives/import/tosca/heat-types/globalPort/globalPort.json
normatives/import/tosca/heat-types/globalPort/globalPort.yml
normatives/import/tosca/heat-types/globalNetwork/globalNetwork.yml
normatives/import/tosca/heat-types/globalNetwork/globalNetwork.json
normatives/import/tosca/heat-types/neutronNet/neutronNet.yml
normatives/import/tosca/heat-types/neutronNet/neutronNet.json
normatives/import/tosca/heat-types/extVl/extVl.yml
normatives/import/tosca/heat-types/extVl/extVl.json
normatives/import/tosca/heat-types/forwardingPath/forwardingPath.json
normatives/import/tosca/heat-types/forwardingPath/forwardingPath.yml
normatives/import/tosca/heat-types/contrailCompute/contrailCompute.yml
normatives/import/tosca/heat-types/contrailCompute/contrailCompute.json
normatives/import/tosca/heat-types/VLANNetworkReceptor/VLANNetworkReceptor.yml
normatives/import/tosca/heat-types/VLANNetworkReceptor/VLANNetworkReceptor.json
normatives/import/tosca/heat-types/cinderVolume/cinderVolume.json
normatives/import/tosca/heat-types/cinderVolume/cinderVolume.yml
normatives/import/tosca/heat-types/Generic_CR/Generic_CR.json
normatives/import/tosca/heat-types/Generic_CR/Generic_CR.yml
normatives/import/tosca/heat-types/fabricConfiguration/fabricConfiguration.yml
normatives/import/tosca/heat-types/fabricConfiguration/fabricConfiguration.json
normatives/import/tosca/heat-types/extVirtualMachineInterfaceCP/extVirtualMachineInterfaceCP.yml
normatives/import/tosca/heat-types/extVirtualMachineInterfaceCP/extVirtualMachineInterfaceCP.json
normatives/import/tosca/heat-types/contrailV2NetworkRules/contrailV2NetworkRules.json
normatives/import/tosca/heat-types/contrailV2NetworkRules/contrailV2NetworkRules.yml
normatives/import/tosca/heat-types/Generic_VF/Generic_VF.yml
normatives/import/tosca/heat-types/Generic_VF/Generic_VF.json
normatives/import/tosca/heat-types/contrailV2VirtualNetwork/contrailV2VirtualNetwork.json
normatives/import/tosca/heat-types/contrailV2VirtualNetwork/contrailV2VirtualNetwork.yml
normatives/import/tosca/heat-types/Generic_PNF/Generic_PNF.json
normatives/import/tosca/heat-types/Generic_PNF/Generic_PNF.yml
normatives/import/tosca/heat-types/Generic_VFC/Generic_VFC.yml
normatives/import/tosca/heat-types/Generic_VFC/Generic_VFC.json
normatives/import/tosca/heat-types/contrailV2VLANSubInterface/contrailV2VLANSubInterface.yml
normatives/import/tosca/heat-types/contrailV2VLANSubInterface/contrailV2VLANSubInterface.json
normatives/import/tosca/heat-types/contrailVirtualNetwork/contrailVirtualNetwork.yml
normatives/import/tosca/heat-types/contrailVirtualNetwork/contrailVirtualNetwork.json
normatives/import/tosca/heat-types/portMirroring/portMirroring.yml
normatives/import/tosca/heat-types/portMirroring/portMirroring.json
normatives/import/tosca/heat-types/configuration/configuration.json
normatives/import/tosca/heat-types/configuration/configuration.yml
normatives/import/tosca/heat-types/portMirroringByPolicy/portMirroringByPolicy.yml
normatives/import/tosca/heat-types/portMirroringByPolicy/portMirroringByPolicy.json
normatives/import/tosca/heat-types/subInterface/subInterface.json
normatives/import/tosca/heat-types/subInterface/subInterface.yml
normatives/import/tosca/heat-types/serviceProxy/serviceProxy.yml
normatives/import/tosca/heat-types/serviceProxy/serviceProxy.json
normatives/import/tosca/heat-types/extNeutronCP/extNeutronCP.json
normatives/import/tosca/heat-types/extNeutronCP/extNeutronCP.yml
normatives/import/tosca/heat-types/VRFObject/VRFObject.yml
normatives/import/tosca/heat-types/VRFObject/VRFObject.json
normatives/import/tosca/heat-types/vl/vl.yml
normatives/import/tosca/heat-types/vl/vl.json
normatives/import/tosca/heat-types/volume/volume.yml
normatives/import/tosca/heat-types/volume/volume.json
normatives/import/tosca/heat-types/extCp2/extCp2.yml
normatives/import/tosca/heat-types/extCp2/extCp2.json
normatives/import/tosca/heat-types/eline/eline.json
normatives/import/tosca/heat-types/eline/eline.yml
normatives/import/tosca/heat-types/contrailPort/contrailPort.yml
normatives/import/tosca/heat-types/contrailPort/contrailPort.json
normatives/import/tosca/heat-types/abstractSubstitute/abstractSubstitute.yml
normatives/import/tosca/heat-types/abstractSubstitute/abstractSubstitute.json
normatives/import/tosca/heat-types/internalVl/internalVl.json
normatives/import/tosca/heat-types/internalVl/internalVl.yml
normatives/import/tosca/heat-types/globalCompute/globalCompute.yml
normatives/import/tosca/heat-types/globalCompute/globalCompute.json
normatives/import/tosca/heat-types/contrailAbstractSubstitute/contrailAbstractSubstitute.json
normatives/import/tosca/heat-types/contrailAbstractSubstitute/contrailAbstractSubstitute.yml
normatives/import/tosca/heat-types/contrailNetworkRules/contrailNetworkRules.yml
normatives/import/tosca/heat-types/contrailNetworkRules/contrailNetworkRules.json
normatives/import/tosca/heat-types/VRFEntry/VRFEntry.json
normatives/import/tosca/heat-types/VRFEntry/VRFEntry.yml
normatives/import/tosca/heat-types/contrailV2VLANSubInterfaceV2/contrailV2VLANSubInterfaceV2.yml
normatives/import/tosca/heat-types/contrailV2VLANSubInterfaceV2/contrailV2VLANSubInterfaceV2.json
normatives/import/tosca/heat-types/extCp/extCp.yml
normatives/import/tosca/heat-types/extCp/extCp.json
normatives/import/tosca/heat-types/extContrailCP/extContrailCP.yml
normatives/import/tosca/heat-types/extContrailCP/extContrailCP.json
normatives/import/tosca/interface-lifecycle-types/interfaceLifecycleTypes.yml
normatives/import/tosca/data-types/dataTypes.yml
normatives/import/tosca/policy-types/policyTypes.yml
normatives/import/tosca/policy-types/policyTypes.json
normatives/import/tosca/artifact-types/artifactTypes.yml
normatives/import/tosca/group-types/groupTypes.yml
normatives/import/tosca/group-types/groupTypes.json
normatives/import/tosca/nfv-types/overlayTunnel/overlayTunnel.yml
normatives/import/tosca/nfv-types/overlayTunnel/overlayTunnel.json
normatives/import/tosca/nfv-types/vduCompute/vduCompute.json
normatives/import/tosca/nfv-types/vduCompute/vduCompute.yml
normatives/import/tosca/nfv-types/extLocalStorage/extLocalStorage.json
normatives/import/tosca/nfv-types/extLocalStorage/extLocalStorage.yml
normatives/import/tosca/nfv-types/VDU/VDU.yml
normatives/import/tosca/nfv-types/VDU/VDU.json
normatives/import/tosca/nfv-types/genericNeutronNet/genericNeutronNet.json
normatives/import/tosca/nfv-types/genericNeutronNet/genericNeutronNet.yml
normatives/import/tosca/nfv-types/allottedResource/allottedResource.yml
normatives/import/tosca/nfv-types/allottedResource/allottedResource.json
normatives/import/tosca/nfv-types/underlayVpn/underlayVpn.json
normatives/import/tosca/nfv-types/underlayVpn/underlayVpn.yml
normatives/import/tosca/nfv-types/VNF/VNF.json
normatives/import/tosca/nfv-types/VNF/VNF.yml
normatives/import/tosca/nfv-types/extImageFile/extImageFile.json
normatives/import/tosca/nfv-types/extImageFile/extImageFile.yml
normatives/import/tosca/nfv-types/Cp/Cp.json
normatives/import/tosca/nfv-types/Cp/Cp.yml
normatives/import/tosca/nfv-types/vduCp/vduCp.json
normatives/import/tosca/nfv-types/vduCp/vduCp.yml
normatives/import/tosca/nfv-types/NSD/NSD.json
normatives/import/tosca/nfv-types/NSD/NSD.yml
normatives/import/tosca/nfv-types/vnfVirtualLinkDesc/vnfVirtualLinkDesc.json
normatives/import/tosca/nfv-types/vnfVirtualLinkDesc/vnfVirtualLinkDesc.yml
normatives/import/tosca/nfv-types/vduVirtualStorage/vduVirtualStorage.json
normatives/import/tosca/nfv-types/vduVirtualStorage/vduVirtualStorage.yml
normatives/import/tosca/nfv-types/vnfVirtualLink/vnfVirtualLink.json
normatives/import/tosca/nfv-types/vnfVirtualLink/vnfVirtualLink.yml
normatives/import/tosca/nfv-types/extZteVDU/extZteVDU.yml
normatives/import/tosca/nfv-types/extZteVDU/extZteVDU.json
normatives/import/tosca/nfv-types/extZteVL/extZteVL.yml
normatives/import/tosca/nfv-types/extZteVL/extZteVL.json
normatives/import/tosca/nfv-types/extZteCP/extZteCP.json
normatives/import/tosca/nfv-types/extZteCP/extZteCP.yml
normatives/scripts/
normatives/scripts/import/
normatives/scripts/import/tosca/
normatives/scripts/import/tosca/upgradeNormativeVersion.py
normatives/scripts/import/tosca/importOnapTypes.py
normatives/scripts/import/tosca/importNormativeInterfaceLifecycleTypes.py
normatives/scripts/import/tosca/importNormativeNoHeatAndNormativeTypes.py
normatives/scripts/import/tosca/importNormativeElements.py
normatives/scripts/import/tosca/importHeatTypes.py
normatives/scripts/import/tosca/importNormativeAll.py
normatives/scripts/import/tosca/importUsersFromYaml.py
normatives/scripts/import/tosca/importAnnotationTypes.py
normatives/scripts/import/tosca/importCategoryTypes.py
normatives/scripts/import/tosca/importNodeType.py
normatives/scripts/import/tosca/upgradeSolTypes.py
normatives/scripts/import/tosca/importNormativeTypes.py
normatives/scripts/import/tosca/importDataTypes.py
normatives/scripts/import/tosca/upgradeONAPTypes.py
normatives/scripts/import/tosca/typesToUpgrade.json
normatives/scripts/import/tosca/upgradeNormative.py
normatives/scripts/import/tosca/onapTypesToUpgrade.json
normatives/scripts/import/tosca/importNormativeCapabilities.py
normatives/scripts/import/tosca/importGroupTypes.py
normatives/scripts/import/tosca/upgradeHeatAndNormativeTypes.py
normatives/scripts/import/tosca/importCommon.py
normatives/scripts/import/tosca/importONAPNormativeAll.py
normatives/scripts/import/tosca/upgradeONAPNormative.py
normatives/scripts/import/tosca/upgradeNfvTypes.py
normatives/scripts/import/tosca/upgradeNormativeVersionAll.py
normatives/scripts/import/tosca/importPolicyTypes.py
normatives/scripts/import/tosca/upgradeHeatTypes1707.py
normatives/scripts/import/tosca/upgradeNormativeVersionProd1702_3537.py
normatives/scripts/import/tosca/importSolTypes.py
normatives/scripts/import/tosca/importNfvTypes.py
STDERR: + cd /tmp
+ tar xvfz /tmp/normatives.tar.gz
+ cd /tmp/normatives/scripts/import/tosca/
+ /bin/chmod +x importAnnotationTypes.py importCategoryTypes.py importCommon.py importDataTypes.py importGroupTypes.py importHeatTypes.py importNfvTypes.py importNodeType.py importNormativeAll.py importNormativeCapabilities.py importNormativeElements.py importNormativeInterfaceLifecycleTypes.py importNormativeNoHeatAndNormativeTypes.py importNormativeTypes.py importONAPNormativeAll.py importOnapTypes.py importPolicyTypes.py importSolTypes.py importUsersFromYaml.py upgradeHeatAndNormativeTypes.py upgradeHeatTypes1707.py upgradeNfvTypes.py upgradeNormative.py upgradeNormativeVersion.py upgradeNormativeVersionAll.py upgradeNormativeVersionProd1702_3537.py upgradeONAPNormative.py upgradeONAPTypes.py upgradeSolTypes.py
+ check_normative=/tmp/check_normative.out
++ curl -s -o /tmp/check_normative.out -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://sdc-be.onap:8080/sdc2/rest/v1/screen
+ status_code=200
+ '[' 200 '!=' 200 ']'
++ cat /tmp/check_normative.out
++ jq '.["resources"]|length'
+ resources_len=6
+ mkdir -p /var/lib/jetty/logs
+ '[' 6 -eq 0 ']'
+ python upgradeONAPNormative.py -i sdc-be.onap
+ rc=1
+ [[ 1 != 0 ]]
+ exit 1
---- End output of "bash" "/tmp/chef-script20190528-12-f8yutn" ----
Ran "bash" "/tmp/chef-script20190528-12-f8yutn" returned 1
Resource Declaration:
---------------------
# In /root/chef-solo/cache/cookbooks/sdc-catalog-be-setup/recipes/3_import_Normatives.rb
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
Compiled Resource:
------------------
# Declared in /root/chef-solo/cache/cookbooks/sdc-catalog-be-setup/recipes/3_import_Normatives.rb:7:in `from_file'
bash("excuting-import_Normatives") do
action [:run]
default_guard_interpreter :default
command nil
backup 5
returns 0
user nil
interpreter "bash"
declared_type :bash
cookbook_name "sdc-catalog-be-setup"
recipe_name "3_import_Normatives"
code " set -x\n cd /tmp\n tar xvfz /tmp/normatives.tar.gz\n cd /tmp/normatives/scripts/import/tosca/\n /bin/chmod +x *.py\n\n # executing the normatives\n # add --debug=true to the importNormativeAll.py arguments to enable debug\n\n check_normative=\"/tmp/check_normative.out\"\n 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://sdc-be.onap:8080/sdc2/rest/v1/screen\")\n if [ \"$status_code\" != 200 ] ; then\n exit \"$status_code\"\n fi\n\n #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://sdc-be.onap:8080/sdc2/rest/v1/screen\" > ${check_normative}\n\n resources_len=`cat ${check_normative}| jq '.[\"resources\"]|length'`\n mkdir -p /var/lib/jetty/logs\n if [ $resources_len -eq 0 ] ; then\n python importONAPNormativeAll.py -i sdc-be.onap > /var/lib/jetty/logs/importNormativeAll.log\n rc=$?\n if [[ $rc != 0 ]]; then exit $rc; fi\n else\n python upgradeONAPNormative.py -i sdc-be.onap > /var/lib/jetty/logs/upgradeNormative.log\n rc=$?\n if [[ $rc != 0 ]]; then exit $rc; fi\n fi\n"
domain nil
end
System Info:
------------
chef_version=13.8.5
platform=alpine
platform_version=3.8.1
ruby=ruby 2.5.2p104 (2018-10-18 revision 65133) [x86_64-linux-musl]
program_name=chef-solo worker: ppid=6;start=13:58:56;
executable=/usr/bin/chef-solo
[2019-05-28T13:59:05+00:00] INFO: Running queued delayed notifications before re-raising exception
[2019-05-28T13:59:05+00:00] INFO: Running queued delayed notifications before re-raising exception
Running handlers:
[2019-05-28T13:59:05+00:00] ERROR: Running exception handlers
[2019-05-28T13:59:05+00:00] ERROR: Running exception handlers
Running handlers complete
[2019-05-28T13:59:05+00:00] ERROR: Exception handlers complete
[2019-05-28T13:59:05+00:00] ERROR: Exception handlers complete
Chef Client failed. 7 resources updated in 08 seconds
[2019-05-28T13:59:05+00:00] FATAL: Stacktrace dumped to /root/chef-solo/cache/chef-stacktrace.out
[2019-05-28T13:59:05+00:00] FATAL: Stacktrace dumped to /root/chef-solo/cache/chef-stacktrace.out
[2019-05-28T13:59:05+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2019-05-28T13:59:05+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2019-05-28T13:59:05+00:00] ERROR: bash[excuting-import_Normatives] (sdc-catalog-be-setup::3_import_Normatives line 7) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of "bash" "/tmp/chef-script20190528-12-f8yutn" ----
STDOUT: normatives/import/
normatives/import/tosca/
normatives/import/tosca/relationship-types/
normatives/import/tosca/categories/
normatives/import/tosca/users/
normatives/import/tosca/capability-types/
normatives/import/tosca/normative-types/
normatives/import/tosca/normative-types/webServer/
normatives/import/tosca/normative-types/root/
normatives/import/tosca/normative-types/webApplication/
normatives/import/tosca/normative-types/loadBalancer/
normatives/import/tosca/normative-types/network/
normatives/import/tosca/normative-types/compute/
normatives/import/tosca/normative-types/objectStorage/
normatives/import/tosca/normative-types/DBMS/
normatives/import/tosca/normative-types/blockStorage/
normatives/import/tosca/normative-types/port/
normatives/import/tosca/normative-types/containerApplication/
normatives/import/tosca/normative-types/database/
normatives/import/tosca/normative-types/softwareComponent/
normatives/import/tosca/normative-types/containerRuntime/
normatives/import/tosca/annotation-types/
normatives/import/tosca/heat-types/
normatives/import/tosca/heat-types/subInterfaceV2/
normatives/import/tosca/heat-types/securityRules/
normatives/import/tosca/heat-types/multiFlavorVFC/
normatives/import/tosca/heat-types/vnfConfiguration/
normatives/import/tosca/heat-types/Generic_Service/
normatives/import/tosca/heat-types/contrailV2VirtualMachineInterface/
normatives/import/tosca/heat-types/novaServer/
normatives/import/tosca/heat-types/neutronPort/
normatives/import/tosca/heat-types/globalPort/
normatives/import/tosca/heat-types/globalNetwork/
normatives/import/tosca/heat-types/neutronNet/
normatives/import/tosca/heat-types/extVl/
normatives/import/tosca/heat-types/forwardingPath/
normatives/import/tosca/heat-types/contrailCompute/
normatives/import/tosca/heat-types/VLANNetworkReceptor/
normatives/import/tosca/heat-types/cinderVolume/
normatives/import/tosca/heat-types/Generic_CR/
normatives/import/tosca/heat-types/fabricConfiguration/
normatives/import/tosca/heat-types/extVirtualMachineInterfaceCP/
normatives/import/tosca/heat-types/contrailV2NetworkRules/
normatives/import/tosca/heat-types/Generic_VF/
normatives/import/tosca/heat-types/contrailV2VirtualNetwork/
normatives/import/tosca/heat-types/Generic_PNF/
normatives/import/tosca/heat-types/Generic_VFC/
normatives/import/tosca/heat-types/contrailV2VLANSubInterface/
normatives/import/tosca/heat-types/contrailVirtualNetwork/
normatives/import/tosca/heat-types/portMirroring/
normatives/import/tosca/heat-types/configuration/
normatives/import/tosca/heat-types/portMirroringByPolicy/
normatives/import/tosca/heat-types/subInterface/
normatives/import/tosca/heat-types/serviceProxy/
normatives/import/tosca/heat-types/extNeutronCP/
normatives/import/tosca/heat-types/VRFObject/
normatives/import/tosca/heat-types/vl/
normatives/import/tosca/heat-types/volume/
normatives/import/tosca/heat-types/extCp2/
normatives/import/tosca/heat-types/eline/
normatives/import/tosca/heat-types/contrailPort/
normatives/import/tosca/heat-types/abstractSubstitute/
normatives/import/tosca/heat-types/internalVl/
normatives/import/tosca/heat-types/globalCompute/
normatives/import/tosca/heat-types/contrailAbstractSubstitute/
normatives/import/tosca/heat-types/contrailNetworkRules/
normatives/import/tosca/heat-types/VRFEntry/
normatives/import/tosca/heat-types/contrailV2VLANSubInterfaceV2/
normatives/import/tosca/heat-types/extCp/
normatives/import/tosca/heat-types/extContrailCP/
normatives/import/tosca/interface-lifecycle-types/
normatives/import/tosca/data-types/
normatives/import/tosca/policy-types/
normatives/import/tosca/artifact-types/
normatives/import/tosca/group-types/
normatives/import/tosca/nfv-types/
normatives/import/tosca/nfv-types/overlayTunnel/
normatives/import/tosca/nfv-types/vduCompute/
normatives/import/tosca/nfv-types/extLocalStorage/
normatives/import/tosca/nfv-types/VDU/
normatives/import/tosca/nfv-types/genericNeutronNet/
normatives/import/tosca/nfv-types/allottedResource/
normatives/import/tosca/nfv-types/underlayVpn/
normatives/import/tosca/nfv-types/VNF/
normatives/import/tosca/nfv-types/extImageFile/
normatives/import/tosca/nfv-types/Cp/
normatives/import/tosca/nfv-types/vduCp/
normatives/import/tosca/nfv-types/NSD/
normatives/import/tosca/nfv-types/vnfVirtualLinkDesc/
normatives/import/tosca/nfv-types/vduVirtualStorage/
normatives/import/tosca/nfv-types/vnfVirtualLink/
normatives/import/tosca/nfv-types/extZteVDU/
normatives/import/tosca/nfv-types/extZteVL/
normatives/import/tosca/nfv-types/extZteCP/
normatives/import/tosca/relationship-types/relationshipTypes.yml
normatives/import/tosca/categories/categoryTypes.yml
normatives/import/tosca/users/importUsers.yaml
normatives/import/tosca/capability-types/capabilityTypes.yml
normatives/import/tosca/normative-types/webServer/webServer.yml
normatives/import/tosca/normative-types/webServer/webServer.json
normatives/import/tosca/normative-types/root/root.json
normatives/import/tosca/normative-types/root/root.yml
normatives/import/tosca/normative-types/webApplication/webApplication.json
normatives/import/tosca/normative-types/webApplication/webApplication.yml
normatives/import/tosca/normative-types/loadBalancer/loadBalancer.json
normatives/import/tosca/normative-types/loadBalancer/loadBalancer.yml
normatives/import/tosca/normative-types/network/network.yml
normatives/import/tosca/normative-types/network/network.json
normatives/import/tosca/normative-types/compute/compute.yml
normatives/import/tosca/normative-types/compute/compute.json
normatives/import/tosca/normative-types/objectStorage/objectStorage.yml
normatives/import/tosca/normative-types/objectStorage/objectStorage.json
normatives/import/tosca/normative-types/DBMS/DBMS.yml
normatives/import/tosca/normative-types/DBMS/DBMS.json
normatives/import/tosca/normative-types/blockStorage/blockStorage.yml
normatives/import/tosca/normative-types/blockStorage/blockStorage.json
normatives/import/tosca/normative-types/port/port.yml
normatives/import/tosca/normative-types/port/port.json
normatives/import/tosca/normative-types/containerApplication/containerApplication.json
normatives/import/tosca/normative-types/containerApplication/containerApplication.yml
normatives/import/tosca/normative-types/database/database.yml
normatives/import/tosca/normative-types/database/database.json
normatives/import/tosca/normative-types/softwareComponent/softwareComponent.yml
normatives/import/tosca/normative-types/softwareComponent/softwareComponent.json
normatives/import/tosca/normative-types/containerRuntime/containerRuntime.json
normatives/import/tosca/normative-types/containerRuntime/containerRuntime.yml
normatives/import/tosca/annotation-types/annotationTypes.yml
normatives/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.yml
normatives/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.json
normatives/import/tosca/heat-types/securityRules/securityRules.json
normatives/import/tosca/heat-types/securityRules/securityRules.yml
normatives/import/tosca/heat-types/multiFlavorVFC/multiFlavorVFC.json
normatives/import/tosca/heat-types/multiFlavorVFC/multiFlavorVFC.yml
normatives/import/tosca/heat-types/vnfConfiguration/vnfConfiguration.yml
normatives/import/tosca/heat-types/vnfConfiguration/vnfConfiguration.json
normatives/import/tosca/heat-types/Generic_Service/Generic_Service.yml
normatives/import/tosca/heat-types/Generic_Service/Generic_Service.json
normatives/import/tosca/heat-types/contrailV2VirtualMachineInterface/contrailV2VirtualMachineInterface.json
normatives/import/tosca/heat-types/contrailV2VirtualMachineInterface/contrailV2VirtualMachineInterface.yml
normatives/import/tosca/heat-types/novaServer/novaServer.json
normatives/import/tosca/heat-types/novaServer/novaServer.yml
normatives/import/tosca/heat-types/neutronPort/neutronPort.json
normatives/import/tosca/heat-types/neutronPort/neutronPort.yml
normatives/import/tosca/heat-types/globalPort/globalPort.json
normatives/import/tosca/heat-types/globalPort/globalPort.yml
normatives/import/tosca/heat-types/globalNetwork/globalNetwork.yml
normatives/import/tosca/heat-types/globalNetwork/globalNetwork.json
normatives/import/tosca/heat-types/neutronNet/neutronNet.yml
normatives/import/tosca/heat-types/neutronNet/neutronNet.json
normatives/import/tosca/heat-types/extVl/extVl.yml
normatives/import/tosca/heat-types/extVl/extVl.json
normatives/import/tosca/heat-types/forwardingPath/forwardingPath.json
normatives/import/tosca/heat-types/forwardingPath/forwardingPath.yml
normatives/import/tosca/heat-types/contrailCompute/contrailCompute.yml
normatives/import/tosca/heat-types/contrailCompute/contrailCompute.json
normatives/import/tosca/heat-types/VLANNetworkReceptor/VLANNetworkReceptor.yml
normatives/import/tosca/heat-types/VLANNetworkReceptor/VLANNetworkReceptor.json
normatives/import/tosca/heat-types/cinderVolume/cinderVolume.json
normatives/import/tosca/heat-types/cinderVolume/cinderVolume.yml
normatives/import/tosca/heat-types/Generic_CR/Generic_CR.json
normatives/import/tosca/heat-types/Generic_CR/Generic_CR.yml
normatives/import/tosca/heat-types/fabricConfiguration/fabricConfiguration.yml
normatives/import/tosca/heat-types/fabricConfiguration/fabricConfiguration.json
normatives/import/tosca/heat-types/extVirtualMachineInterfaceCP/extVirtualMachineInterfaceCP.yml
normatives/import/tosca/heat-types/extVirtualMachineInterfaceCP/extVirtualMachineInterfaceCP.json
normatives/import/tosca/heat-types/contrailV2NetworkRules/contrailV2NetworkRules.json
normatives/import/tosca/heat-types/contrailV2NetworkRules/contrailV2NetworkRules.yml
normatives/import/tosca/heat-types/Generic_VF/Generic_VF.yml
normatives/import/tosca/heat-types/Generic_VF/Generic_VF.json
normatives/import/tosca/heat-types/contrailV2VirtualNetwork/contrailV2VirtualNetwork.json
normatives/import/tosca/heat-types/contrailV2VirtualNetwork/contrailV2VirtualNetwork.yml
normatives/import/tosca/heat-types/Generic_PNF/Generic_PNF.json
normatives/import/tosca/heat-types/Generic_PNF/Generic_PNF.yml
normatives/import/tosca/heat-types/Generic_VFC/Generic_VFC.yml
normatives/import/tosca/heat-types/Generic_VFC/Generic_VFC.json
normatives/import/tosca/heat-types/contrailV2VLANSubInterface/contrailV2VLANSubInterface.yml
normatives/import/tosca/heat-types/contrailV2VLANSubInterface/contrailV2VLANSubInterface.json
normatives/import/tosca/heat-types/contrailVirtualNetwork/contrailVirtualNetwork.yml
normatives/import/tosca/heat-types/contrailVirtualNetwork/contrailVirtualNetwork.json
normatives/import/tosca/heat-types/portMirroring/portMirroring.yml
normatives/import/tosca/heat-types/portMirroring/portMirroring.json
normatives/import/tosca/heat-types/configuration/configuration.json
normatives/import/tosca/heat-types/configuration/configuration.yml
normatives/import/tosca/heat-types/portMirroringByPolicy/portMirroringByPolicy.yml
normatives/import/tosca/heat-types/portMirroringByPolicy/portMirroringByPolicy.json
normatives/import/tosca/heat-types/subInterface/subInterface.json
normatives/import/tosca/heat-types/subInterface/subInterface.yml
normatives/import/tosca/heat-types/serviceProxy/serviceProxy.yml
normatives/import/tosca/heat-types/serviceProxy/serviceProxy.json
normatives/import/tosca/heat-types/extNeutronCP/extNeutronCP.json
normatives/import/tosca/heat-types/extNeutronCP/extNeutronCP.yml
normatives/import/tosca/heat-types/VRFObject/VRFObject.yml
normatives/import/tosca/heat-types/VRFObject/VRFObject.json
normatives/import/tosca/heat-types/vl/vl.yml
normatives/import/tosca/heat-types/vl/vl.json
normatives/import/tosca/heat-types/volume/volume.yml
normatives/import/tosca/heat-types/volume/volume.json
normatives/import/tosca/heat-types/extCp2/extCp2.yml
normatives/import/tosca/heat-types/extCp2/extCp2.json
normatives/import/tosca/heat-types/eline/eline.json
normatives/import/tosca/heat-types/eline/eline.yml
normatives/import/tosca/heat-types/contrailPort/contrailPort.yml
normatives/import/tosca/heat-types/contrailPort/contrailPort.json
normatives/import/tosca/heat-types/abstractSubstitute/abstractSubstitute.yml
normatives/import/tosca/heat-types/abstractSubstitute/abstractSubstitute.json
normatives/import/tosca/heat-types/internalVl/internalVl.json
normatives/import/tosca/heat-types/internalVl/internalVl.yml
normatives/import/tosca/heat-types/globalCompute/globalCompute.yml
normatives/import/tosca/heat-types/globalCompute/globalCompute.json
normatives/import/tosca/heat-types/contrailAbstractSubstitute/contrailAbstractSubstitute.json
normatives/import/tosca/heat-types/contrailAbstractSubstitute/contrailAbstractSubstitute.yml
normatives/import/tosca/heat-types/contrailNetworkRules/contrailNetworkRules.yml
normatives/import/tosca/heat-types/contrailNetworkRules/contrailNetworkRules.json
normatives/import/tosca/heat-types/VRFEntry/VRFEntry.json
normatives/import/tosca/heat-types/VRFEntry/VRFEntry.yml
normatives/import/tosca/heat-types/contrailV2VLANSubInterfaceV2/contrailV2VLANSubInterfaceV2.yml
normatives/import/tosca/heat-types/contrailV2VLANSubInterfaceV2/contrailV2VLANSubInterfaceV2.json
normatives/import/tosca/heat-types/extCp/extCp.yml
normatives/import/tosca/heat-types/extCp/extCp.json
normatives/import/tosca/heat-types/extContrailCP/extContrailCP.yml
normatives/import/tosca/heat-types/extContrailCP/extContrailCP.json
normatives/import/tosca/interface-lifecycle-types/interfaceLifecycleTypes.yml
normatives/import/tosca/data-types/dataTypes.yml
normatives/import/tosca/policy-types/policyTypes.yml
normatives/import/tosca/policy-types/policyTypes.json
normatives/import/tosca/artifact-types/artifactTypes.yml
normatives/import/tosca/group-types/groupTypes.yml
normatives/import/tosca/group-types/groupTypes.json
normatives/import/tosca/nfv-types/overlayTunnel/overlayTunnel.yml
normatives/import/tosca/nfv-types/overlayTunnel/overlayTunnel.json
normatives/import/tosca/nfv-types/vduCompute/vduCompute.json
normatives/import/tosca/nfv-types/vduCompute/vduCompute.yml
normatives/import/tosca/nfv-types/extLocalStorage/extLocalStorage.json
normatives/import/tosca/nfv-types/extLocalStorage/extLocalStorage.yml
normatives/import/tosca/nfv-types/VDU/VDU.yml
normatives/import/tosca/nfv-types/VDU/VDU.json
normatives/import/tosca/nfv-types/genericNeutronNet/genericNeutronNet.json
normatives/import/tosca/nfv-types/genericNeutronNet/genericNeutronNet.yml
normatives/import/tosca/nfv-types/allottedResource/allottedResource.yml
normatives/import/tosca/nfv-types/allottedResource/allottedResource.json
normatives/import/tosca/nfv-types/underlayVpn/underlayVpn.json
normatives/import/tosca/nfv-types/underlayVpn/underlayVpn.yml
normatives/import/tosca/nfv-types/VNF/VNF.json
normatives/import/tosca/nfv-types/VNF/VNF.yml
normatives/import/tosca/nfv-types/extImageFile/extImageFile.json
normatives/import/tosca/nfv-types/extImageFile/extImageFile.yml
normatives/import/tosca/nfv-types/Cp/Cp.json
normatives/import/tosca/nfv-types/Cp/Cp.yml
normatives/import/tosca/nfv-types/vduCp/vduCp.json
normatives/import/tosca/nfv-types/vduCp/vduCp.yml
normatives/import/tosca/nfv-types/NSD/NSD.json
normatives/import/tosca/nfv-types/NSD/NSD.yml
normatives/import/tosca/nfv-types/vnfVirtualLinkDesc/vnfVirtualLinkDesc.json
normatives/import/tosca/nfv-types/vnfVirtualLinkDesc/vnfVirtualLinkDesc.yml
normatives/import/tosca/nfv-types/vduVirtualStorage/vduVirtualStorage.json
normatives/import/tosca/nfv-types/vduVirtualStorage/vduVirtualStorage.yml
normatives/import/tosca/nfv-types/vnfVirtualLink/vnfVirtualLink.json
normatives/import/tosca/nfv-types/vnfVirtualLink/vnfVirtualLink.yml
normatives/import/tosca/nfv-types/extZteVDU/extZteVDU.yml
normatives/import/tosca/nfv-types/extZteVDU/extZteVDU.json
normatives/import/tosca/nfv-types/extZteVL/extZteVL.yml
normatives/import/tosca/nfv-types/extZteVL/extZteVL.json
normatives/import/tosca/nfv-types/extZteCP/extZteCP.json
normatives/import/tosca/nfv-types/extZteCP/extZteCP.yml
normatives/scripts/
normatives/scripts/import/
normatives/scripts/import/tosca/
normatives/scripts/import/tosca/upgradeNormativeVersion.py
normatives/scripts/import/tosca/importOnapTypes.py
normatives/scripts/import/tosca/importNormativeInterfaceLifecycleTypes.py
normatives/scripts/import/tosca/importNormativeNoHeatAndNormativeTypes.py
normatives/scripts/import/tosca/importNormativeElements.py
normatives/scripts/import/tosca/importHeatTypes.py
normatives/scripts/import/tosca/importNormativeAll.py
normatives/scripts/import/tosca/importUsersFromYaml.py
normatives/scripts/import/tosca/importAnnotationTypes.py
normatives/scripts/import/tosca/importCategoryTypes.py
normatives/scripts/import/tosca/importNodeType.py
normatives/scripts/import/tosca/upgradeSolTypes.py
normatives/scripts/import/tosca/importNormativeTypes.py
normatives/scripts/import/tosca/importDataTypes.py
normatives/scripts/import/tosca/upgradeONAPTypes.py
normatives/scripts/import/tosca/typesToUpgrade.json
normatives/scripts/import/tosca/upgradeNormative.py
normatives/scripts/import/tosca/onapTypesToUpgrade.json
normatives/scripts/import/tosca/importNormativeCapabilities.py
normatives/scripts/import/tosca/importGroupTypes.py
normatives/scripts/import/tosca/upgradeHeatAndNormativeTypes.py
normatives/scripts/import/tosca/importCommon.py
normatives/scripts/import/tosca/importONAPNormativeAll.py
normatives/scripts/import/tosca/upgradeONAPNormative.py
normatives/scripts/import/tosca/upgradeNfvTypes.py
normatives/scripts/import/tosca/upgradeNormativeVersionAll.py
normatives/scripts/import/tosca/importPolicyTypes.py
normatives/scripts/import/tosca/upgradeHeatTypes1707.py
normatives/scripts/import/tosca/upgradeNormativeVersionProd1702_3537.py
normatives/scripts/import/tosca/importSolTypes.py
normatives/scripts/import/tosca/importNfvTypes.py
STDERR: + cd /tmp
+ tar xvfz /tmp/normatives.tar.gz
+ cd /tmp/normatives/scripts/import/tosca/
+ /bin/chmod +x importAnnotationTypes.py importCategoryTypes.py importCommon.py importDataTypes.py importGroupTypes.py importHeatTypes.py importNfvTypes.py importNodeType.py importNormativeAll.py importNormativeCapabilities.py importNormativeElements.py importNormativeInterfaceLifecycleTypes.py importNormativeNoHeatAndNormativeTypes.py importNormativeTypes.py importONAPNormativeAll.py importOnapTypes.py importPolicyTypes.py importSolTypes.py importUsersFromYaml.py upgradeHeatAndNormativeTypes.py upgradeHeatTypes1707.py upgradeNfvTypes.py upgradeNormative.py upgradeNormativeVersion.py upgradeNormativeVersionAll.py upgradeNormativeVersionProd1702_3537.py upgradeONAPNormative.py upgradeONAPTypes.py upgradeSolTypes.py
+ check_normative=/tmp/check_normative.out
++ curl -s -o /tmp/check_normative.out -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://sdc-be.onap:8080/sdc2/rest/v1/screen
+ status_code=200
+ '[' 200 '!=' 200 ']'
++ cat /tmp/check_normative.out
++ jq '.["resources"]|length'
+ resources_len=6
+ mkdir -p /var/lib/jetty/logs
+ '[' 6 -eq 0 ']'
+ python upgradeONAPNormative.py -i sdc-be.onap
+ rc=1
+ [[ 1 != 0 ]]
+ exit 1
---- End output of "bash" "/tmp/chef-script20190528-12-f8yutn" ----
Ran "bash" "/tmp/chef-script20190528-12-f8yutn" returned 1
[2019-05-28T13:59:05+00:00] ERROR: bash[excuting-import_Normatives] (sdc-catalog-be-setup::3_import_Normatives line 7) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of "bash" "/tmp/chef-script20190528-12-f8yutn" ----
STDOUT: normatives/import/
normatives/import/tosca/
normatives/import/tosca/relationship-types/
normatives/import/tosca/categories/
normatives/import/tosca/users/
normatives/import/tosca/capability-types/
normatives/import/tosca/normative-types/
normatives/import/tosca/normative-types/webServer/
normatives/import/tosca/normative-types/root/
normatives/import/tosca/normative-types/webApplication/
normatives/import/tosca/normative-types/loadBalancer/
normatives/import/tosca/normative-types/network/
normatives/import/tosca/normative-types/compute/
normatives/import/tosca/normative-types/objectStorage/
normatives/import/tosca/normative-types/DBMS/
normatives/import/tosca/normative-types/blockStorage/
normatives/import/tosca/normative-types/port/
normatives/import/tosca/normative-types/containerApplication/
normatives/import/tosca/normative-types/database/
normatives/import/tosca/normative-types/softwareComponent/
normatives/import/tosca/normative-types/containerRuntime/
normatives/import/tosca/annotation-types/
normatives/import/tosca/heat-types/
normatives/import/tosca/heat-types/subInterfaceV2/
normatives/import/tosca/heat-types/securityRules/
normatives/import/tosca/heat-types/multiFlavorVFC/
normatives/import/tosca/heat-types/vnfConfiguration/
normatives/import/tosca/heat-types/Generic_Service/
normatives/import/tosca/heat-types/contrailV2VirtualMachineInterface/
normatives/import/tosca/heat-types/novaServer/
normatives/import/tosca/heat-types/neutronPort/
normatives/import/tosca/heat-types/globalPort/
normatives/import/tosca/heat-types/globalNetwork/
normatives/import/tosca/heat-types/neutronNet/
normatives/import/tosca/heat-types/extVl/
normatives/import/tosca/heat-types/forwardingPath/
normatives/import/tosca/heat-types/contrailCompute/
normatives/import/tosca/heat-types/VLANNetworkReceptor/
normatives/import/tosca/heat-types/cinderVolume/
normatives/import/tosca/heat-types/Generic_CR/
normatives/import/tosca/heat-types/fabricConfiguration/
normatives/import/tosca/heat-types/extVirtualMachineInterfaceCP/
normatives/import/tosca/heat-types/contrailV2NetworkRules/
normatives/import/tosca/heat-types/Generic_VF/
normatives/import/tosca/heat-types/contrailV2VirtualNetwork/
normatives/import/tosca/heat-types/Generic_PNF/
normatives/import/tosca/heat-types/Generic_VFC/
normatives/import/tosca/heat-types/contrailV2VLANSubInterface/
normatives/import/tosca/heat-types/contrailVirtualNetwork/
normatives/import/tosca/heat-types/portMirroring/
normatives/import/tosca/heat-types/configuration/
normatives/import/tosca/heat-types/portMirroringByPolicy/
normatives/import/tosca/heat-types/subInterface/
normatives/import/tosca/heat-types/serviceProxy/
normatives/import/tosca/heat-types/extNeutronCP/
normatives/import/tosca/heat-types/VRFObject/
normatives/import/tosca/heat-types/vl/
normatives/import/tosca/heat-types/volume/
normatives/import/tosca/heat-types/extCp2/
normatives/import/tosca/heat-types/eline/
normatives/import/tosca/heat-types/contrailPort/
normatives/import/tosca/heat-types/abstractSubstitute/
normatives/import/tosca/heat-types/internalVl/
normatives/import/tosca/heat-types/globalCompute/
normatives/import/tosca/heat-types/contrailAbstractSubstitute/
normatives/import/tosca/heat-types/contrailNetworkRules/
normatives/import/tosca/heat-types/VRFEntry/
normatives/import/tosca/heat-types/contrailV2VLANSubInterfaceV2/
normatives/import/tosca/heat-types/extCp/
normatives/import/tosca/heat-types/extContrailCP/
normatives/import/tosca/interface-lifecycle-types/
normatives/import/tosca/data-types/
normatives/import/tosca/policy-types/
normatives/import/tosca/artifact-types/
normatives/import/tosca/group-types/
normatives/import/tosca/nfv-types/
normatives/import/tosca/nfv-types/overlayTunnel/
normatives/import/tosca/nfv-types/vduCompute/
normatives/import/tosca/nfv-types/extLocalStorage/
normatives/import/tosca/nfv-types/VDU/
normatives/import/tosca/nfv-types/genericNeutronNet/
normatives/import/tosca/nfv-types/allottedResource/
normatives/import/tosca/nfv-types/underlayVpn/
normatives/import/tosca/nfv-types/VNF/
normatives/import/tosca/nfv-types/extImageFile/
normatives/import/tosca/nfv-types/Cp/
normatives/import/tosca/nfv-types/vduCp/
normatives/import/tosca/nfv-types/NSD/
normatives/import/tosca/nfv-types/vnfVirtualLinkDesc/
normatives/import/tosca/nfv-types/vduVirtualStorage/
normatives/import/tosca/nfv-types/vnfVirtualLink/
normatives/import/tosca/nfv-types/extZteVDU/
normatives/import/tosca/nfv-types/extZteVL/
normatives/import/tosca/nfv-types/extZteCP/
normatives/import/tosca/relationship-types/relationshipTypes.yml
normatives/import/tosca/categories/categoryTypes.yml
normatives/import/tosca/users/importUsers.yaml
normatives/import/tosca/capability-types/capabilityTypes.yml
normatives/import/tosca/normative-types/webServer/webServer.yml
normatives/import/tosca/normative-types/webServer/webServer.json
normatives/import/tosca/normative-types/root/root.json
normatives/import/tosca/normative-types/root/root.yml
normatives/import/tosca/normative-types/webApplication/webApplication.json
normatives/import/tosca/normative-types/webApplication/webApplication.yml
normatives/import/tosca/normative-types/loadBalancer/loadBalancer.json
normatives/import/tosca/normative-types/loadBalancer/loadBalancer.yml
normatives/import/tosca/normative-types/network/network.yml
normatives/import/tosca/normative-types/network/network.json
normatives/import/tosca/normative-types/compute/compute.yml
normatives/import/tosca/normative-types/compute/compute.json
normatives/import/tosca/normative-types/objectStorage/objectStorage.yml
normatives/import/tosca/normative-types/objectStorage/objectStorage.json
normatives/import/tosca/normative-types/DBMS/DBMS.yml
normatives/import/tosca/normative-types/DBMS/DBMS.json
normatives/import/tosca/normative-types/blockStorage/blockStorage.yml
normatives/import/tosca/normative-types/blockStorage/blockStorage.json
normatives/import/tosca/normative-types/port/port.yml
normatives/import/tosca/normative-types/port/port.json
normatives/import/tosca/normative-types/containerApplication/containerApplication.json
normatives/import/tosca/normative-types/containerApplication/containerApplication.yml
normatives/import/tosca/normative-types/database/database.yml
normatives/import/tosca/normative-types/database/database.json
normatives/import/tosca/normative-types/softwareComponent/softwareComponent.yml
normatives/import/tosca/normative-types/softwareComponent/softwareComponent.json
normatives/import/tosca/normative-types/containerRuntime/containerRuntime.json
normatives/import/tosca/normative-types/containerRuntime/containerRuntime.yml
normatives/import/tosca/annotation-types/annotationTypes.yml
normatives/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.yml
normatives/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.json
normatives/import/tosca/heat-types/securityRules/securityRules.json
normatives/import/tosca/heat-types/securityRules/securityRules.yml
normatives/import/tosca/heat-types/multiFlavorVFC/multiFlavorVFC.json
normatives/import/tosca/heat-types/multiFlavorVFC/multiFlavorVFC.yml
normatives/import/tosca/heat-types/vnfConfiguration/vnfConfiguration.yml
normatives/import/tosca/heat-types/vnfConfiguration/vnfConfiguration.json
normatives/import/tosca/heat-types/Generic_Service/Generic_Service.yml
normatives/import/tosca/heat-types/Generic_Service/Generic_Service.json
normatives/import/tosca/heat-types/contrailV2VirtualMachineInterface/contrailV2VirtualMachineInterface.json
normatives/import/tosca/heat-types/contrailV2VirtualMachineInterface/contrailV2VirtualMachineInterface.yml
normatives/import/tosca/heat-types/novaServer/novaServer.json
normatives/import/tosca/heat-types/novaServer/novaServer.yml
normatives/import/tosca/heat-types/neutronPort/neutronPort.json
normatives/import/tosca/heat-types/neutronPort/neutronPort.yml
normatives/import/tosca/heat-types/globalPort/globalPort.json
normatives/import/tosca/heat-types/globalPort/globalPort.yml
normatives/import/tosca/heat-types/globalNetwork/globalNetwork.yml
normatives/import/tosca/heat-types/globalNetwork/globalNetwork.json
normatives/import/tosca/heat-types/neutronNet/neutronNet.yml
normatives/import/tosca/heat-types/neutronNet/neutronNet.json
normatives/import/tosca/heat-types/extVl/extVl.yml
normatives/import/tosca/heat-types/extVl/extVl.json
normatives/import/tosca/heat-types/forwardingPath/forwardingPath.json
normatives/import/tosca/heat-types/forwardingPath/forwardingPath.yml
normatives/import/tosca/heat-types/contrailCompute/contrailCompute.yml
normatives/import/tosca/heat-types/contrailCompute/contrailCompute.json
normatives/import/tosca/heat-types/VLANNetworkReceptor/VLANNetworkReceptor.yml
normatives/import/tosca/heat-types/VLANNetworkReceptor/VLANNetworkReceptor.json
normatives/import/tosca/heat-types/cinderVolume/cinderVolume.json
normatives/import/tosca/heat-types/cinderVolume/cinderVolume.yml
normatives/import/tosca/heat-types/Generic_CR/Generic_CR.json
normatives/import/tosca/heat-types/Generic_CR/Generic_CR.yml
normatives/import/tosca/heat-types/fabricConfiguration/fabricConfiguration.yml
normatives/import/tosca/heat-types/fabricConfiguration/fabricConfiguration.json
normatives/import/tosca/heat-types/extVirtualMachineInterfaceCP/extVirtualMachineInterfaceCP.yml
normatives/import/tosca/heat-types/extVirtualMachineInterfaceCP/extVirtualMachineInterfaceCP.json
normatives/import/tosca/heat-types/contrailV2NetworkRules/contrailV2NetworkRules.json
normatives/import/tosca/heat-types/contrailV2NetworkRules/contrailV2NetworkRules.yml
normatives/import/tosca/heat-types/Generic_VF/Generic_VF.yml
normatives/import/tosca/heat-types/Generic_VF/Generic_VF.json
normatives/import/tosca/heat-types/contrailV2VirtualNetwork/contrailV2VirtualNetwork.json
normatives/import/tosca/heat-types/contrailV2VirtualNetwork/contrailV2VirtualNetwork.yml
normatives/import/tosca/heat-types/Generic_PNF/Generic_PNF.json
normatives/import/tosca/heat-types/Generic_PNF/Generic_PNF.yml
normatives/import/tosca/heat-types/Generic_VFC/Generic_VFC.yml
normatives/import/tosca/heat-types/Generic_VFC/Generic_VFC.json
normatives/import/tosca/heat-types/contrailV2VLANSubInterface/contrailV2VLANSubInterface.yml
normatives/import/tosca/heat-types/contrailV2VLANSubInterface/contrailV2VLANSubInterface.json
normatives/import/tosca/heat-types/contrailVirtualNetwork/contrailVirtualNetwork.yml
normatives/import/tosca/heat-types/contrailVirtualNetwork/contrailVirtualNetwork.json
normatives/import/tosca/heat-types/portMirroring/portMirroring.yml
normatives/import/tosca/heat-types/portMirroring/portMirroring.json
normatives/import/tosca/heat-types/configuration/configuration.json
normatives/import/tosca/heat-types/configuration/configuration.yml
normatives/import/tosca/heat-types/portMirroringByPolicy/portMirroringByPolicy.yml
normatives/import/tosca/heat-types/portMirroringByPolicy/portMirroringByPolicy.json
normatives/import/tosca/heat-types/subInterface/subInterface.json
normatives/import/tosca/heat-types/subInterface/subInterface.yml
normatives/import/tosca/heat-types/serviceProxy/serviceProxy.yml
normatives/import/tosca/heat-types/serviceProxy/serviceProxy.json
normatives/import/tosca/heat-types/extNeutronCP/extNeutronCP.json
normatives/import/tosca/heat-types/extNeutronCP/extNeutronCP.yml
normatives/import/tosca/heat-types/VRFObject/VRFObject.yml
normatives/import/tosca/heat-types/VRFObject/VRFObject.json
normatives/import/tosca/heat-types/vl/vl.yml
normatives/import/tosca/heat-types/vl/vl.json
normatives/import/tosca/heat-types/volume/volume.yml
normatives/import/tosca/heat-types/volume/volume.json
normatives/import/tosca/heat-types/extCp2/extCp2.yml
normatives/import/tosca/heat-types/extCp2/extCp2.json
normatives/import/tosca/heat-types/eline/eline.json
normatives/import/tosca/heat-types/eline/eline.yml
normatives/import/tosca/heat-types/contrailPort/contrailPort.yml
normatives/import/tosca/heat-types/contrailPort/contrailPort.json
normatives/import/tosca/heat-types/abstractSubstitute/abstractSubstitute.yml
normatives/import/tosca/heat-types/abstractSubstitute/abstractSubstitute.json
normatives/import/tosca/heat-types/internalVl/internalVl.json
normatives/import/tosca/heat-types/internalVl/internalVl.yml
normatives/import/tosca/heat-types/globalCompute/globalCompute.yml
normatives/import/tosca/heat-types/globalCompute/globalCompute.json
normatives/import/tosca/heat-types/contrailAbstractSubstitute/contrailAbstractSubstitute.json
normatives/import/tosca/heat-types/contrailAbstractSubstitute/contrailAbstractSubstitute.yml
normatives/import/tosca/heat-types/contrailNetworkRules/contrailNetworkRules.yml
normatives/import/tosca/heat-types/contrailNetworkRules/contrailNetworkRules.json
normatives/import/tosca/heat-types/VRFEntry/VRFEntry.json
normatives/import/tosca/heat-types/VRFEntry/VRFEntry.yml
normatives/import/tosca/heat-types/contrailV2VLANSubInterfaceV2/contrailV2VLANSubInterfaceV2.yml
normatives/import/tosca/heat-types/contrailV2VLANSubInterfaceV2/contrailV2VLANSubInterfaceV2.json
normatives/import/tosca/heat-types/extCp/extCp.yml
normatives/import/tosca/heat-types/extCp/extCp.json
normatives/import/tosca/heat-types/extContrailCP/extContrailCP.yml
normatives/import/tosca/heat-types/extContrailCP/extContrailCP.json
normatives/import/tosca/interface-lifecycle-types/interfaceLifecycleTypes.yml
normatives/import/tosca/data-types/dataTypes.yml
normatives/import/tosca/policy-types/policyTypes.yml
normatives/import/tosca/policy-types/policyTypes.json
normatives/import/tosca/artifact-types/artifactTypes.yml
normatives/import/tosca/group-types/groupTypes.yml
normatives/import/tosca/group-types/groupTypes.json
normatives/import/tosca/nfv-types/overlayTunnel/overlayTunnel.yml
normatives/import/tosca/nfv-types/overlayTunnel/overlayTunnel.json
normatives/import/tosca/nfv-types/vduCompute/vduCompute.json
normatives/import/tosca/nfv-types/vduCompute/vduCompute.yml
normatives/import/tosca/nfv-types/extLocalStorage/extLocalStorage.json
normatives/import/tosca/nfv-types/extLocalStorage/extLocalStorage.yml
normatives/import/tosca/nfv-types/VDU/VDU.yml
normatives/import/tosca/nfv-types/VDU/VDU.json
normatives/import/tosca/nfv-types/genericNeutronNet/genericNeutronNet.json
normatives/import/tosca/nfv-types/genericNeutronNet/genericNeutronNet.yml
normatives/import/tosca/nfv-types/allottedResource/allottedResource.yml
normatives/import/tosca/nfv-types/allottedResource/allottedResource.json
normatives/import/tosca/nfv-types/underlayVpn/underlayVpn.json
normatives/import/tosca/nfv-types/underlayVpn/underlayVpn.yml
normatives/import/tosca/nfv-types/VNF/VNF.json
normatives/import/tosca/nfv-types/VNF/VNF.yml
normatives/import/tosca/nfv-types/extImageFile/extImageFile.json
normatives/import/tosca/nfv-types/extImageFile/extImageFile.yml
normatives/import/tosca/nfv-types/Cp/Cp.json
normatives/import/tosca/nfv-types/Cp/Cp.yml
normatives/import/tosca/nfv-types/vduCp/vduCp.json
normatives/import/tosca/nfv-types/vduCp/vduCp.yml
normatives/import/tosca/nfv-types/NSD/NSD.json
normatives/import/tosca/nfv-types/NSD/NSD.yml
normatives/import/tosca/nfv-types/vnfVirtualLinkDesc/vnfVirtualLinkDesc.json
normatives/import/tosca/nfv-types/vnfVirtualLinkDesc/vnfVirtualLinkDesc.yml
normatives/import/tosca/nfv-types/vduVirtualStorage/vduVirtualStorage.json
normatives/import/tosca/nfv-types/vduVirtualStorage/vduVirtualStorage.yml
normatives/import/tosca/nfv-types/vnfVirtualLink/vnfVirtualLink.json
normatives/import/tosca/nfv-types/vnfVirtualLink/vnfVirtualLink.yml
normatives/import/tosca/nfv-types/extZteVDU/extZteVDU.yml
normatives/import/tosca/nfv-types/extZteVDU/extZteVDU.json
normatives/import/tosca/nfv-types/extZteVL/extZteVL.yml
normatives/import/tosca/nfv-types/extZteVL/extZteVL.json
normatives/import/tosca/nfv-types/extZteCP/extZteCP.json
normatives/import/tosca/nfv-types/extZteCP/extZteCP.yml
normatives/scripts/
normatives/scripts/import/
normatives/scripts/import/tosca/
normatives/scripts/import/tosca/upgradeNormativeVersion.py
normatives/scripts/import/tosca/importOnapTypes.py
normatives/scripts/import/tosca/importNormativeInterfaceLifecycleTypes.py
normatives/scripts/import/tosca/importNormativeNoHeatAndNormativeTypes.py
normatives/scripts/import/tosca/importNormativeElements.py
normatives/scripts/import/tosca/importHeatTypes.py
normatives/scripts/import/tosca/importNormativeAll.py
normatives/scripts/import/tosca/importUsersFromYaml.py
normatives/scripts/import/tosca/importAnnotationTypes.py
normatives/scripts/import/tosca/importCategoryTypes.py
normatives/scripts/import/tosca/importNodeType.py
normatives/scripts/import/tosca/upgradeSolTypes.py
normatives/scripts/import/tosca/importNormativeTypes.py
normatives/scripts/import/tosca/importDataTypes.py
normatives/scripts/import/tosca/upgradeONAPTypes.py
normatives/scripts/import/tosca/typesToUpgrade.json
normatives/scripts/import/tosca/upgradeNormative.py
normatives/scripts/import/tosca/onapTypesToUpgrade.json
normatives/scripts/import/tosca/importNormativeCapabilities.py
normatives/scripts/import/tosca/importGroupTypes.py
normatives/scripts/import/tosca/upgradeHeatAndNormativeTypes.py
normatives/scripts/import/tosca/importCommon.py
normatives/scripts/import/tosca/importONAPNormativeAll.py
normatives/scripts/import/tosca/upgradeONAPNormative.py
normatives/scripts/import/tosca/upgradeNfvTypes.py
normatives/scripts/import/tosca/upgradeNormativeVersionAll.py
normatives/scripts/import/tosca/importPolicyTypes.py
normatives/scripts/import/tosca/upgradeHeatTypes1707.py
normatives/scripts/import/tosca/upgradeNormativeVersionProd1702_3537.py
normatives/scripts/import/tosca/importSolTypes.py
normatives/scripts/import/tosca/importNfvTypes.py
STDERR: + cd /tmp
+ tar xvfz /tmp/normatives.tar.gz
+ cd /tmp/normatives/scripts/import/tosca/
+ /bin/chmod +x importAnnotationTypes.py importCategoryTypes.py importCommon.py importDataTypes.py importGroupTypes.py importHeatTypes.py importNfvTypes.py importNodeType.py importNormativeAll.py importNormativeCapabilities.py importNormativeElements.py importNormativeInterfaceLifecycleTypes.py importNormativeNoHeatAndNormativeTypes.py importNormativeTypes.py importONAPNormativeAll.py importOnapTypes.py importPolicyTypes.py importSolTypes.py importUsersFromYaml.py upgradeHeatAndNormativeTypes.py upgradeHeatTypes1707.py upgradeNfvTypes.py upgradeNormative.py upgradeNormativeVersion.py upgradeNormativeVersionAll.py upgradeNormativeVersionProd1702_3537.py upgradeONAPNormative.py upgradeONAPTypes.py upgradeSolTypes.py
+ check_normative=/tmp/check_normative.out
++ curl -s -o /tmp/check_normative.out -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://sdc-be.onap:8080/sdc2/rest/v1/screen
+ status_code=200
+ '[' 200 '!=' 200 ']'
++ cat /tmp/check_normative.out
++ jq '.["resources"]|length'
+ resources_len=6
+ mkdir -p /var/lib/jetty/logs
+ '[' 6 -eq 0 ']'
+ python upgradeONAPNormative.py -i sdc-be.onap
+ rc=1
+ [[ 1 != 0 ]]
+ exit 1
---- End output of "bash" "/tmp/chef-script20190528-12-f8yutn" ----
Ran "bash" "/tmp/chef-script20190528-12-f8yutn" returned 1
[2019-05-28T13:59:05+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
[2019-05-28T13:59:05+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)