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

Fix PNF software upgrade workflow

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • Frankfurt Release
    • Frankfurt Release
    • None

      When call the API /

      {version:[vV][1]}

      /serviceInstances/{serviceInstanceId}/pnfs/{pnfName}/workflows/{workflowUuid}, it can't return correctly.

      The response of the API:

      {
       "requestError": {
       "serviceException": {
       "messageId": "SVC2000",
       "text": "Request Failed due to BPEL error with HTTP Status = 502UnknownError, request id:a903813b-b9d7-446f-a9dd-1bfb7c8d4228"
       }
       }
      }

       

      The log of the bpmn-infra:

      Response-Code: 500
      Content-Type: application/json
      Headers: {Content-Type=[application/json], Date=[Thu, 12 Mar 2020 14:13:08 GMT]}
      Payload: {"response":"UnknownError, request id:a903813b-b9d7-446f-a9dd-710d24a30344","message":"TimeOutOccured in WorkflowAsyncResource.waitForResponse for time 60000ms","processInstanceID":null,"variables":null,"messageCode":500}

       

      In order to fix this issue:

      1. "Send Response" to API handler after "NF Upgrade Dispatcher", and then the API of SO can return;
      2. Set the requestState to "COMPLETED" using "Prepare Completion" and "Complete Process" when all activities are success;
      3. Set the requestState to "FAILED" using "Prepare FalloutHandler" and "Call FalloutHandler" when some error occurs.

            wangeb wangeb
            wangeb wangeb
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: