1
0
-1

Hi experts,

I have installed Amsterdam release, one question about he ASDC module.

It's expected that SO ASDC module cannot save anything to mariaDb in VOLTE use case ?

In my case, i created the VSP CSAR named fh-cer-09.csar with vnfsdk, and then created the VF , Network service step by step .

But when i distribute the Network Service, it throws ArtifactInstallerException in ASDC debuglogs. It is becaused that there is no resource artifacts in this case.

The Null value caused the exception. It's the expected behavior or not ?



Below are the ASDC debug LOGs

***************************************************************
***************************************************************

2018-01-02T05:55:36.514Z|39ad999f-3b02-4629-b40d-34b36d0f1143|MSO-ASDC-5327I Receive a callback notification in ASDC, nb of artifacts: 0 (ServiceUUID:9cfbda7b-fa92-4208-b9e1-442ada78ed5d)
2018-01-02T05:55:36.514Z|39ad999f-3b02-4629-b40d-34b36d0f1143|ASDC Notification:
DistributionID:39ad999f-3b02-4629-b40d-34b36d0f1143
ServiceName:fh-cer-test-010201
ServiceVersion:1.0
ServiceUUID:9cfbda7b-fa92-4208-b9e1-442ada78ed5d
ServiceInvariantUUID:0b7edfc4-7d04-4eb0-aad3-3975552159ac
ServiceDescription:fh-cer-test-010201
Service Artifacts List:
{
Service Artifacts Info:
ArtifactName:service-FhCerTest010201-csar.csar
ArtifactVersion:1
ArtifactType:TOSCA_CSAR
ArtifactDescription:TOSCA definition package of the asset
ArtifactTimeout:0
ArtifactURL:/sdc/v1/catalog/services/FhCerTest010201/1.0/artifacts/service-FhCerTest010201-csar.csar
ArtifactUUID:37b46737-f0c7-4c2a-8352-a5f2c215d510
ArtifactChecksum:MGU2NDE3NzVjMzFlODYyYTA1ODhiMmUxZDQ1NzhlZDA=
GeneratedArtifact:{NULL
}
RelatedArtifacts:{
}


}

Resource Instances List:
{
Resource Instance Info:
ResourceInstanceName:fh-cer-09 0
ResourceCustomizationUUID:7126768e-a483-4084-bd41-684484f9ae1a
ResourceInvariantUUID:9b83c943-7a28-44fb-9281-8108eafac1c3
ResourceName:fh-cer-09
ResourceType:VF
ResourceUUID:7fc58e4d-79fa-49a8-8374-b062d379855e
ResourceVersion:1.0
Category:Network L2-3
SubCategory:LAN Connectors
Resource Artifacts List:
NULL


}


2018-01-02T05:55:36.514Z|39ad999f-3b02-4629-b40d-34b36d0f1143|MSO-ASDC-5328I Notification is ServiceVNF, (ServiceUUID:9cfbda7b-fa92-4208-b9e1-442ada78ed5d)
2018-01-02T05:55:36.514Z|39ad999f-3b02-4629-b40d-34b36d0f1143|MSO-ASDC-5312I ResourceInstanceName:fh-cer-09 0 (ResourceUUID:7126768e-a483-4084-bd41-684484f9ae1a) is not yet deployed for this Service:fh-cer-test-010201/1.0(ServiceUUID:9cfbda7b-fa92-4208-b9e1-442ada78ed5d) (ResourceName: fh-cer-09)
2018-01-02T05:55:36.514Z|39ad999f-3b02-4629-b40d-34b36d0f1143|Trying to download the artifact : /sdc/v1/catalog/services/FhCerTest010201/1.0/artifacts/service-FhCerTest010201-csar.csar(UUID:37b46737-f0c7-4c2a-8352-a5f2c215d510)
2018-01-02T05:55:36.515Z|39ad999f-3b02-4629-b40d-34b36d0f1143|DistributionClient - download
2018-01-02T05:55:36.587Z|39ad999f-3b02-4629-b40d-34b36d0f1143|MSO-ASDC-5321I Artifact successfully downloaded:/sdc/v1/catalog/services/FhCerTest010201/1.0/artifacts/service-FhCerTest010201-csar.csar (UUID:37b46737-f0c7-4c2a-8352-a5f2c215d510) (SIZE in Bytes:39606)
2018-01-02T05:55:36.588Z|39ad999f-3b02-4629-b40d-34b36d0f1143|MSO-ASDC-5325I Sending DOWNLOAD (DOWNLOAD_OK) notification to ASDC for artifact:/sdc/v1/catalog/services/FhCerTest010201/1.0/artifacts/service-FhCerTest010201-csar.csar
2018-01-02T05:55:36.588Z|39ad999f-3b02-4629-b40d-34b36d0f1143|Sending DOWNLOAD(DOWNLOAD_OK) notification to ASDC for artifact:/sdc/v1/catalog/services/FhCerTest010201/1.0/artifacts/service-FhCerTest010201-csar.csar
2018-01-02T05:55:36.588Z|39ad999f-3b02-4629-b40d-34b36d0f1143|DistributionClient - sendDownloadStatus
2018-01-02T05:55:36.588Z|39ad999f-3b02-4629-b40d-34b36d0f1143|DistributionClient - sendStatus
2018-01-02T05:55:36.694Z|39ad999f-3b02-4629-b40d-34b36d0f1143|sending 1 msgs to /events/SDC-DISTR-STATUS-TOPIC-AUTO. Oldest: 100 ms
2018-01-02T05:55:36.695Z|39ad999f-3b02-4629-b40d-34b36d0f1143|POST http://10.0.11.1:3904/events/SDC-DISTR-STATUS-TOPIC-AUTO will send credentials over a clear channel.
2018-01-02T05:55:36.695Z|39ad999f-3b02-4629-b40d-34b36d0f1143|POST http://10.0.11.1:3904/events/SDC-DISTR-STATUS-TOPIC-AUTO (as nM8G19tHJ0EkDJuG) ...
2018-01-02T05:55:36.701Z|39ad999f-3b02-4629-b40d-34b36d0f1143| --> HTTP/1.1 200 OK
2018-01-02T05:55:36.701Z|39ad999f-3b02-4629-b40d-34b36d0f1143|cambria reply ok (7 ms):{"serverTimeMs":1,"count":1}
2018-01-02T05:55:37.594Z|39ad999f-3b02-4629-b40d-34b36d0f1143|
2018-01-02T05:55:37.595Z|39ad999f-3b02-4629-b40d-34b36d0f1143|Trying to download the artifact : /sdc/v1/catalog/services/FhCerTest010201/1.0/artifacts/service-FhCerTest010201-csar.csar(UUID:37b46737-f0c7-4c2a-8352-a5f2c215d510)
2018-01-02T05:55:37.595Z|39ad999f-3b02-4629-b40d-34b36d0f1143|MSO-ASDC-5328I Notification is ServiceVNF, (ServiceUUID:***WRITE FILE ARTIFACT NAME)
2018-01-02T05:55:37.596Z|39ad999f-3b02-4629-b40d-34b36d0f1143|MSO-ASDC-5328I Notification is ServiceVNF, (ServiceUUID:***PATH)
2018-01-02T05:55:37.783Z|39ad999f-3b02-4629-b40d-34b36d0f1143|####################################################################################################
2018-01-02T05:55:37.783Z|39ad999f-3b02-4629-b40d-34b36d0f1143|CSAR Warnings found! CSAR name - /etc/mso/config.d/ASDC/service-FhCerTest010201-csar.csar
2018-01-02T05:55:37.783Z|39ad999f-3b02-4629-b40d-34b36d0f1143|ToscaTemplate - verifyTemplate - 23 Parsing Warnings occurred...
2018-01-02T05:55:37.783Z|39ad999f-3b02-4629-b40d-34b36d0f1143|Schema definition of "disk_bus" has "status" attribute with an invalid value. CSAR name - /etc/mso/config.d/ASDC/service-FhCerTest010201-csar.csar
2018-01-02T05:55:37.783Z|39ad999f-3b02-4629-b40d-34b36d0f1143|Schema definition of "swap_size" has "status" attribute with an invalid value. CSAR name - /etc/mso/config.d/ASDC/service-FhCerTest010201-csar.csar
2018-01-02T05:55:37.783Z|39ad999f-3b02-4629-b40d-34b36d0f1143|Schema definition of "delete_on_termination" has "status" attribute with an invalid value. CSAR name - /etc/mso/config.d/ASDC/service-FhCerTest010201-csar.csar
2018-01-02T05:55:37.783Z|39ad999f-3b02-4629-b40d-34b36d0f1143|MissingRequiredFieldError: properties of template "fh-cer-09 0" are missing field(s): [nf_function, nf_naming_code, nf_role, min_instances, max_instances, nf_type]. CSAR name - /etc/mso/config.d/ASDC/service-FhCerTest010201-csar.csar
2018-01-02T05:55:37.783Z|39ad999f-3b02-4629-b40d-34b36d0f1143|Schema definition of "backup_id" has "status" attribute with an invalid value. CSAR name - /etc/mso/config.d/ASDC/service-FhCerTest010201-csar.csar
2018-01-02T05:55:37.783Z|39ad999f-3b02-4629-b40d-34b36d0f1143|Schema definition of "availability_zone" has "status" attribute with an invalid value. CSAR name - /etc/mso/config.d/ASDC/service-FhCerTest010201-csar.csar
2018-01-02T05:55:37.783Z|39ad999f-3b02-4629-b40d-34b36d0f1143|Schema definition of "description" has "status" attribute with an invalid value. CSAR name - /etc/mso/config.d/ASDC/service-FhCerTest010201-csar.csar
2018-01-02T05:55:37.783Z|39ad999f-3b02-4629-b40d-34b36d0f1143|Schema definition of "volume_type" has "status" attribute with an invalid value. CSAR name - /etc/mso/config.d/ASDC/service-FhCerTest010201-csar.csar
2018-01-02T05:55:37.783Z|39ad999f-3b02-4629-b40d-34b36d0f1143|MissingRequiredFieldError: properties of template "vcpe_cp" are missing field(s): [guest_os_mtu, bandwidth, interface_name, allowed_address_pairs, bond, proxiedVNFs, sfc_encapsulation, floating_ip_address, service_ip_address, mac_address, proxiedVNFtype, macbond, vnic_type, direction, order]. CSAR name - /etc/mso/config.d/ASDC/service-FhCerTest010201-csar.csar
2018-01-02T05:55:37.783Z|39ad999f-3b02-4629-b40d-34b36d0f1143|MissingRequiredFieldError2: properties of template "CinderVolume 0" are missing field(s): [size]. CSAR name - /etc/mso/config.d/ASDC/service-FhCerTest010201-csar.csar
2018-01-02T05:55:37.783Z|39ad999f-3b02-4629-b40d-34b36d0f1143|MissingRequiredFieldError: properties of template "vcpe_vl" are missing field(s): [segmentation_id, is_predefined, mtu, dns_nameservers, physical_network, dhcp_enabled, network_id, host_routes, vendor, vlan_transparent, network_type, location_info]. CSAR name - /etc/mso/config.d/ASDC/service-FhCerTest010201-csar.csar
2018-01-02T05:55:37.783Z|39ad999f-3b02-4629-b40d-34b36d0f1143|Schema definition of "scheduler_hints" has "status" attribute with an invalid value. CSAR name - /etc/mso/config.d/ASDC/service-FhCerTest010201-csar.csar
2018-01-02T05:55:37.784Z|39ad999f-3b02-4629-b40d-34b36d0f1143|Schema definition of "boot_index" has "status" attribute with an invalid value. CSAR name - /etc/mso/config.d/ASDC/service-FhCerTest010201-csar.csar
2018-01-02T05:55:37.784Z|39ad999f-3b02-4629-b40d-34b36d0f1143|Schema definition of "name" has "status" attribute with an invalid value. CSAR name - /etc/mso/config.d/ASDC/service-FhCerTest010201-csar.csar
2018-01-02T05:55:37.784Z|39ad999f-3b02-4629-b40d-34b36d0f1143|Schema definition of "metadata" has "status" attribute with an invalid value. CSAR name - /etc/mso/config.d/ASDC/service-FhCerTest010201-csar.csar
2018-01-02T05:55:37.784Z|39ad999f-3b02-4629-b40d-34b36d0f1143|Schema definition of "multiattach" has "status" attribute with an invalid value. CSAR name - /etc/mso/config.d/ASDC/service-FhCerTest010201-csar.csar
2018-01-02T05:55:37.784Z|39ad999f-3b02-4629-b40d-34b36d0f1143|MissingRequiredFieldError: properties of template "vcpe_image" are missing field(s): [version]. CSAR name - /etc/mso/config.d/ASDC/service-FhCerTest010201-csar.csar
2018-01-02T05:55:37.784Z|39ad999f-3b02-4629-b40d-34b36d0f1143|MissingRequiredFieldError: Data value of type "org.openecomp.datatypes.Naming" is missing required field(s) "[supplemental_data]". CSAR name - /etc/mso/config.d/ASDC/service-FhCerTest010201-csar.csar
2018-01-02T05:55:37.784Z|39ad999f-3b02-4629-b40d-34b36d0f1143|Schema definition of "image" has "status" attribute with an invalid value. CSAR name - /etc/mso/config.d/ASDC/service-FhCerTest010201-csar.csar
2018-01-02T05:55:37.784Z|39ad999f-3b02-4629-b40d-34b36d0f1143|Schema definition of "device_type" has "status" attribute with an invalid value. CSAR name - /etc/mso/config.d/ASDC/service-FhCerTest010201-csar.csar
2018-01-02T05:55:37.784Z|39ad999f-3b02-4629-b40d-34b36d0f1143|Schema definition of "source_volid" has "status" attribute with an invalid value. CSAR name - /etc/mso/config.d/ASDC/service-FhCerTest010201-csar.csar
2018-01-02T05:55:37.784Z|39ad999f-3b02-4629-b40d-34b36d0f1143|MissingRequiredFieldError: properties of template "vcpe_vdu" are missing field(s): [manual_scale_select_vim, vdu_type, watchdog, local_affinity_antiaffinity_rule, support_scaling, storage_policy, key_vdu, location_info, inject_data_list]. CSAR name - /etc/mso/config.d/ASDC/service-FhCerTest010201-csar.csar
2018-01-02T05:55:37.784Z|39ad999f-3b02-4629-b40d-34b36d0f1143|Schema definition of "read_only" has "status" attribute with an invalid value. CSAR name - /etc/mso/config.d/ASDC/service-FhCerTest010201-csar.csar
2018-01-02T05:55:37.784Z|39ad999f-3b02-4629-b40d-34b36d0f1143|####################################################################################################
2018-01-02T05:55:37.784Z|39ad999f-3b02-4629-b40d-34b36d0f1143|CSAR Notification:

