Dear All,
During the vLB_CDS demo service assign and activation phase, service
instantiation has failed with below error.
"requestId" : "8571a445-1246-4e40-b5ff-a3dadff09268" ,
"requestStatus" : "ROLLED_BACK" ,
"statusMessage" : "Failed to create self-serve assignment for vf-module with
vf-module-id=a36f564a-ef7d-4f15-b9bb-0b21d17eeb7d with error: Failed to get RA
assignments: Error from ConfigAssignmentNode" ,
"rollbackStatusMessage" : "Rollback has been completed successfully." ,
"flowStatus" : "All Rollback flows have completed successfully" ,
"progress" : 100 ,
"startTime" : "2020-11-19T14:18:40.000+0000" ,
"endTime" : "2020-11-19T14:19:18.000+0000" ,
At the same time, dev-cds-blueprints-processor throw below error logs.
2020-11-19
14:19:04,504|15efb166-f0b3-4fd1-936a-29be3c3858c1||DefaultDispatcher-worker-3||/api/v1/execution-service/process||INFO|||dev-cds-blueprints-processor-7dc7ccf767-zs54x||||
sdnc dictionary information :
(/restconf/config/GENERIC-RESOURCE-API:services/service/30eb3257-7eab-44d7-9be4-a987ef7118d9/service-data/vnfs/vnf/871c97c8-9571-49d4-b45d-acaf6ccbf08a/vnf-data/vnf-topology/vnf-parameters-data/param/vlb_int_pktgen_private_ip_0),
({service-instance-id=service-instance-id, vnf-id=vnf-id}),
({vlb_int_pktgen_private_ip_0=value})
2020-11-19
14:19:04,506|15efb166-f0b3-4fd1-936a-29be3c3858c1||DefaultDispatcher-worker-3||/api/v1/execution-service/process||INFO|||dev-cds-blueprints-processor-7dc7ccf767-zs54x||||
Rest request method(GET),
url(/restconf/config/GENERIC-RESOURCE-API:services/service/30eb3257-7eab-44d7-9be4-a987ef7118d9/service-data/vnfs/vnf/871c97c8-9571-49d4-b45d-acaf6ccbf08a/vnf-data/vnf-topology/vnf-parameters-data/param/vlb_int_pktgen_private_ip_0)
2020-11-19
14:19:04,510|15efb166-f0b3-4fd1-936a-29be3c3858c1||DefaultDispatcher-worker-3||/api/v1/execution-service/process||INFO|||dev-cds-blueprints-processor-7dc7ccf767-zs54x||||
Response status(200 - OK)
2020-11-19
14:19:04,510|15efb166-f0b3-4fd1-936a-29be3c3858c1||DefaultDispatcher-worker-3||/api/v1/execution-service/process||INFO|||dev-cds-blueprints-processor-7dc7ccf767-zs54x||||
Response processing type (string)
2020-11-19
14:19:04,510|15efb166-f0b3-4fd1-936a-29be3c3858c1||DefaultDispatcher-worker-3||/api/v1/execution-service/process||INFO|||dev-cds-blueprints-processor-7dc7ccf767-zs54x||||
populating value for output mapping ({vlb_int_pktgen_private_ip_0=value}),
from json ("192.168.20.32")
2020-11-19
14:19:04,510|15efb166-f0b3-4fd1-936a-29be3c3858c1||DefaultDispatcher-worker-3||/api/v1/execution-service/process||INFO|||dev-cds-blueprints-processor-7dc7ccf767-zs54x||||
For template key (vlb_int_pktgen_private_ip_0) trying to get value from
responseNode ("192.168.20.32")
2020-11-19
14:19:04,510|15efb166-f0b3-4fd1-936a-29be3c3858c1||DefaultDispatcher-worker-3||/api/v1/execution-service/process||INFO|||dev-cds-blueprints-processor-7dc7ccf767-zs54x||||
Setting Resource Value ("192.168.20.32") for Resource Name
(vlb_int_pktgen_private_ip_0), definition(vlb_int_pktgen_private_ip_0) of type
(string)
2020-11-19
14:19:04,510|15efb166-f0b3-4fd1-936a-29be3c3858c1||DefaultDispatcher-worker-3||/api/v1/execution-service/process||INFO|||dev-cds-blueprints-processor-7dc7ccf767-zs54x||||
DatabaseResource (processor-db) dictionary information: Query:(select
VFC_MODEL.vm_type as vm_type from VFC_MODEL where
customization_uuid=:vfccustomizationuuid),
input-key-mapping:({vfccustomizationuuid=vfccustomizationuuid}),
output-key-mapping:({vm-type=vm_type})
2020-11-19
14:19:04,513|15efb166-f0b3-4fd1-936a-29be3c3858c1||DefaultDispatcher-worker-3||/api/v1/execution-service/process||INFO|||dev-cds-blueprints-processor-7dc7ccf767-zs54x||||
Parameter information :
({vfccustomizationuuid=dc26617b-7920-418d-ad9a-615cc958c1b4})
2020-11-19
14:19:04,515|15efb166-f0b3-4fd1-936a-29be3c3858c1||DefaultDispatcher-worker-3||/api/v1/execution-service/process||INFO|||dev-cds-blueprints-processor-7dc7ccf767-zs54x||||
Response processing type (string)
2020-11-19
14:19:04,515|15efb166-f0b3-4fd1-936a-29be3c3858c1||DefaultDispatcher-worker-3||/api/v1/execution-service/process||INFO|||dev-cds-blueprints-processor-7dc7ccf767-zs54x||||
For template key (vm-type) trying to get value from responseNode
([{"vm_type":"vpg"}])
2020-11-19
14:19:04,515|15efb166-f0b3-4fd1-936a-29be3c3858c1||DefaultDispatcher-worker-3||/api/v1/execution-service/process||INFO|||dev-cds-blueprints-processor-7dc7ccf767-zs54x||||
*Setting Resource Value ("vpg") for Resource Name (vm-type),
definition(vm-type) of type (string)*
*2020-11-19
14:19:04,516|15efb166-f0b3-4fd1-936a-29be3c3858c1||DefaultDispatcher-worker-3||/api/v1/execution-service/process||ERROR|||dev-cds-blueprints-processor-7dc7ccf767-zs54x||||
failed in resource-assignment : Resource Assignment is failed with
com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize
instance of `java.lang.Object` out of NOT_AVAILABLE token*
*at [Source: UNKNOWN; line: -1, column: -1].message*
*org.onap.ccsdk.cds.controllerblueprints.core.BluePrintProcessorException:
Resource Assignment is failed with
com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize
in* stance of `java.lang.Object` out of NOT_AVAILABLE token
at [Source: UNKNOWN; line: -1, column: -1].message
at
org.onap.ccsdk.cds.blueprintsprocessor.functions.resource.resolution.utils.ResourceAssignmentUtils$Companion.generateResourceDataForAssignments(ResourceAssignmentUtils.kt:208)
at
org.onap.ccsdk.cds.blueprintsprocessor.functions.resource.resolution.ResourceResolutionServiceImpl.resolveResources$suspendImpl(ResourceResolutionService.kt:203)
at
org.onap.ccsdk.cds.blueprintsprocessor.functions.resource.resolution.ResourceResolutionServiceImpl$resolveResources$3.invokeSuspend(ResourceResolutionService.kt)
at
kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:32)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:113)
at
kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56)
at kotlinx.coroutines.EventLoop.processUnconfinedEvent(EventLoop.common.kt:68)
at
kotlinx.coroutines.DispatchedContinuationKt.resumeCancellableWith(DispatchedContinuation.kt:320)
at kotlinx.coroutines.DispatchedCoroutine.afterResume(Builders.common.kt:254)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:113)
at
kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56)
at
kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:561)
at
kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:727)
at
kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:667)
at
kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:655)
Caused by: com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot
deserialize instance of `java.lang.Object` out of NOT_AVAILABLE token
at [Source: UNKNOWN; line: -1, column: -1]
at
com.fasterxml.jackson.databind.exc.MismatchedInputException.from(MismatchedInputException.java:59)
at
com.fasterxml.jackson.databind.DeserializationContext.reportInputMismatch(DeserializationContext.java:1442)
at
com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken(DeserializationContext.java:1216)
at
com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken(DeserializationContext.java:1126)
at
com.fasterxml.jackson.databind.deser.std.UntypedObjectDeserializer$Vanilla.deserialize(UntypedObjectDeserializer.java:702)
at
com.fasterxml.jackson.databind.deser.std.UntypedObjectDeserializer$Vanilla.mapObject(UntypedObjectDeserializer.java:895)
at
com.fasterxml.jackson.databind.deser.std.UntypedObjectDeserializer$Vanilla.deserialize(UntypedObjectDeserializer.java:654)
at
com.fasterxml.jackson.databind.ObjectMapper._readValue(ObjectMapper.java:4173)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2467)
at
com.fasterxml.jackson.databind.ObjectMapper.treeToValue(ObjectMapper.java:2920)
at
org.onap.ccsdk.cds.blueprintsprocessor.functions.resource.resolution.utils.ResourceAssignmentUtils$Companion.generateResourceDataForAssignments(ResourceAssignmentUtils.kt:202)
... 17 common frames omitted
2020-11-19
14:19:04,516|15efb166-f0b3-4fd1-936a-29be3c3858c1||DefaultDispatcher-worker-3||/api/v1/execution-service/process||INFO|||dev-cds-blueprints-processor-7dc7ccf767-zs54x||||
Preparing Response...
2020-11-19
14:19:04,516|15efb166-f0b3-4fd1-936a-29be3c3858c1||DefaultDispatcher-worker-3||/api/v1/execution-service/process||INFO|||dev-cds-blueprints-processor-7dc7ccf767-zs54x||||
resolveNodeTemplateInterfaceOperationOutputs for node template
(resource-assignment),interface name (ResourceResolutionComponent),
operationName(process)
2020-11-19
14:19:04,516|15efb166-f0b3-4fd1-936a-29be3c3858c1||DefaultDispatcher-worker-3||/api/v1/execution-service/process||INFO|||dev-cds-blueprints-processor-7dc7ccf767-zs54x||||
resolveWorkflowOutputs for workflow(resource-assignment)
I have checked the vm-type parameter in sdnctl from processor db.
Why are we getting this error ?
Could you please help to fix it?
MariaDB [sdnctl]> select * from RESOURCE_DICTIONARY where tags like "vpg";
Empty set (0.00 sec)
MariaDB [sdnctl]> select * from RESOURCE_DICTIONARY where tags like
"%vm_type%";
+---------+---------------------+-----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+--------------+---------------------------+---------+----------------------------------------+
| name | creation_date | data_type | definition
|
description | entry_schema | resource_dictionary_group | tags | updated_by
|
+---------+---------------------+-----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+--------------+---------------------------+---------+----------------------------------------+
| vm-type | 2020-11-19 14:07:16 | string |
{"tags":"vm-type","name":"vm-type","property":{"description":"vm-type","type":"string"},"group":"default","updated-by":"MALAKOV,
YURIY
<[email protected]>","sources":{"input":{"type":"source-input"},"default":{"type":"source-default","properties":{}},"processor-db":{"type":"source-db","properties":{"type":"SQL","query":"select
VFC_MODEL.vm_type as vm_type from VFC_MODEL where
customization_uuid=:vfccustomizationuuid","output-key-mapping":{"vm-type":"vm_type"},"input-key-mapping":{"vfccustomizationuuid":"vfccustomizationuuid"},"key-dependencies":["vfccustomizationuuid"]}}}}
| vm-type | NULL | default | vm-type | MALAKOV,
YURIY <[email protected]> |
+---------+---------------------+-----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+--------------+---------------------------+---------+----------------------------------------+
1 row in set (0.00 sec)
Thanks,
Gulsum
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22491): https://lists.onap.org/g/onap-discuss/message/22491
Mute This Topic: https://lists.onap.org/mt/71877400/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-