-
Bug
-
Resolution: Done
-
Highest
-
Amsterdam Release
-
None
-
SDC Sprint 6
I tried to distribute multiple different services from SDC. SDNC was able to download each service but ran into the same Error exception for all of them. To help you locate the problem I created a simple service that only includes a generic neutron network. Please see the error log and the the yaml file being distributed to SDNC below.
Error log
===============================================
INFO 2017-11-01 02:15:35.265 +0000 SdncUebCallback - Process TOSCA YAML file: /opt/onap/sdnc/ueb-listener/spool/incoming/testsimplenetkang1031/service-TestSimpleNetKang1031-template.yml
DEBUG 2017-11-01 02:15:35.265 +0000 ToscaTemplate - ToscaTemplate Loading YAMEL file /opt/onap/sdnc/ueb-listener/spool/incoming/testsimplenetkang1031/service-TestSimpleNetKang1031-template.yml
ERROR 2017-11-01 02:15:35.271 +0000 NotificationConsumer - Error exception occured when fetching with Cambria Client:null
DEBUG 2017-11-01 02:15:35.271 +0000 NotificationConsumer - Error exception occured when fetching with Cambria Client:null
java.lang.NullPointerException
at org.openecomp.sdc.toscaparser.api.ToscaTemplate.getMetaProperties(ToscaTemplate.java:596)
at org.openecomp.sdc.tosca.parser.impl.SdcCsarHelperImpl.getConformanceLevel(SdcCsarHelperImpl.java:574)
at org.openecomp.sdc.tosca.parser.impl.SdcToscaParserFactory.init(SdcToscaParserFactory.java:71)
at org.openecomp.sdc.tosca.parser.impl.SdcToscaParserFactory.getSdcCsarHelper(SdcToscaParserFactory.java:47)
at org.onap.ccsdk.sli.northbound.uebclient.SdncUebCallback.processToscaYaml(SdncUebCallback.java:545)
at org.onap.ccsdk.sli.northbound.uebclient.SdncUebCallback.handleSuccessfulDownload(SdncUebCallback.java:466)
at org.onap.ccsdk.sli.northbound.uebclient.SdncUebCallback.handleArtifact(SdncUebCallback.java:416)
at org.onap.ccsdk.sli.northbound.uebclient.SdncUebCallback.activateCallback(SdncUebCallback.java:268)
at org.openecomp.sdc.impl.NotificationConsumer.run(NotificationConsumer.java:71)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
=============================================
YAML file: /opt/onap/sdnc/ueb-listener/spool/incoming/testsimplenetkang1031/service-TestSimpleNetKang1031-template.yml
=============================================
tosca_definitions_version: tosca_simple_yaml_1_1
metadata:
invariantUUID: be4d56af-04a7-4dd5-97f9-d931a8f08c06
UUID: ef13f24b-7d56-48cb-baad-4ffe20699cf9
name: test-simple-net-kang-1031
description: Simple neutron network to test distribution to SDNC
type: Service
category: Network L1-3
serviceType: ''
serviceRole: ''
serviceEcompNaming: true
ecompGeneratedNaming: true
namingPolicy: ''
imports:
- nodes:
file: nodes.yml - datatypes:
file: data.yml - capabilities:
file: capabilities.yml - relationships:
file: relationships.yml - groups:
file: groups.yml - policies:
file: policies.yml - service-test-simple-net-kang-1031-interface:
file: service-TestSimpleNetKang1031-template-interface.yml - resource-Generic NeutronNet:
file: resource-GenericNeutronnet-template.yml
topology_template:
node_templates:
simple_neutron_network:
type: org.openecomp.resource.vl.GenericNeutronNet
metadata:
invariantUUID: f43c5d26-e409-473f-b76e-94ac364916f9
UUID: 698402d7-b5d4-4bae-8099-b5cfb3ebe67a
customizationUUID: e155b087-627e-4151-a911-90046b035ebd
version: '29.0'
name: Generic NeutronNet
description: Generic NeutronNet
type: VL
category: Generic
subcategory: Network Elements
resourceVendor: ATT (Tosca)
resourceVendorRelease: 1.0.0.wd03
resourceVendorModelNumber: ''
properties:
network_role: TestSimpleNetKang1031.simple-net
network_assignments:
is_external_network: false
ipv4_subnet_default_assignment:
min_subnets_count: 1
ecomp_generated_network_assignment: false
ipv6_subnet_default_assignment:
min_subnets_count: 1
exVL_naming:
ecomp_generated_naming: true
network_flows:
is_network_policy: false
is_bound_to_vpn: false
network_ecomp_naming:
ecomp_generated_naming: true
network_type: NEUTRON
network_technology: NEUTRON
network_homing:
ecomp_selected_instance_node_target: false
substitution_mappings:
node_type: org.openecomp.service.TestSimpleNetKang1031
capabilities:
genericneutronnet0.feature: - Generic NeutronNet 0
- feature
genericneutronnet0.virtual_linkable: - Generic NeutronNet 0
- virtual_linkable
requirements:
genericneutronnet0.dependency: - Generic NeutronNet 0
- dependency
- mentioned in
-
Page Loading...