Uploaded image for project: 'Optimization Framework'
  1. Optimization Framework
  2. OPTFRA-506

Homing Response Error: InterfaceError exception occurred contacting external system "Plan is unable to reserve"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Dublin Release
    • Dublin Release
    • OSDF
    • OOF Tenant in Intel ONAP Lab

      Sending a homing request to OSDF returns an error message that includes "Tried 1 times. Plan 2240bb27-597a-4622-9e98-091ea0594fd1 is unable to reserve" but includes a 200 status code and the following service exception: '
      "serviceException":{
      "text":"A request exception has occurred when contacting an external system",
      "errorType":"InterfaceError"
      '

      The full response from OSDF is:
      {
      "externalApplicationDetails":{
      "httpMethod":"GET",
      "url":"https://oof-has-api:8091/v1/plans/2240bb27-597a-4622-9e98-091ea0594fd1",
      "responseMessage":{
      "plans":[
      {
      "name":"969b6e05-c017-401d-b880-8af4f12616da",
      "id":"2240bb27-597a-4622-9e98-091ea0594fd1",
      "status":"error",
      "links":[
      [

      { "href":"https://oof-has-api:8091/v1/plans/2240bb27-597a-46229e98-091ea0594fd1", "rel":"self" }

      ]
      ],
      "recommendations":[
      {
      "HpaVf0":{
      "service_resource_id":"143db9c6-4912-4ed3-9778-d1a3dc2f43da",
      "attributes":{
      "physical-location-id":"clli2",
      "cloud_owner":"CloudOwner",
      "aic_version":"",
      "directives":{
      "directives":[
      {
      "type":"vnfc",
      "id":"vfw",
      "directives":[
      {
      "type":"flavor_directives",
      "attributes":[

      { "attribute_name":"firewall_flavor_name", "attribute_value":"onap.hpa.flavor41" }

      ,

      { "attribute_name":"flavorId", "attribute_value":"442" }

      ,

      { "attribute_name":"flavorId", "attribute_value":"442" }

      ,

      { "attribute_name":"flavorId", "attribute_value":"442" }

      ,

      { "attribute_name":"flavorId", "attribute_value":"442" }

      ]
      }
      ]
      },
      {
      "type":"vnfc",
      "id":"vgenerator",
      "directives":[
      {
      "type":"flavor_directives",
      "attributes":[

      { "attribute_name":"packetgen_flavor_name", "attribute_value":"onap.hpa.flavor42" }

      ,

      { "attribute_name":"flavorId", "attribute_value":"442" }

      ,

      { "attribute_name":"flavorId", "attribute_value":"442" }

      ]
      }
      ]
      },
      {
      "type":"vnfc",
      "id":"vsink",
      "directives":[
      {
      "type":"flavor_directives",
      "attributes":[

      { "attribute_name":"sink_flavor_name", "attribute_value":"onap.hpa.flavor42" }

      ,

      { "attribute_name":"flavorId", "attribute_value":"442" }

      ,

      { "attribute_name":"flavorId", "attribute_value":"442" }

      ]
      }
      ]
      }
      ]
      }
      },
      "candidate":

      { "location_type":"att_aic", "candidate_id":"ONAP-POD-01-Rail-07", "cloud_owner":"CloudOwner", "vim-id":"CloudOwner_ONAP-POD-01-Rail-07", "is_rehome":"false", "inventory_type":"cloud", "location_id":"ONAP-POD-01-Rail-07" }

      ,
      "inventory_provider":"aai"
      }
      }
      ],
      "message":"Tried 1 times. Plan 2240bb27-597a-4622-9e98-091ea0594fd1 is unable to reserve"
      }
      ]
      },
      "httpStatusCode":200
      },
      "serviceException":

      { "text":"A request exception has occurred when contacting an external system", "errorType":"InterfaceError" }

      }

            ruoyu ruoyu
            mgkwill mgkwill
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: