Hi,

I've tried blueprints(attached to this mail) for the CLAMP distribution from 
the SDC to create controlloop in CLAMP. But the distribution to the  CLAMP 
failed with deployment errors. Due to this I can't see any controlloop entries 
in CLAMP gui.
When I checked the CLAMP logs - found that there is an error because of an 
empty response received from DCAE inventory. But there was distribution to DCAE 
observed in SDC - distribution monitor tab.
I'm attaching logs as well as screenshots - can somebody assist on this issue. 
Thanks for your time.

[cid:[email protected]]

CLAMP - error.log
===============
2018-10-15T13:03:33,665Z|b2f59848-cd74-4f10-be28-09b7478aa443|ttp-nio-8080-exec-12|CldsService:
 GET healthcheck|Clamp-Health-Check|CLDS|isAuthorized|INFO|100|Authorization 
Error|GET healthcheck completed
2018-10-15T13:03:35,853Z||pool-4-thread-10|||||INFO|||Notification received for 
service UUID:82518bdd-6ac5-484a-b726-25f2ca001b64
2018-10-15T13:03:35,853Z||pool-4-thread-10|||||INFO|||Trying to download the 
artifact : 
/sdc/v1/catalog/services/Clamptest4/1.0/artifacts/service-Clamptest4-csar.csar 
UUID: 668fee60-29b6-488e-aada-dffff9271b16
2018-10-15T13:03:36,743Z||pool-4-thread-10|||||INFO|||Successfully downloaded 
the artifact 
/sdc/v1/catalog/services/Clamptest4/1.0/artifacts/service-Clamptest4-csar.csar 
UUID 668fee60-29b6-488e-aada-dffff9271b16Size of payload 80148
2018-10-15T13:03:36,743Z||pool-4-thread-10|||||INFO|||Writing CSAR file to: 
/tmp/sdc-controllers/sdc-controller/service-Clamptest4-csar.csar UUID 
668fee60-29b6-488e-aada-dffff9271b16)
2018-10-15T13:03:38,257Z||pool-4-thread-10|||||INFO|||Found a blueprint entry 
in the CSAR tca_docker_heat_m_v2.yaml for resource instance Name 
00e0654a-ed83-466b-a08c 0
2018-10-15T13:03:38,257Z||pool-4-thread-10|||||INFO|||1 blueprint(s) will be 
converted to closed loop
2018-10-15T13:03:38,259Z||pool-4-thread-10|||||INFO|||policyName found in 
blueprint tca_docker_heat_m_v2.yaml is get_input
2018-10-15T13:03:38,334Z||pool-4-thread-10|||||INFO|||Sending 
DOWNLOAD(DOWNLOAD_OK) notification to SDC for 
artifact:/sdc/v1/catalog/services/Clamptest4/1.0/artifacts/service-Clamptest4-csar.csar
2018-10-15T13:03:39,340Z||pool-4-thread-10|||||INFO|||SDC Notification sent 
successfully(sendDownloadStatus)
2018-10-15T13:03:39,340Z||pool-4-thread-10|||||INFO|||Sending 
DOWNLOAD(DOWNLOAD_OK) notification to SDC for 
artifact:/sdc/v1/catalog/services/Clamptest4/1.0/resourceInstances/00e0654aed83466ba08c0/artifacts/00e0654aed83466ba08c0_modules.json
2018-10-15T13:03:40,346Z||pool-4-thread-10|||||INFO|||SDC Notification sent 
successfully(sendDownloadStatus)
2018-10-15T13:03:40,348Z||pool-4-thread-10|||||INFO|||Installing the CSAR 
/tmp/sdc-controllers/sdc-controller/service-Clamptest4-csar.csar
2018-10-15T13:03:40,348Z||pool-4-thread-10|||||INFO|||Processing blueprint 
tca_docker_heat_m_v2.yaml
2018-10-15T13:03:40,350Z||pool-4-thread-10|||||INFO|||Mapping found for 
blueprint tca_docker_heat_m_v2.yaml is 
classpath:/clds/templates/bpmn/tca-template.xml
2018-10-15T13:03:40,352Z||pool-4-thread-10|||||INFO|||policyName found in 
blueprint tca_docker_heat_m_v2.yaml is get_input
2018-10-15T13:03:40,360Z||pool-4-thread-10|||||INFO|||Fake Clds Template 
created for blueprint tca_docker_heat_m_v2.yaml with name 
DCAE-Designer-Template-CLAMPClampTest4_v1_0_00e0654a-ed83-466b-a08c0
2018-10-15T13:03:40,360Z||pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||Dcae
 Inventory Service full url - 
http://inventory.onap:8080/dcae-service-types?asdcResourceId=ceff68b1-d4e0-439b-9fe4-c902ab91cc2c&asdcServiceId=a0fe0adb-51fa-4028-bfa7-ea17c10587f6&typeName=tca_docker_heat_m_v2.yaml
2018-10-15T13:03:40,360Z||pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||Using
 HTTP URL to contact 
DCAE:http://inventory.onap:8080/dcae-service-types?asdcResourceId=ceff68b1-d4e0-439b-9fe4-c902ab91cc2c&asdcServiceId=a0fe0adb-51fa-4028-bfa7-ea17c10587f6&typeName=tca_docker_heat_m_v2.yaml
2018-10-15T13:03:40,408Z|3a87825f-33e6-4bd7-b4e2-4d0f3e27a0e0|pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||Response
 Code: 200
2018-10-15T13:03:40,408Z|3a87825f-33e6-4bd7-b4e2-4d0f3e27a0e0|pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||Response
 Content: 
{"links":{"previousLink":null,"nextLink":null},"totalCount":0,"items":[]}
2018-10-15T13:03:40,431Z|3a87825f-33e6-4bd7-b4e2-4d0f3e27a0e0|pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||Dcae
 inventory totalCount returned is 0, so waiting 10000ms before retrying ...
2018-10-15T13:03:43,747Z|e83d3cfb-1edd-48a3-81da-736fb3282570|http-nio-8080-exec-5|CldsService:
 GET healthcheck|Clamp-Health-Check|CLDS|isAuthorized|INFO|100|Authorization 
Error|GET healthcheck completed
2018-10-15T13:03:50,431Z|3a87825f-33e6-4bd7-b4e2-4d0f3e27a0e0|pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||Using
 HTTP URL to contact 
DCAE:http://inventory.onap:8080/dcae-service-types?asdcResourceId=ceff68b1-d4e0-439b-9fe4-c902ab91cc2c&asdcServiceId=a0fe0adb-51fa-4028-bfa7-ea17c10587f6&typeName=tca_docker_heat_m_v2.yaml
2018-10-15T13:03:50,446Z|90fcf985-19db-45b8-ad8d-f7fc6a5a10c7|pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||Response
 Code: 200
2018-10-15T13:03:50,446Z|90fcf985-19db-45b8-ad8d-f7fc6a5a10c7|pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||Response
 Content: 
{"links":{"previousLink":null,"nextLink":null},"totalCount":0,"items":[]}
2018-10-15T13:03:50,446Z|90fcf985-19db-45b8-ad8d-f7fc6a5a10c7|pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||Dcae
 inventory totalCount returned is 0, so waiting 10000ms before retrying ...
2018-10-15T13:03:53,753Z|21bf2b9d-a651-4df7-9ad0-a5d3754ca9e5|ttp-nio-8080-exec-11|CldsService:
 GET healthcheck|Clamp-Health-Check|CLDS|isAuthorized|INFO|100|Authorization 
Error|GET healthcheck completed
2018-10-15T13:04:00,449Z|90fcf985-19db-45b8-ad8d-f7fc6a5a10c7|pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||Using
 HTTP URL to contact 
DCAE:http://inventory.onap:8080/dcae-service-types?asdcResourceId=ceff68b1-d4e0-439b-9fe4-c902ab91cc2c&asdcServiceId=a0fe0adb-51fa-4028-bfa7-ea17c10587f6&typeName=tca_docker_heat_m_v2.yaml
2018-10-15T13:04:00,498Z|b6010b19-496a-4425-8f5e-e0bd65e9f244|pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||Response
 Code: 200
2018-10-15T13:04:00,499Z|b6010b19-496a-4425-8f5e-e0bd65e9f244|pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||Response
 Content: 
{"links":{"previousLink":null,"nextLink":null},"totalCount":0,"items":[]}
2018-10-15T13:04:00,499Z|b6010b19-496a-4425-8f5e-e0bd65e9f244|pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||Dcae
 inventory totalCount returned is 0, so waiting 10000ms before retrying ...
2018-10-15T13:04:03,764Z|089c9cec-57c2-45cf-a4ff-321f81ce14e3|http-nio-8080-exec-7|CldsService:
 GET healthcheck|Clamp-Health-Check|CLDS|isAuthorized|INFO|100|Authorization 
Error|GET healthcheck completed
2018-10-15T13:04:10,500Z|b6010b19-496a-4425-8f5e-e0bd65e9f244|pool-4-thread-10|||DCAE|getDcaeInformation|WARN|||Dcae
 inventory totalCount returned is still 0, after 3 attempts, returning NULL
2018-10-15T13:04:10,533Z|b6010b19-496a-4425-8f5e-e0bd65e9f244|pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||policyName
 found in blueprint tca_docker_heat_m_v2.yaml is get_input
2018-10-15T13:04:10,560Z|b6010b19-496a-4425-8f5e-e0bd65e9f244|pool-4-thread-10|||DCAE|getDcaeInformation|ERROR|||Unexpected
 exception caught during the notification processing
java.lang.NullPointerException: null
        at 
org.onap.clamp.clds.sdc.controller.installer.CsarInstallerImpl.createFakeCldsModel(CsarInstallerImpl.java:266)
        at 
org.onap.clamp.clds.sdc.controller.installer.CsarInstallerImpl.installTheCsar(CsarInstallerImpl.java:134)
        at 
org.onap.clamp.clds.sdc.controller.installer.CsarInstallerImpl$$FastClassBySpringCGLIB$$c70b96f8.invoke(<generated>)
        at 
org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
        at 
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
        at 
org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
        at 
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
        at 
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
        at 
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)
        at 
org.onap.clamp.clds.sdc.controller.installer.CsarInstallerImpl$$EnhancerBySpringCGLIB$$e182f961.installTheCsar(<generated>)
        at 
org.onap.clamp.clds.sdc.controller.SdcSingleController.treatNotification(SdcSingleController.java:247)
        at 
org.onap.clamp.clds.sdc.controller.SdcSingleController$SdcNotificationCallBack.activateCallback(SdcSingleController.java:90)
        at 
org.onap.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-10-15T13:04:10,561Z|b6010b19-496a-4425-8f5e-e0bd65e9f244|pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||Sending
 DEPLOY(DEPLOY_ERROR) notification to SDC for 
artifact:/sdc/v1/catalog/services/Clamptest4/1.0/artifacts/service-Clamptest4-csar.csar
2018-10-15T13:04:11,564Z|b6010b19-496a-4425-8f5e-e0bd65e9f244|pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||SDC
 Notification sent successfully(sendDeploymentdStatus)
2018-10-15T13:04:11,565Z|b6010b19-496a-4425-8f5e-e0bd65e9f244|pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||Sending
 DEPLOY(DEPLOY_ERROR) notification to SDC for 
artifact:/sdc/v1/catalog/services/Clamptest4/1.0/resourceInstances/00e0654aed83466ba08c0/artifacts/00e0654aed83466ba08c0_modules.json
2018-10-15T13:04:12,572Z|b6010b19-496a-4425-8f5e-e0bd65e9f244|pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||SDC
 Notification sent successfully(sendDeploymentdStatus)


Thanks & Regards,

Vamshi Krishna | Tech Mahindra




[cid:[email protected]]<http://www.techmahindra.com/>






============================================================================================================================

Disclaimer:  This message and the information contained herein is proprietary 
and confidential and subject to the Tech Mahindra policy statement, you may 
review the policy at http://www.techmahindra.com/Disclaimer.html 
<http://www.techmahindra.com/Disclaimer.html> externally 
http://tim.techmahindra.com/tim/disclaimer.html 
<http://tim.techmahindra.com/tim/disclaimer.html> internally within 
TechMahindra.

============================================================================================================================

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13021): https://lists.onap.org/g/onap-discuss/message/13021
Mute This Topic: https://lists.onap.org/mt/27329171/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Attachment: tca_docker_heat_m_v2.yaml
Description: tca_docker_heat_m_v2.yaml

Reply via email to