Service Level Properties:
Name:fh-cer-test-010201
Description:fh-cer-test-010201
Model UUID:9cfbda7b-fa92-4208-b9e1-442ada78ed5d
Model Version:null
Model InvariantUuid:0b7edfc4-7d04-4eb0-aad3-3975552159ac

VNF Level Properties:
Model Name:fh-cer-09
Description:fh-cer-09
Version:1.0
Type:VF
InvariantUuid:9b83c943-7a28-44fb-9281-8108eafac1c3
Max Instances:null
Min Instances:null

VNF Customization Properties:
Customization UUID:7126768e-a483-4084-bd41-684484f9ae1a
NFFunction:null
NFCode:null
NFRole:null
NFType:null

VF Module Properties:

NETWORK Level Properties:

Allotted Resource Properties:

2018-01-02T05:55:37.785Z|39ad999f-3b02-4629-b40d-34b36d0f1143|MSO-ASDC-5323I Trying to deploy the artifact:fh-cer-09 0 (UUID:7fc58e4d-79fa-49a8-8374-b062d379855e)
2018-01-02T05:55:37.785Z|39ad999f-3b02-4629-b40d-34b36d0f1143|MSO-ASDC-5322E Artifact :fh-cer-09 could not be downloaded correctly from ASDC URL 7fc58e4d-79fa-49a8-8374-b062d379855e (UUID:0) Error message is {3})
2018-01-02T05:55:37.785Z|39ad999f-3b02-4629-b40d-34b36d0f1143|MSO-ASDC-9300E Exception: Exception caught during Installation of artifact
2018-01-02T05:55:37.785Z|39ad999f-3b02-4629-b40d-34b36d0f1143|MSO-ASDC-9300E Exception: org.openecomp.mso.asdc.client.exceptions.ArtifactInstallerException: VfModule Meta DATA could not be decoded properly or was not present in the notification - at org.openecomp.mso.asdc.installer.VfResourceStructure.createVfModuleStructures(VfResourceStructure.java:145) - at org.openecomp.mso.asdc.client.ASDCController.deployResourceStructure(ASDCController.java:446) - at org.openecomp.mso.asdc.client.ASDCController.processResourceNotification(ASDCController.java:611) - at org.openecomp.mso.asdc.client.ASDCController.treatNotification(ASDCController.java:568) - at org.openecomp.mso.asdc.client.ASDCController$ASDCNotificationCallBack.activateCallback(ASDCController.java:95) - 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) -
2018-01-02T05:55:37.785Z|39ad999f-3b02-4629-b40d-34b36d0f1143|Exception raised
org.openecomp.mso.asdc.client.exceptions.ArtifactInstallerException: VfModule Meta DATA could not be decoded properly or was not present in the notification
at org.openecomp.mso.asdc.installer.VfResourceStructure.createVfModuleStructures(VfResourceStructure.java:145) ~[classes:na]
at org.openecomp.mso.asdc.client.ASDCController.deployResourceStructure(ASDCController.java:446) [classes:na]
at org.openecomp.mso.asdc.client.ASDCController.processResourceNotification(ASDCController.java:611) [classes:na]
at org.openecomp.mso.asdc.client.ASDCController.treatNotification(ASDCController.java:568) [classes:na]
at org.openecomp.mso.asdc.client.ASDCController$ASDCNotificationCallBack.activateCallback(ASDCController.java:95) [classes:na]
at org.openecomp.sdc.impl.NotificationConsumer.run(NotificationConsumer.java:71) [sdc-distribution-client-1.1.32.jar:na]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_151]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [na:1.8.0_151]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_151]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [na:1.8.0_151]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_151]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_151]
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_151]

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      DId you solved it? Can you tell me the solutions?

      Thanks 

      ChangJun

        CommentAdd your comment...