Hi Team,

Am trying to do PNF CL. As part of this when distributing the service using 
below artifact got the below error at clamp backend.
reference link:
https://wiki.onap.org/display/DW/CDS+actor+support+in+Policy

can anyone take a look on below artifact and please point me to move further.

tosca_definitions_version: tosca_simple_yaml_1_0_0
topology_template:
policies:
-
operational.modifyconfig:
type: onap.policies.controlloop. Operational
version: 1.0.0
metadata:
policy-id: operational.modifyconfig
properties:
controlLoop:
version: 2.0.0
controlLoopName: ControlLoop-vFirewall-__ ResourceID__
trigger_policy: unique-policy-id-1- modifyConfig
timeout: 1200
abatement: false
policies:
- id: unique-policy-id-1- modifyConfig
name: modify_packet_gen_config
description:
actor: CDS # Choice of CDS as the actor
recipe: modify-config # Blueprint action-name
target:
resourceID: __ResourceID__
type: VNF
payload:
artifact_name: vfw-cds # Blueprint name
artifact_version: 1.0.0 # Blueprint version
mode: async # Blueprint mode type
data: '{"mapInfo":{"key":"val"}," arrayInfo":["one","two"]," paramInfo":"val"}' 
# Free-form json string supplied by CLAMP
retry: 0
timeout: 300
success: final_success
failure: final_failure
failure_timeout: final_failure_timeout
failure_retries: final_failure_retries
failure_exception: final_failure_exception
failure_guard: final_failure_guard

$ *kubectl logs dev-clamp-backend-6b945d4b55- pszcx -n onap --follow*

2021-02-02 09:09:05.234 [pool-4-thread-7] INFO  org.onap.clamp.clds.sdc. 
controller.installer. CsarHandler - Found a blueprint entry in the CSAR 
tca_k8s_clampnode.yaml for resource instance Name vFWCL_vPKG b798e4cc-2380 0
2021-02-02 09:09:05.234 [pool-4-thread-7] INFO  org.onap.clamp.clds.sdc. 
controller.installer. CsarHandler - 1 blueprint(s) will be converted to closed 
loop
2021-02-02 09:09:05.240 [pool-4-thread-7] INFO  org.onap.clamp.clds.sdc. 
controller.SdcSingleController - Sending DOWNLOAD(DOWNLOAD_OK) notification to 
SDC for artifact:/sdc/v1/catalog/ services/PnfServiceFeb201/1.0/ 
artifacts/service- PnfServiceFeb201-csar.csar
2021-02-02 09:09:05.240 [pool-4-thread-7] INFO  org.onap.sdc.impl. 
DistributionClientImpl - DistributionClient - sendDownloadStatus
2021-02-02 09:09:05.240 [pool-4-thread-7] INFO  org.onap.sdc.impl. 
DistributionClientImpl - DistributionClient - sendStatus
2021-02-02 09:09:05.342 [pool-220-thread-1] INFO  com.att.nsa.cambria.client. 
impl. CambriaSimplerBatchPublisher - sending 1 msgs to 
/events/SDC-DISTR-STATUS- TOPIC-AUTO. Oldest: 99 ms
2021-02-02 09:09:05.343 [pool-220-thread-1] WARN  com.att.nsa.apiClient.http. 
HttpClient - POST http://message-router.onap: 3904/events/SDC-DISTR-STATUS- 
TOPIC-AUTO ( http://message-router.onap:3904/events/SDC-DISTR-STATUS-TOPIC-AUTO 
) will send credentials over a clear channel.
2021-02-02 09:09:05.343 [pool-220-thread-1] INFO  com.att.nsa.apiClient.http. 
HttpClient - POST http://message-router.onap: 3904/events/SDC-DISTR-STATUS- 
TOPIC-AUTO ( http://message-router.onap:3904/events/SDC-DISTR-STATUS-TOPIC-AUTO 
) (as i2OSJMvRC7DqgIXJ) ...
2021-02-02 09:09:05.375 [pool-220-thread-1] INFO  com.att.nsa.apiClient.http. 
HttpClient -       --> HTTP/1.1 200 OK
2021-02-02 09:09:05.375 [pool-220-thread-1] INFO  com.att.nsa.cambria.client. 
impl. CambriaSimplerBatchPublisher - cambria reply ok (33 
ms):{"serverTimeMs":0,"count": 1}
2021-02-02 09:09:06.243 [pool-4-thread-7] INFO  org.onap.clamp.clds.sdc. 
controller.SdcSingleController - SDC Notification sent successfully( 
sendDownloadStatus)
2021-02-02 09:09:06.245 [pool-4-thread-7] INFO  org.onap.clamp.clds.sdc. 
controller.SdcSingleController - Sending DOWNLOAD(DOWNLOAD_OK) notification to 
SDC for artifact:/sdc/v1/catalog/ services/PnfServiceFeb201/1.0/ 
resourceInstances/vfwcl_ vpkgb798e4cc23800/artifacts/ vfwcl_vpkgb798e4cc23800_ 
modules.json
2021-02-02 09:09:06.245 [pool-4-thread-7] INFO  org.onap.sdc.impl. 
DistributionClientImpl - DistributionClient - sendDownloadStatus
2021-02-02 09:09:06.245 [pool-4-thread-7] INFO  org.onap.sdc.impl. 
DistributionClientImpl - DistributionClient - sendStatus
2021-02-02 09:09:06.347 [pool-221-thread-1] INFO  com.att.nsa.cambria.client. 
impl. CambriaSimplerBatchPublisher - sending 1 msgs to 
/events/SDC-DISTR-STATUS- TOPIC-AUTO. Oldest: 101 ms
2021-02-02 09:09:06.348 [pool-221-thread-1] WARN  com.att.nsa.apiClient.http. 
HttpClient - POST http://message-router.onap: 3904/events/SDC-DISTR-STATUS- 
TOPIC-AUTO ( http://message-router.onap:3904/events/SDC-DISTR-STATUS-TOPIC-AUTO 
) will send credentials over a clear channel.
2021-02-02 09:09:06.348 [pool-221-thread-1] INFO  com.att.nsa.apiClient.http. 
HttpClient - POST http://message-router.onap: 3904/events/SDC-DISTR-STATUS- 
TOPIC-AUTO ( http://message-router.onap:3904/events/SDC-DISTR-STATUS-TOPIC-AUTO 
) (as i2OSJMvRC7DqgIXJ) ...
2021-02-02 09:09:06.357 [pool-221-thread-1] INFO  com.att.nsa.apiClient.http. 
HttpClient -       --> HTTP/1.1 200 OK
2021-02-02 09:09:06.357 [pool-221-thread-1] INFO  com.att.nsa.cambria.client. 
impl. CambriaSimplerBatchPublisher - cambria reply ok (10 
ms):{"serverTimeMs":0,"count": 1}
2021-02-02 09:09:07.247 [pool-4-thread-7] INFO  org.onap.clamp.clds.sdc. 
controller.SdcSingleController - SDC Notification sent successfully( 
sendDownloadStatus)
2021-02-02 09:09:07.247 [pool-4-thread-7] INFO  org.onap.clamp.loop. 
CsarInstaller - Installing the CSAR /tmp/sdc-controllers/sdc- 
controller/service- PnfServiceFeb201-csar.csar
2021-02-02 09:09:07.252 [pool-4-thread-7] INFO  org.onap.clamp.loop.service. 
CsarServiceInstaller - Start to install the Service from csar
2021-02-02 09:09:07.257 [pool-4-thread-7] INFO  org.onap.clamp.loop.service. 
CsarServiceInstaller - Successfully installed the Service
2021-02-02 09:09:07.265 [pool-4-thread-7] WARN  org.onap.clamp.loop.cds. 
CdsDataInstaller - Skipping CDS data installation in Service, as 
sdnc_model_name and sdnc_model_version are not provided in the CSAR
2021-02-02 09:09:07.268 [pool-4-thread-7] INFO  org.onap.clamp.loop. 
CsarInstaller - Installing the Loops
2021-02-02 09:09:07.270 [pool-4-thread-7] INFO  org.onap.clamp.loop. 
CsarInstaller - Processing blueprint tca_k8s_clampnode.yaml
*2021-02-02 09:09:07.272 [pool-4-thread-7] ERROR org.onap.clamp.clds.sdc. 
controller.SdcSingleController - Unexpected exception caught during the 
notification processing
java.lang. NullPointerException: null
at org.onap.clamp.clds.sdc. controller.installer. BlueprintParser. 
getMicroServices( BlueprintParser.java:80)
at org.onap.clamp.loop. CsarInstaller. createLoopTemplateFromBlueprin 
t(CsarInstaller.java:163)
at org.onap.clamp.loop. CsarInstaller. installTheLoopTemplates( 
CsarInstaller.java:143)
at org.onap.clamp.loop. CsarInstaller.installTheCsar( CsarInstaller.java:123)
at org.onap.clamp.clds.sdc. controller. SdcSingleController. treatNotification( 
SdcSingleController.java:277)
at org.onap.clamp.clds.sdc. controller. SdcSingleController$ 
SdcNotificationCallBack. activateCallback( SdcSingleController.java:100)
at org.onap.sdc.impl. NotificationConsumer.run( NotificationConsumer.java:71)
at java.base/java.util. concurrent.Executors$ RunnableAdapter.call( 
Executors.java:515)
at java.base/java.util. concurrent.FutureTask. runAndReset(FutureTask.java: 305)
at java.base/java.util. concurrent. ScheduledThreadPoolExecutor$ 
ScheduledFutureTask.run( ScheduledThreadPoolExecutor. java:305)
at java.base/java.util. concurrent.ThreadPoolExecutor. 
runWorker(ThreadPoolExecutor. java:1128)
at java.base/java.util. concurrent.ThreadPoolExecutor$ 
Worker.run(ThreadPoolExecutor. java:628)
at java.base/java.lang.Thread. run(Thread.java:834)*
*2021-02-02 09:09:07.272 [pool-4-thread-7] INFO  org.onap.clamp.clds.sdc. 
controller.SdcSingleController - Sending DEPLOY(DEPLOY_ERROR) notification to 
SDC for artifact:/sdc/v1/catalog/ services/PnfServiceFeb201/1.0/ 
artifacts/service- PnfServiceFeb201-csar.csar*
2021-02-02 09:09:07.272 [pool-4-thread-7] INFO  org.onap.sdc.impl. 
DistributionClientImpl - DistributionClient - sendDeploymentStatus
2021-02-02 09:09:07.272 [pool-4-thread-7] INFO  org.onap.sdc.impl. 
DistributionClientImpl - DistributionClient - sendStatus
2021-02-02 09:09:07.375 [pool-222-thread-1] INFO  com.att.nsa.cambria.client. 
impl. CambriaSimplerBatchPublisher - sending 1 msgs to 
/events/SDC-DISTR-STATUS- TOPIC-AUTO. Oldest: 100 ms
2021-02-02 09:09:07.376 [pool-222-thread-1] WARN  com.att.nsa.apiClient.http. 
HttpClient - POST http://message-router.onap: 3904/events/SDC-DISTR-STATUS- 
TOPIC-AUTO ( http://message-router.onap:3904/events/SDC-DISTR-STATUS-TOPIC-AUTO 
) will send credentials over a clear channel.
2021-02-02 09:09:07.376 [pool-222-thread-1] INFO  com.att.nsa.apiClient.http. 
HttpClient - POST http://message-router.onap: 3904/events/SDC-DISTR-STATUS- 
TOPIC-AUTO ( http://message-router.onap:3904/events/SDC-DISTR-STATUS-TOPIC-AUTO 
) (as i2OSJMvRC7DqgIXJ) ...
2021-02-02 09:09:07.382 [pool-222-thread


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22799): https://lists.onap.org/g/onap-discuss/message/22799
Mute This Topic: https://lists.onap.org/mt/80350222/21656
Mute #frankfurt:https://lists.onap.org/g/onap-discuss/mutehashtag/frankfurt
Mute #sdc:https://lists.onap.org/g/onap-discuss/mutehashtag/sdc
Mute #clamp:https://lists.onap.org/g/onap-discuss/mutehashtag/clamp
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to