Uploaded image for project: 'Service Orchestrator'
  1. Service Orchestrator
  2. SO-4116

Cannot Instantiate Volume Attachment Included OpenStack Heat Template VNF

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • London Release
    • London Release
    • London release

      I encountered an issue while attempting to instantiate a basic OpenStack Heat template for a VNF that includes a CinderVolumeAttachment. The Heat template runs without any problems when deployed directly to OpenStack. The root cause of the problem appears to be the absence of the "volume-selflink" property, as indicated in the exception.

      I have attached the basic Heat template. If you wish to instantiate it, please rename the "base_voltest.env.sample" file to "base_voltest.env" and adjust the necessary properties for your environment.

       

      2023-08-18T17:16:36.159Z|6f9403ae-f402-4b4b-989a-2a196f66149f|TopicSubscriptionManager|InventoryCreate|SO.OPENSTACK_ADAPTER|AAI|http://aai.onap:80/aai/v24/bulk/single-transaction|DEBUG|500||Response from method:POST performed on uri:http://aai.onap:80/aai/v24/bulk/single-transaction has http status code:400 and response headers:{Content-Length=[266], content-type=[application/json], date=[Fri, 18 Aug 2023 17:16:36 GMT], strict-transport-security=[max-age=16000000; includeSubDomains; preload;], x-aai-txid=[0-aai-resources-230818-17:16:36:141-79603]}
      2023-08-18T17:16:36.160Z|6f9403ae-f402-4b4b-989a-2a196f66149f|TopicSubscriptionManager|InventoryCreate|SO.OPENSTACK_ADAPTER|AAI|http://aai.onap:80/aai/v24/bulk/single-transaction|DEBUG|500||{"requestError":{"serviceException":{"messageId":"SVC3000","text":"Invalid input performing %1 on %2 (msg=%3) (ec=%4)","variables":["POST","v24/bulk/single-transaction","Invalid input performing %1 on %2:Missing required property: volume-selflink","ERR.5.2.3000"]}}}2023-08-18T17:16:36.160Z|6f9403ae-f402-4b4b-989a-2a196f66149f|TopicSubscriptionManager|InventoryCreate|SO.OPENSTACK_ADAPTER|AAI|http://aai.onap:80/aai/v24/bulk/single-transaction|INFO|400|Bad Request|InvokeReturn
      2023-08-18T17:16:36.162Z|6f9403ae-f402-4b4b-989a-2a196f66149f|TopicSubscriptionManager|InventoryCreate|SO.OPENSTACK_ADAPTER|||ERROR|500||Error during inventory of stack
      javax.ws.rs.BadRequestException: Error calling A&AI. Request-Id=6f9403ae-f402-4b4b-989a-2a196f66149f Invalid input performing POST on v24/bulk/single-transaction (msg=Invalid input performing POST on v24/bulk/single-transaction:Missing required property: volume-selflink) (ec=ERR.5.2.3000)
              at org.onap.so.client.ResponseExceptionMapper.map(ResponseExceptionMapper.java:65)
              at org.onap.so.client.RestRequest.get(RestRequest.java:77)
              at org.onap.so.client.RestClient.buildRequest(RestClient.java:326)
              at org.onap.so.client.RestClient.lambda$method$4(RestClient.java:322)
              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:322)
              at org.onap.so.client.RestClient.post(RestClient.java:289)
              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:770)
              at org.onap.so.adapters.tasks.inventory.CreateAAIInventory.heatbridge(CreateAAIInventory.java:128)
              at org.onap.so.adapters.tasks.inventory.CreateInventoryTask.executeExternalTask(CreateInventoryTask.java:71)
              at org.camunda.bpm.client.topic.impl.TopicSubscriptionManager.handleExternalTask(TopicSubscriptionManager.java:152)
              at org.camunda.bpm.client.topic.impl.TopicSubscriptionManager.lambda$acquire$0(TopicSubscriptionManager.java:108)
              at java.base/java.util.Arrays$ArrayList.forEach(Unknown Source)
              at org.camunda.bpm.client.topic.impl.TopicSubscriptionManager.acquire(TopicSubscriptionManager.java:103)
              at org.camunda.bpm.client.topic.impl.TopicSubscriptionManager.run(TopicSubscriptionManager.java:87)
              at java.base/java.lang.Thread.run(Unknown Source)
      

            erolozcan-arg erolozcan-arg
            erolozcan-arg erolozcan-arg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: