2 answers
- 10-1
select the “Test API for Al-a-carte as”: VNF_API(old)
GR_API requires a different preload.json to preload SDNC
Add your comment... - 10-1
Kranthi,
- Check whether service model distribution succeeded at SDNC
- Login to SDNC and look at the karaf logs: /var/logs/onap/sdnc/karaf.log and see which DG is raising the issue
- Check if you have the Availability Zone set in AAI. If not, the assign will fail when using GR APIs
Marco
- kranthi guttikonda
SDNC karaf.log shows following error
2019-03-12T15:50:19,497 | INFO | qtp516254513-117 | RestapiCallNode | 235 - org.onap.ccsdk.sli.plugins.restapi-call-node-provider - 0.3.3 | - 70 (execute) | --- Expires:[Thu, 01 Jan 1970 00:00:00 GMT]
2019-03-12T15:50:19,497 | INFO | qtp516254513-117 | RestapiCallNode | 235 - org.onap.ccsdk.sli.plugins.restapi-call-node-provider - 0.3.3 | - 70 (execute) | --- Set-Cookie:[rememberMe=deleteMe; Path=/restconf; Max-Age=0; Expires=Mon, 11-Mar-2019 15:50:19 GMT, JSESSIONID=12h6zqzw4n59trmwkuy5m3soc;Path=/restconf]
2019-03-12T15:50:19,498 | INFO | qtp516254513-117 | RestapiCallNode | 235 - org.onap.ccsdk.sli.plugins.restapi-call-node-provider - 0.3.3 | - 70 (execute) | --- Transfer-Encoding:[chunked]
2019-03-12T15:50:19,498 | INFO | qtp516254513-117 | RestapiCallNode | 235 - org.onap.ccsdk.sli.plugins.restapi-call-node-provider - 0.3.3 | - 70 (execute) | HTTP response: {"errors":{"error":[{"error-type":"application","error-tag":"data-missing","error-message":"Request could not be completed because the relevant data model content does not exist "}]}}
2019-03-12T15:50:19,498 | INFO | qtp516254513-117 | JsonParser | 235 - org.onap.ccsdk.sli.plugins.restapi-call-node-provider - 0.3.3 | - 70 (execute) | Added property: errors.error_length: 1
2019-03-12T15:50:19,499 | INFO | qtp516254513-117 | JsonParser | 235 - org.onap.ccsdk.sli.plugins.restapi-call-node-provider - 0.3.3 | - 70 (execute) | Added property: errors.error[0].error-message : Request could not be completed because the relevant data model content does not exist
2019-03-12T15:50:19,499 | INFO | qtp516254513-117 | JsonParser | 235 - org.onap.ccsdk.sli.plugins.restapi-call-node-provider - 0.3.3 | - 70 (execute) | Added property: errors.error[0].error-tag : data-missing
2019-03-12T15:50:19,499 | INFO | qtp516254513-117 | JsonParser | 235 - org.onap.ccsdk.sli.plugins.restapi-call-node-provider - 0.3.3 | - 70 (execute) | Added property: errors.error[0].error-type : application
2019-03-12T15:50:19,500 | ERROR | qtp516254513-117 | ExecuteNodeExecutor | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | - 70 (execute) | Could not execute plugin. SvcLogic status will be set to failure.
org.onap.ccsdk.sli.core.sli.SvcLogicException: 404: null
at org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode.sendRequest(RestapiCallNode.java:387) [235:org.onap.ccsdk.sli.plugins.restapi-call-node-provider:0.3.3]
at org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode.sendRequest(RestapiCallNode.java:287) [235:org.onap.ccsdk.sli.plugins.restapi-call-node-provider:0.3.3]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54) [96:org.apache.aries.proxy:1.1.1]
at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119) [96:org.apache.aries.proxy:1.1.1]
at org.onap.ccsdk.sli.plugins.restapicall.$RestapiCallNode1130164920.sendRequest(Unknown Source) [235:org.onap.ccsdk.sli.plugins.restapi-call-node-provider:0.3.3]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
Add your comment...
Hi Team,
I am trying to instantiate a skeleton VNF using ONAP Casablanca release against openstack-helm (keystone v3 endpoint). I have followed instructions to update SO mariadb with multicloud endpoint using msb-iag.
I have pre-loaded SDNC with following information by following video (by Marco)
{
"input": {
"vnf-topology-information": {
"vnf-topology-identifier": {
"service-type": "a3415038-0c0d-4b7d-a98c-6eeb267fee2c",
"vnf-name": "vskeleton-03112019-1",
"vnf-type": "BaseSkeletonVsp..base_skeleton..module-0",
"generic-vnf-name": "vskeleton-vnf-03112019-1",
"generic-vnf-type": "base_skeleton_vsp 0"
},
"vnf-assignments": {
"availability-zones": [],
"vnf-networks": [],
"vnf-vms": []
},
"vnf-parameters":
[
{
"vnf-parameter-name": "skeleton_image_name",
"vnf-parameter-value": "af1a70b9-d51a-473d-a09a-56f7c48435e8"
},
{
"vnf-parameter-name": "skeleton_flavor_name",
"vnf-parameter-value": "nv.c4r8d0"
},
{
"vnf-parameter-name": "oam_net_id",
"vnf-parameter-value": "fe3a3c7b-6b66-4009-8bd9-f0c6308f0789"
},
{
"vnf-parameter-name": "key_name",
"vnf-parameter-value": "skeleton_key"
},
{
"vnf-parameter-name": "availability_zone_0",
"vnf-parameter-value": "nova"
},
{
"vnf-parameter-name": "cloud_env",
"vnf-parameter-value": "openstack"
}
]
},
"request-information": {
"request-id": "robot12",
"order-version": "1",
"notification-url": "openecomp.org",
"order-number": "1",
"request-action": "PreloadVNFRequest"
},
"sdnc-request-header": {
"svc-request-id": "robot12",
"svc-notification-url": "http:\/\/openecomp.org:8080\/adapters\/rest\/SDNCNotify",
"svc-action": "reserve"
}
}
}
While creating vf-module I am seeing the following error
2019-03-11T21:29:29.768Z|3a760c81-6b5e-4fba-ad7a-327bba24b948|camundaTaskExecutor-2|AssignVnfBB||BPMN|AssignVnfBB|ERROR|900|Exception in org.onap.so.bpmn.infrastructure.sdnc.tasks.SDNCAssignTasks.assignVnf |BPMN_GENERAL_EXCEPTION_ARG
2019-03-11T23:18:51.504Z|7b1d45e1-e50a-4cca-b046-fa792beef6f1|camundaTaskExecutor-1|AssignVfModuleBB||BPMN|AssignVfModuleBB|ERROR|300|Error from SDNC: No entries found in VFC_MODEL table for customization UUID |RA_RESPONSE_FROM_SDNC
2019-03-11T23:18:51.505Z|7b1d45e1-e50a-4cca-b046-fa792beef6f1|camundaTaskExecutor-1|AssignVfModuleBB||||ERROR|300|Error from SDNC: No entries found in VFC_MODEL table for customization UUID |Error from SDNC: No entries found in VFC_MODEL table for customization UUID
org.onap.so.client.exception.BadResponseException: Error from SDNC: No entries found in VFC_MODEL table for customization UUID
at org.onap.so.client.sdnc.SdnCommonTasks.validateSDNResponse(SdnCommonTasks.java:118)
at org.onap.so.client.sdnc.SDNCClient.post(SDNCClient.java:68)
at org.onap.so.client.orchestration.SDNCVfModuleResources.assignVfModule(SDNCVfModuleResources.java:58)
at org.onap.so.bpmn.infrastructure.sdnc.tasks.SDNCAssignTasks.assignVfModule(SDNCAssignTasks.java:105)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.camunda.bpm.engine.impl.javax.el.BeanELResolver.invoke(BeanELResolver.java:479)
at org.camunda.bpm.engine.impl.javax.el.CompositeELResolver.invoke(CompositeELResolver.java:397)
at org.camunda.bpm.engine.impl.juel.AstMethod.invoke(AstMethod.java:91)
at org.camunda.bpm.engine.impl.juel.AstMethod.eval(AstMethod.java:75)
at org.camunda.bpm.engine.impl.juel.AstEval.eval(AstEval.java:50)
at org.camunda.bpm.engine.impl.juel.AstNode.getValue(AstNode.java:26)
at org.camunda.bpm.engine.impl.juel.TreeValueExpression.getValue(TreeValueExpression.java:114)
at org.camunda.bpm.engine.impl.delegate.ExpressionGetInvocation.invoke(ExpressionGetInvocation.java:36)
at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:54)
at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:87)
at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:59)
at org.camunda.bpm.engine.impl.el.JuelExpression.getValue(JuelExpression.java:55)
at org.camunda.bpm.engine.impl.el.JuelExpression.getValue(JuelExpression.java:48)
at org.camunda.bpm.engine.impl.bpmn.behavior.ServiceTaskExpressionActivityBehavior$1.call(ServiceTaskExpressionActivityBehavior.java:47)
at org.camunda.bpm.engine.impl.bpmn.behavior.ServiceTaskExpressionActivityBehavior$1.call(ServiceTaskExpressionActivityBehavior.java:43)
at org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior.executeWithErrorPropagation(AbstractBpmnActivityBehavior.java:108)
at org.camunda.bpm.engine.impl.bpmn.behavior.ServiceTaskExpressionActivityBehavior.performExecution(ServiceTaskExpressionActivityBehavior.java:43)
at org.camunda.bpm.engine.impl.bpmn.behavior.TaskActivityBehavior.execute(TaskActivityBehavior.java:65)
at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityExecute$2.callback(PvmAtomicOperationActivityExecute.java:57)
at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityExecute$2.callback(PvmAtomicOperationActivityExecute.java:46)
at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.continueIfExecutionDoesNotAffectNextOperation(PvmExecutionImpl.java:1958)
at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityExecute.execute(PvmAtomicOperationActivityExecute.java:38)
at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityExecute.execute(PvmAtomicOperationActivityExecute.java:27)
at org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:91)
at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:125)
at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:104)
at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:79)
at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:618)
at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:594)
at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl$5.callback(PvmExecutionImpl.java:1897)
at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl$5.callback(PvmExecutionImpl.java:1894)
at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.continueExecutionIfNotCanceled(PvmExecutionImpl.java:1964)
at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.dispatchDelayedEventsAndPerformOperation(PvmExecutionImpl.java:1913)
at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.dispatchDelayedEventsAndPerformOperation(PvmExecutionImpl.java:1894)
at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionNotifyListenerStart.eventNotificationsCompleted(PvmAtomicOperationTransitionNotifyListenerStart.java:57)
at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionNotifyListenerStart.eventNotificationsCompleted(PvmAtomicOperationTransitionNotifyListenerStart.java:27)
at org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:65)
at org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:91)
at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:125)
at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:104)
at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:79)
at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:69)
at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:629)
at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:604)
at org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:58)
at org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:91)
at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:125)
at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:104)
at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:79)
at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:69)
at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:629)
at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:604)
at org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:58)
at org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:91)
at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:125)
at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:104)
at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:79)
at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:69)
at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:629)
at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:604)
at org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:58)
at org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:91)
at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:125)
at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:104)
at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:79)
at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:618)
at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:594)
at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionCreateScope.scopeCreated(PvmAtomicOperationTransitionCreateScope.java:34)
at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationCreateScope.execute(PvmAtomicOperationCreateScope.java:50)
at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationCreateScope.execute(PvmAtomicOperationCreateScope.java:24)
at org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:91)
at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:125)
at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:112)
at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext$1.call(CommandInvocationContext.java:95)
at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext$1.call(CommandInvocationContext.java:93)
at org.camunda.bpm.engine.impl.context.ProcessApplicationClassloaderInterceptor.call(ProcessApplicationClassloaderInterceptor.java:44)
at org.camunda.bpm.application.AbstractProcessApplication.execute(AbstractProcessApplication.java:114)
at org.camunda.bpm.application.AbstractProcessApplication.execute(AbstractProcessApplication.java:125)
at org.camunda.bpm.engine.impl.context.Context.executeWithinProcessApplication(Context.java:192)
at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:93)
at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:79)
at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:69)
at org.camunda.bpm.engine.impl.jobexecutor.AsyncContinuationJobHandler.execute(AsyncContinuationJobHandler.java:76)
at org.camunda.bpm.engine.impl.jobexecutor.AsyncContinuationJobHandler.execute(AsyncContinuationJobHandler.java:36)
at org.camunda.bpm.engine.impl.persistence.entity.JobEntity.execute(JobEntity.java:129)
at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:99)
at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:36)
at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)
at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:104)
at org.camunda.bpm.engine.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:42)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
at org.camunda.bpm.engine.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:40)
at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:66)
at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:30)
at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobHelper.executeJob(ExecuteJobHelper.java:36)
at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobHelper.executeJob(ExecuteJobHelper.java:29)
at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.executeJob(ExecuteJobsRunnable.java:88)
at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.run(ExecuteJobsRunnable.java:57)
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)
2019-03-11T23:18:51.506Z|7b1d45e1-e50a-4cca-b046-fa792beef6f1|camundaTaskExecutor-1|AssignVfModuleBB||BPMN|AssignVfModuleBB|ERROR|900|Exception in org.onap.so.bpmn.infrastructure.sdnc.tasks.SDNCAssignTasks.assignVfModule |BPMN_GENERAL_EXCEPTION_ARG
Please help me to solve this issue.
Thanks,
Kranthi