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

Error Creating Service Instance Using Homing

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Highest
    • Resolution: Done
    • Dublin Release
    • Dublin Release
    • None

    Description

      An error occurs on creating a service instance that uses homing. It seems the request is being made with http however HAS using https and so service instance creating fails. 

       

      2019-05-03T18:09:29,559+00:00||Thread-17779|OOF_OSDF||||ERROR|||Error for daa907b9-3e79-4b18-8ea4-83947f572669 Traceback (most recent call last):   File "/opt/osdf/osdf/optimizers/placementopt/conductor/remote_opt_processor.py", line 52, in process_placement_opt     placement_response = conductor.request(request_json, osdf_config, policies)   File "/opt/osdf/osdf/optimizers/placementopt/conductor/conductor.py", line 68, in request     resp, raw_resp = initial_request_to_conductor(rc, conductor_url, conductor_req_json)   File "/opt/osdf/osdf/optimizers/placementopt/conductor/conductor.py", line 111, in initial_request_to_conductor     raw_resp = rc.request(url=conductor_url, raw_response=True, method="POST", json=conductor_req_json)   File "/opt/osdf/osdf/utils/interfaces.py", line 95, in request     raise res.raise_for_status()   File "/usr/local/lib/python3.5/dist-packages/requests/models.py", line 940, in raise_for_status     raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http://oof-has-api:8091/v1/plans/2019-05-03T18:19:33,536+00:00||Thread-17901|OOF_OSDF||||ERROR|||Error for 974d7379-b489-47c7-a4f9-c626b584269a Traceback (most recent call last):   File "/opt/osdf/osdf/optimizers/placementopt/conductor/remote_opt_processor.py", line 52, in process_placement_opt     placement_response = conductor.request(request_json, osdf_config, policies)   File "/opt/osdf/osdf/optimizers/placementopt/conductor/conductor.py", line 68, in request     resp, raw_resp = initial_request_to_conductor(rc, conductor_url, conductor_req_json)   File "/opt/osdf/osdf/optimizers/placementopt/conductor/conductor.py", line 111, in initial_request_to_conductor     raw_resp = rc.request(url=conductor_url, raw_response=True, method="POST", json=conductor_req_json)   File "/opt/osdf/osdf/utils/interfaces.py", line 95, in request     raise res.raise_for_status()   File "/usr/local/lib/python3.5/dist-packages/requests/models.py", line 940, in raise_for_status     raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http://oof-has-api:8091/v1/plans/2019-05-03T18:20:06,442+00:00||Thread-17910|OOF_OSDF||||ERROR|||Error for 26901bc9-7eaa-4044-85d6-2faf1976326b Traceback (most recent call last):   File "/opt/osdf/osdf/optimizers/placementopt/conductor/remote_opt_processor.py", line 52, in process_placement_opt     placement_response = conductor.request(request_json, osdf_config, policies)   File "/opt/osdf/osdf/optimizers/placementopt/conductor/conductor.py", line 68, in request     resp, raw_resp = initial_request_to_conductor(rc, conductor_url, conductor_req_json)   File "/opt/osdf/osdf/optimizers/placementopt/conductor/conductor.py", line 111, in initial_request_to_conductor     raw_resp = rc.request(url=conductor_url, raw_response=True, method="POST", json=conductor_req_json)   File "/opt/osdf/osdf/utils/interfaces.py", line 95, in request     raise res.raise_for_status()   File "/usr/local/lib/python3.5/dist-packages/requests/models.py", line 940, in raise_for_status     raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http://oof-has-api:8091/v1/plans/2019-05-03T18:21:42,238+00:00||Thread-17931|OOF_OSDF||||ERROR|||Error for 62fcf2fb-878d-4fa8-8ac1-1addf6653675 Traceback (most recent call last):   File "/opt/osdf/osdf/optimizers/placementopt/conductor/remote_opt_processor.py", line 52, in process_placement_opt     placement_response = conductor.request(request_json, osdf_config, policies)   File "/opt/osdf/osdf/optimizers/placementopt/conductor/conductor.py", line 68, in request     resp, raw_resp = initial_request_to_conductor(rc, conductor_url, conductor_req_json)   File "/opt/osdf/osdf/optimizers/placementopt/conductor/conductor.py", line 111, in initial_request_to_conductor     raw_resp = rc.request(url=conductor_url, raw_response=True, method="POST", json=conductor_req_json)   File "/opt/osdf/osdf/utils/interfaces.py", line 95, in request     raise res.raise_for_status()   File "/usr/local/lib/python3.5/dist-packages/requests/models.py", line 940, in raise_for_status     raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http://oof-has-api:8091/v1/plans/

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              snarayanan Shankaranarayanan Puzhavakath Narayanan
              Itohan Itohan Ukponmwan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: