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

Error in Homing with multiple policies

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Low Low
    • Frankfurt Release
    • El Alto Release
    • None
    • Intel Windriver Integration Lab

      OOF tenant

      oom-nfs: 10.12.5.173 

      oom-k8s-01: 10.12.5.110

      Error occurs in homing when there are multiple policies for different service model. It usually says encountered a parsing error: opimization_type"  Error from the OOF debug.log is below;

      2019-10-08T23:04:31,991+00:00||Thread-62||OOF_OSDF|275b386e-e62d-11e9-9e1a-d28edce360da|DEBUG||10.42.10.24|dev-oof-oof-567c44fd4c-mmhlv||||Received response [code: 200, headers: {'Connection': 'keep-alive', 'X-LatestVersion': '1.3.2', 'Date': 'Tue, 08 Oct 2019 23:04:31 GMT', 'Content-Length': '347', 'X-MinorVersion': '0', 'Server': 'nginx/1.14.2', 'Content-Type': 'application/json', 'X-PatchVersion': '2'}, data: {'_content': b'{"plans": [{"status": "error", "message": "Plan 5626c4d2-89aa-4dab-9f61-b8fa684dfc70 status encountered a parsing error: opimization_type", "name": "5dc6647b-c48c-4d8e-ae87-61a26e6a7bd9", "links": [[{"href": "https://oof-has-api:8091/v1/plans/5626c4d2-89aa-4dab-9f61-b8fa684dfc70", "rel": "self"}]], "id": "5626c4d2-89aa-4dab-9f61-b8fa684dfc70"}]}', 'elapsed': datetime.timedelta(0, 2, 569177), 'connection': <requests.adapters.HTTPAdapter object at 0x7fbfe013dc88>, '_next': None, 'encoding': None, 'url': 'https://oof-has-api:8091/v1/plans/5626c4d2-89aa-4dab-9f61-b8fa684dfc70', 'raw': <urllib3.response.HTTPResponse object at 0x7fbfe0178668>, 'request': <PreparedRequest [GET]>, 'headers': {'Connection': 'keep-alive', 'X-LatestVersion': '1.3.2', 'Date': 'Tue, 08 Oct 2019 23:04:31 GMT', 'Content-Length': '347', 'X-MinorVersion': '0', 'Server': 'nginx/1.14.2', 'Content-Type': 'application/json', 'X-PatchVersion': '2'}, 'reason': 'OK', 'history': [], 'status_code': 200, 'cookies': <RequestsCookieJar[]>, '_content_consumed': True}]
      2019-10-08T23:04:31,993+00:00||Thread-62||OOF_OSDF|275b386e-e62d-11e9-9e1a-d28edce360da|DEBUG||10.42.10.24|dev-oof-oof-567c44fd4c-mmhlv||||Requesting URL: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/oofResponse/5dc6647b-c48c-4d8e-ae87-61a26e6a7bd9
      
      

            avteetchayal avteetchayal
            itohan itohan
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: