MACRO Orchestration is trigger request twice for OPENSTACK Calls and calls to CDS Action
Description
Environment
Activity

Former user February 23, 2022 at 6:48 PM
- please fill in the "Fix Version" field with the current release, or a future release.
Alternatively, if the issue is no longer relevant, please close.
Dan Timoney October 29, 2020 at 5:42 PM
This seems like its been dormant for a while. Should this be deferred to Honolulu?

Lukasz Rajewski August 26, 2020 at 6:30 PMEdited
Without SO logs it is hard to move forward. What is the so request? What is the so workflow being executed? For sure healtcheck operation is only once in the workflow sequence?

Yuriy Malakov June 19, 2020 at 6:52 PMEdited

Yuriy Malakov June 19, 2020 at 6:51 PM
Postman to CDS logs: (NO Duplicate request triggered)
2020-06-19 18:45:04,557|6d1a76c8-f176-4b01-87bf-ab0478fe4810||reactor-http-epoll-1||/api/v1/execution-service/process||INFO|||dev-cds-blueprints-processor-6fc79676d8-6n27p|||| processing request id 073e64ed-734e-4937-abb7-0b4c634b52e1
2020-06-19 18:45:04,558|6d1a76c8-f176-4b01-87bf-ab0478fe4810||reactor-http-epoll-1||/api/v1/execution-service/process||INFO|||dev-cds-blueprints-processor-6fc79676d8-6n27p|||| cba file name(vLB_CDS), version(1.0.0) already present(/opt/app/onap/blueprints/deploy/vLB_CDS/1.0.0)
2020-06-19 18:45:04,558|6d1a76c8-f176-4b01-87bf-ab0478fe4810||reactor-http-epoll-1||/api/v1/execution-service/process||INFO|||dev-cds-blueprints-processor-6fc79676d8-6n27p|||| blueprint base path /opt/app/onap/blueprints/deploy/vLB_CDS/1.0.0
2020-06-19 18:45:04,558|6d1a76c8-f176-4b01-87bf-ab0478fe4810||DefaultDispatcher-worker-1||/api/v1/execution-service/process||INFO|||dev-cds-blueprints-processor-6fc79676d8-6n27p|||| Reading blueprint type(DEFAULT) path(/opt/app/onap/blueprints/deploy/vLB_CDS/1.0.0) and entry definition file (Definitions/vLB_CDS.json)
2020-06-19 18:45:04,563|6d1a76c8-f176-4b01-87bf-ab0478fe4810||DefaultDispatcher-worker-1||/api/v1/execution-service/process||INFO|||dev-cds-blueprints-processor-6fc79676d8-6n27p|||| Deriving input data for workflow: (HealthCheck)
2020-06-19 18:45:04,564|||DefaultDispatcher-worker-3||||INFO||||||| Execute node(START) -> executed state(SUCCESS)
2020-06-19 18:45:04,564|||DefaultDispatcher-worker-3||||INFO||||||| Executing workflow(HealthCheck[073e64ed-734e-4937-abb7-0b4c634b52e1])'s step(imperative-workflow-step-1)
2020-06-19 18:45:04,564|||DefaultDispatcher-worker-3||||INFO||||||| executing node template(nf-account-collection) component(component-resource-resolution) interface(ResourceResolutionComponent) operation(process) on host (SELF) with timeout(180) sec.
2020-06-19 18:45:04,564|||DefaultDispatcher-worker-3||||INFO||||||| preparing request id(073e64ed-734e-4937-abb7-0b4c634b52e1) for workflow(HealthCheck) step(nf-account-collection)
2020-06-19 18:45:04,564|||DefaultDispatcher-worker-3||||INFO||||||| resolveNodeTemplateInterfaceOperationInputs for node template (nf-account-collection), interface name(ResourceResolutionComponent), operationName(process)
2020-06-19 18:45:04,565|||DefaultDispatcher-worker-3||||INFO||||||| input definition for node template (nf-account-collection), values ({artifact-prefix-names=["nf-params"]})
2020-06-19 18:45:04,565|||DefaultDispatcher-worker-3||||INFO||||||| Resolving resource with resource assignment artifact(nf-params-mapping)
2020-06-19 18:45:04,574|||DefaultDispatcher-worker-3||||INFO||||||| Batched Sequence : ([[[
name = *
status = null
required = null
dependencies = null
dictionaryName = null
dictionarySource = null
]], [[
name = service-instance-id
status = null
required = false
dependencies = []
dictionaryName = service-instance-id
dictionarySource = input
], [
name = vnf-id
status = null
required = false
dependencies = []
dictionaryName = vnf-id
dictionarySource = input
]], [[
name = ip
status = null
required = false
dependencies = [service-instance-id, vnf-id]
dictionaryName = vlb_onap_private_ip_0
dictionarySource = sdnc
]]])
2020-06-19 18:45:04,574|||DefaultDispatcher-worker-3||||INFO||||||| Setting Resource Value ("b43ab0b7-a28e-497f-ab33-309992056c9c") for Resource Name (vnf-id), definition(vnf-id) of type (string)
2020-06-19 18:45:04,574|||DefaultDispatcher-worker-1||||INFO||||||| Setting Resource Value ("f21f4cbf-bb3e-46e4-a706-9807aee9d534") for Resource Name (service-instance-id), definition(service-instance-id) of type (string)
2020-06-19 18:45:04,583|||DefaultDispatcher-worker-1||||INFO||||||| RestResource (sdnc) dictionary information: URL/restconf/config/GENERIC-RESOURCE-API:services/service/f21f4cbf-bb3e-46e4-a706-9807aee9d534/service-data/vnfs/vnf/b43ab0b7-a28e-497f-ab33-309992056c9c/vnf-data/vnf-topology/vnf-parameters-data/param/vlb_onap_private_ip_0), input-key-mapping{service-instance-id=service-instance-id, vnf-id=vnf-id}), output-key-mapping{vlb_onap_private_ip_0=value})
2020-06-19 18:45:04,583|||DefaultDispatcher-worker-1||||INFO||||||| sdnc dictionary information : (/restconf/config/GENERIC-RESOURCE-API:services/service/f21f4cbf-bb3e-46e4-a706-9807aee9d534/service-data/vnfs/vnf/b43ab0b7-a28e-497f-ab33-309992056c9c/vnf-data/vnf-topology/vnf-parameters-data/param/vlb_onap_private_ip_0), ({service-instance-id=service-instance-id, vnf-id=vnf-id}), ({vlb_onap_private_ip_0=value})
2020-06-19 18:45:04,587|||DefaultDispatcher-worker-1||||INFO||||||| Rest request method(GET), url(/restconf/config/GENERIC-RESOURCE-API:services/service/f21f4cbf-bb3e-46e4-a706-9807aee9d534/service-data/vnfs/vnf/b43ab0b7-a28e-497f-ab33-309992056c9c/vnf-data/vnf-topology/vnf-parameters-data/param/vlb_onap_private_ip_0)
2020-06-19 18:45:04,598|||DefaultDispatcher-worker-1||||INFO||||||| Response status(200 - OK)
2020-06-19 18:45:04,598|||DefaultDispatcher-worker-1||||INFO||||||| Response processing type (string)
2020-06-19 18:45:04,599|||DefaultDispatcher-worker-1||||INFO||||||| populating value for output mapping ({vlb_onap_private_ip_0=value}), from json ("10.0.101.8")
2020-06-19 18:45:04,599|||DefaultDispatcher-worker-1||||INFO||||||| For template key (ip) trying to get value from responseNode ("10.0.101.8")
2020-06-19 18:45:04,599|||DefaultDispatcher-worker-1||||INFO||||||| Setting Resource Value ("10.0.101.8") for Resource Name (ip), definition(vlb_onap_private_ip_0) of type (string)
2020-06-19 18:45:04,599|||DefaultDispatcher-worker-1||||INFO||||||| Generated Resource Param Data ({
"ip" : "10.0.101.8",
"service-instance-id" : "f21f4cbf-bb3e-46e4-a706-9807aee9d534",
"vnf-id" : "b43ab0b7-a28e-497f-ab33-309992056c9c"
})
2020-06-19 18:45:04,600|||DefaultDispatcher-worker-1||||INFO||||||| Preparing Response...
2020-06-19 18:45:04,600|||DefaultDispatcher-worker-1||||INFO||||||| resolveNodeTemplateInterfaceOperationOutputs for node template (nf-account-collection),interface name (ResourceResolutionComponent), operationName(process)
2020-06-19 18:45:04,600|||DefaultDispatcher-worker-1||||INFO||||||| Execute node(imperative-workflow-step-1) -> executed state(SUCCESS)
2020-06-19 18:45:04,600|||DefaultDispatcher-worker-1||||INFO||||||| Executing workflow(HealthCheck[073e64ed-734e-4937-abb7-0b4c634b52e1])'s step(imperative-workflow-step-2)
2020-06-19 18:45:04,600|||DefaultDispatcher-worker-1||||INFO||||||| executing node template(executeHealthCheck) component(component-script-executor) interface(ComponentScriptExecutor) operation(process) on host (SELF) with timeout(180) sec.
2020-06-19 18:45:04,601|||DefaultDispatcher-worker-1||||INFO||||||| preparing request id(073e64ed-734e-4937-abb7-0b4c634b52e1) for workflow(HealthCheck) step(executeHealthCheck)
2020-06-19 18:45:04,601|||DefaultDispatcher-worker-1||||INFO||||||| resolveNodeTemplateInterfaceOperationInputs for node template (executeHealthCheck), interface name(ComponentScriptExecutor), operationName(process)
2020-06-19 18:45:04,601|||DefaultDispatcher-worker-1||||INFO||||||| input definition for node template (executeHealthCheck), values ({script-type="kotlin", script-class-reference="org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.HealthCheck", instance-dependencies=[], dynamic-properties="*HealthCheck-properties"})
2020-06-19 18:45:04,601|||DefaultDispatcher-worker-1||||INFO||||||| creating component function of script type(kotlin), reference name(org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.HealthCheck) and instanceDependencies([])
2020-06-19 18:45:04,601|||DefaultDispatcher-worker-1||||INFO||||||| executing script
2020-06-19 18:45:04,601|||DefaultDispatcher-worker-1||||INFO||||||| resolution_key: null
2020-06-19 18:45:04,601|||DefaultDispatcher-worker-1||||INFO||||||| resolveNodeTemplateCapabilityProperties for node template(netconf-device) capability(restconf)
2020-06-19 18:45:04,607|||DefaultDispatcher-worker-1||||INFO||||||| Rest request method(GET), url(/restconf/operational/health-vnf-onap-plugin:health-vnf-onap-plugin-state/health-check)
2020-06-19 18:45:04,618|||DefaultDispatcher-worker-1||||INFO||||||| Response status(200 - OK)
2020-06-19 18:45:04,618|||DefaultDispatcher-worker-1||||INFO||||||| {"health-check":{"vnf-name":"vLB","state":"healthy","time":"06-19-2020:18.45.04"}}
2020-06-19 18:45:04,618|||DefaultDispatcher-worker-1||||INFO||||||| Preparing Response...
2020-06-19 18:45:04,618|||DefaultDispatcher-worker-1||||INFO||||||| resolveNodeTemplateInterfaceOperationOutputs for node template (executeHealthCheck),interface name (ComponentScriptExecutor), operationName(process)
2020-06-19 18:45:04,618|||DefaultDispatcher-worker-1||||INFO||||||| Execute node(imperative-workflow-step-2) -> executed state(SUCCESS)
2020-06-19 18:45:04,619|||DefaultDispatcher-worker-1||||INFO||||||| Execute node(END) -> executed state(SUCCESS)
2020-06-19 18:45:04,619|||DefaultDispatcher-worker-1||||INFO||||||| workflow(073e64ed-734e-4937-abb7-0b4c634b52e1) nodes completed with (0)exceptions
2020-06-19 18:45:04,619|6d1a76c8-f176-4b01-87bf-ab0478fe4810||DefaultDispatcher-worker-1||/api/v1/execution-service/process||INFO|||dev-cds-blueprints-processor-6fc79676d8-6n27p|||| resolveWorkflowOutputs for workflow(HealthCheck)
Details
Assignee
Seshu Kumar MudigantiSeshu Kumar MudigantiReporter
Yuriy MalakovYuriy MalakovAffects versions
Priority
Medium
Details
Details
Assignee

Reporter

SO Macro flow is calling the OPENSTACK adapter and CDS Actor TWICE when triggering a creation in openstack or CDS Action.