Uploaded image for project: 'Multicloud'
  1. Multicloud
  2. MULTICLOUD-1195

Multicloud used wrong MSB URL

    XMLWordPrintable

Details

    Description

      In Frankfurt MSB removed their http port (see https://docs.onap.org/projects/onap-msb-apigateway/en/latest/release-notes.html)
      But Multicloud still uses the disabled MSB interface (http://msb-iag.onap:80/) in its implementation.
      E.g. after registration:

      {
          "cloud-owner": "DT-Dell",
          "cloud-region-id": "RegionOne",
          "cloud-type": "openstack",
          "owner-defined-type": "t1",
          "cloud-region-version": "pike",
          "identity-url": "http://msb-iag.onap:80/api/multicloud-pike/v0/DT-Dell_RegionOne/identity/v2.0",
          "cloud-zone": "z1",
      

       The registration suceeds, but the usage of MSB for the communication to the VIM fails and ends with a "Timeout" and "no route to host":

      2020-08-17 16:44:48|||||common.utils.restcall||140492575010560||_call_req||INFO||Making rest call with method, uri, header = POST, http://msb-iag.onap:80/api/multicloud2020-08-17 16:44:48|||||common.utils.restcall||140492575010560||_call_req||INFO||Making rest call with method, uri, header = POST, http://msb-iag.onap:80/api/multicloud-pike/v1/DT-Dell/RegionOne/identity/v2.0/tokens, {'content-type': 'application/json', 'accept': 'application/json'}||||requestID= invocationID= serviceName= serviceIP=  2020-08-17 16:44:48|||||common.utils.restcall||140492575010560||_call_req||DEBUG||with content = {"Project": null}||||requestID= invocationID= serviceName= serviceIP= 
      2020-08-17 16:45:47|||||common.utils.restcall||140492575010560||_call_req||INFO||Making rest call with method, uri, header = POST, http://msb-iag.onap:80/api/multicloud-pike/v1/DT-Dell/RegionOne/identity/v2.0/tokens, {'content-type': 'application/json', 'accept': 'application/json'}||||requestID= invocationID= serviceName= serviceIP=  2020-08-17 16:45:47|||||common.utils.restcall||140492575010560||_call_req||DEBUG||with content = {}||||requestID= invocationID= serviceName= serviceIP=  2020-08-17 16:45:52|||||common.utils.restcall||140492575010560||_call_req||ERROR||Traceback (most recent call last):  File "/opt/pike/lib/share/common/utils/restcall.py", line 98, in _call_req    raise ex  File "/opt/pike/lib/share/common/utils/restcall.py", line 83, in _call_req    headers=headers)  File "/usr/local/lib/python3.7/site-packages/httplib2/__init__.py", line 1953, in request    cachekey,  File "/usr/local/lib/python3.7/site-packages/httplib2/__init__.py", line 1618, in _request    conn, request_uri, method, body, headers  File "/usr/local/lib/python3.7/site-packages/httplib2/__init__.py", line 1524, in _conn_request    conn.connect()  File "/usr/local/lib/python3.7/site-packages/httplib2/__init__.py", line 1220, in connect    raise socket_err  File "/usr/local/lib/python3.7/site-packages/httplib2/__init__.py", line 1194, in connect    self.sock.connect((self.host, self.port) + sa[2:])OSError: [Errno 113] No route to host||||requestID= invocationID= serviceName= serviceIP=  2020-08-17 16:45:52|||||common.utils.restcall||140492575010560||_call_req||ERROR||[f654536e-e0a8-11ea-b171-be4bc94285e6]ret=(<class 'OSError'>, OSError(113, 'No route to host'), <traceback object at 0x7fc6f1f40a50>)||||requestID= invocationID= serviceName= serviceIP=  2020-08-17 16:45:52|||||newton_base.resource.infra_workload_helper||140492575010560||workload_status||ERROR||authenticate fails:DT-Dell, RegionOne, (<class 'OSError'>, OSError(113, 'No route to host'), <traceback object at 0x7fc6f1f40a50>)||||requestID= invocationID= serviceName= serviceIP=  
      

      Here the results in the VID pod:

      onap@onap-vid-7744549f98-xkffb:/usr/local/tomcat$ curl -X POST -H 'Content-Type:application/json'  http://msb-iag.onap:80/api/multicloud-pike/v1/DT-Dell/RegionOne/identity/v2.0/tokens
      curl: (7) Failed to connect to msb-iag.onap port 80: No route to host
      
      onap@onap-vid-7744549f98-xkffb:/usr/local/tomcat$ curl -X POST -H 'Content-Type:application/json' --insecure  https://msb-iag.onap:443/api/multicloud-pike/v1/DT-Dell/RegionOne/identity/v2.0/tokens
      {"access":{"token":{"id":"gAAAAABfO6MmZBQWhmS363bEVhX1a7-EPxRLYBBk9GuDYKmp-jLmFjTvUjZPL9Bb-p35PXsxhMRK9sdmJ64PN_z-xyesU8w_x4rh_TZ6A8AwqLthJuN_ypqcJRVyN_pigi7jg1_zQiuOMcryz6ZwUxb3h-I1lsjXvV45yuumUvj6kkoqu_-hs58","issued_at":"2020-08-18T09:45:10.000000Z","expires":"2020-08-18T13:45:10.000000Z","tenant":{"domain":{"id":"default","name":"Default"},"id":"4f2b1f965c1b4f4b8d2dab5963ab2fef","name":"ci-onap-master-vnfs","enabled":"true"}},"serviceCatalog":[{"type":"compute_legacy","name":"nova_legacy","endpoints":[{"id":"185c63ffa8c94d21b50cb73909d39d29","region":"RegionOne","region_name":"RegionOne","interface":"public","publicURL":"http://msb-iag.onap:80/api/multicloud-pike/v1/DT-Dell/RegionOne/compute_legacy/v2/4f2b1f965c1b4f4b8d2dab5963ab2fef"}]},{"type":"orchestration","name":"heat","endpoints":[{"id":"e07911f4b7c34445b474a0e9eec5b8e9","region":"RegionOne","region_name":"RegionOne","interface":"public","publicURL":"http://msb-iag.onap:80/api/multicloud-pike/v1/DT-Dell/RegionOne/orchestration/v1/4f2b1f965c1b4f4b8d2dab5963ab2fef"}]},{"type":"identity","name":"keystone","endpoints":[{"id":"bcbeef334fbd4c9f912b49ec4d9144be","region":"RegionOne","region_name":"RegionOne","interface":"public","publicURL":"http://msb-iag.onap:80/api/multicloud-pike/v1/DT-Dell/RegionOne/identity/v3"}]},{"type":"cloudformation","name":"heat-cfn","endpoints":[{"id":"3decf75ba47147d3a8f9a6e1b45146a9","region":"RegionOne","region_name":"RegionOne","interface":"public","publicURL":"http://msb-iag.onap:80/api/multicloud-pike/v1/DT-Dell/RegionOne/cloudformation/v1"}]},{"type":"volumev3","name":"cinderv3","endpoints":[{"id":"a37f062a619e4add92404c101f795d77","region":"RegionOne","region_name":"RegionOne","interface":"public","publicURL":"http://msb-iag.onap:80/api/multicloud-pike/v1/DT-Dell/RegionOne/volumev3/v3/4f2b1f965c1b4f4b8d2dab5963ab2fef"}]},{"type":"network","name":"neutron","endpoints":[{"id":"a7289389a8fd40fdac8afb8acadb619c","region":"RegionOne","region_name":"RegionOne","interface":"public","publicURL":"http://msb-iag.onap:80/api/multicloud-pike/v1/DT-Dell/RegionOne/network"}]},{"type":"compute","name":"nova","endpoints":[{"id":"2c68ca5c10a44518b18680fba4d52d82","region":"RegionOne","region_name":"RegionOne","interface":"public","publicURL":"http://msb-iag.onap:80/api/multicloud-pike/v1/DT-Dell/RegionOne/compute/v2.1/4f2b1f965c1b4f4b8d2dab5963ab2fef"}]},{"type":"volumev2","name":"cinderv2","endpoints":[{"id":"305642e0c5cf4cd0b0defae79acde621","region":"RegionOne","region_name":"RegionOne","interface":"public","publicURL":"http://msb-iag.onap:80/api/multicloud-pike/v1/DT-Dell/RegionOne/volumev2/v2/4f2b1f965c1b4f4b8d2dab5963ab2fef"}]},{"type":"volume","name":"cinder","endpoints":[{"id":"a8026d91d5df4903b8be7ef514022e8d","region":"RegionOne","region_name":"RegionOne","interface":"public","publicURL":"http://msb-iag.onap:80/api/multicloud-pike/v1/DT-Dell/RegionOne/volume/v1/4f2b1f965c1b4f4b8d2dab5963ab2fef"}]},{"type":"placement","name":"placement","endpoints":[{"id":"710d20fdd802435aaeba4dd98d505e7b","region":"RegionOne","region_name":"RegionOne","interface":"public","publicURL":"http://msb-iag.onap:80/api/multicloud-pike/v1/DT-Dell/RegionOne/placement"}]},{"type":"image","name":"glance","endpoints":[{"id":"6a761259a2a04049a70883609bdd66dd","region":"RegionOne","region_name":"RegionOne","interface":"public","publicURL":"http://msb-iag.onap:80/api/multicloud-pike/v1/DT-Dell/RegionOne/image"}]}],"user":{"password_expires_at":null,"domain":{"id":"default","name":"Default"},"id":"7c39912c8765433
      

      Attachments

        # Subject Branch Project Status CR V

        Activity

          People

            andreasgeissler Andreas Geissler
            andreasgeissler Andreas Geissler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: