Details
-
Bug
-
Status: Closed
-
High
-
Resolution: Done
-
Guilin Release
-
SO-1.7.7 containers, ONAP/OOM/Master from 30.10.2020
Description
Scenario:
Simple VM orchestration. OpenStack adapter tries to create a relation between the vserver object and the vnfc object.
This generates an exception on SO-OpenStack-Adapter.
2020-11-03T15:01:50.554Z|004ca1d9-712d-413c-9b3f-7e8234c99f64|o.o.logging.filter.base.PayloadLoggingClientFilter - Response from method:POST performed on uri:https://aai.onap:8443/aai/v21/bulk/single-transaction has http status code:404 and response headers:{Content-Length=[662], content-type=[application/json], Date=[Tue, 03 Nov 2020 15:01:50 GMT], Strict-Transport-Security=[max-age=16000000; includeSubDomains; preload;], X-AAI-TXID=[0-aai-resources-201103-15:01:50:478-68215]} 2020-11-03T15:01:50.555Z|004ca1d9-712d-413c-9b3f-7e8234c99f64|o.o.logging.filter.base.PayloadLoggingClientFilter - {"requestError":{"serviceException":{"messageId":"SVC3000","text":"Invalid input performing %1 on %2 (msg=%3) (ec=%4)","variables":["POST","v21/bulk/single-transaction","Invalid input performing %1 on %2:Operation 2 with action (PUT) on uri (/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/0c931636d202494090e4c14b7192f097/vservers/vserver/c9ec1cd0-de6a-488a-be48-8c66aae1becd) failed with status code (404), error code (ERR.5.4.6129) and msg (vnfc: /network/vnfcs/vnfc/vnf_node_instance: Error making edge to target node:Node of type vnfc. Could not find object at: /network/vnfcs/vnfc/vnf_node_instance)","ERR.5.2.3000"]}}}
And then exception:
2020-11-03T15:01:50.560Z|004ca1d9-712d-413c-9b3f-7e8234c99f64|o.o.s.adapters.tasks.inventory.CreateInventoryTask - Error during inventory of stack javax.ws.rs.NotFoundException: Error calling A&AI. Request-Id=004ca1d9-712d-413c-9b3f-7e8234c99f64 Invalid input performing POST on v21/bulk/single-transaction (msg=Invalid input performing POST on v21/bulk/single-transaction:Operation 2 with action (PUT) on uri (/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/0c931636d202494090e4c14b7192f097/vservers/vserver/c9ec1cd0-de6a-488a-be48-8c66aae1becd) failed with status code (404), error code (ERR.5.4.6129) and msg (vnfc: /network/vnfcs/vnfc/vnf_node_instance: Error making edge to target node:Node of type vnfc. Could not find object at: /network/vnfcs/vnfc/vnf_node_instance)) (ec=ERR.5.2.3000) at org.onap.so.client.ResponseExceptionMapper.map(ResponseExceptionMapper.java:74) at org.onap.so.client.RestRequest.get(RestRequest.java:77) at org.onap.so.client.RestClient.buildRequest(RestClient.java:301) at org.onap.so.client.RestClient.lambda$method$3(RestClient.java:297) at net.jodah.failsafe.Functions.lambda$resultSupplierOf$11(Functions.java:283) at net.jodah.failsafe.internal.executor.RetryPolicyExecutor.lambda$supply$0(RetryPolicyExecutor.java:67) at net.jodah.failsafe.Execution.executeSync(Execution.java:117) at net.jodah.failsafe.FailsafeExecutor.call(FailsafeExecutor.java:319) at net.jodah.failsafe.FailsafeExecutor.get(FailsafeExecutor.java:71) at org.onap.so.client.RestClient.method(RestClient.java:297) at org.onap.so.client.RestClient.post(RestClient.java:264) at org.onap.aaiclient.client.aai.AAISingleTransactionClient.execute(AAISingleTransactionClient.java:70) at org.onap.aaiclient.client.aai.AAISingleTransactionClient.execute(AAISingleTransactionClient.java:101) at org.onap.so.heatbridge.HeatBridgeImpl.submitToAai(HeatBridgeImpl.java:707) at org.onap.so.adapters.tasks.inventory.CreateAAIInventory.heatbridge(CreateAAIInventory.java:122) at org.onap.so.adapters.tasks.inventory.CreateInventoryTask.executeExternalTask(CreateInventoryTask.java:68) at org.camunda.bpm.client.topic.impl.TopicSubscriptionManager.handleExternalTask(TopicSubscriptionManager.java:151) at org.camunda.bpm.client.topic.impl.TopicSubscriptionManager.lambda$acquire$0(TopicSubscriptionManager.java:107) at java.base/java.util.Arrays$ArrayList.forEach(Unknown Source) at org.camunda.bpm.client.topic.impl.TopicSubscriptionManager.acquire(TopicSubscriptionManager.java:102) at org.camunda.bpm.client.topic.impl.TopicSubscriptionManager.run(TopicSubscriptionManager.java:86) at java.base/java.lang.Thread.run(Unknown Source) 2020-11-03T15:01:50.781Z|004ca1d9-712d-413c-9b3f-7e8234c99f64|o.o.s.adapters.tasks.inventory.CreateInventoryTask - The External Task 4c154261-1de5-11eb-a27a-868e3e739224 Failed, All Retries Exhausted