Uploaded image for project: 'External API Framework'
  1. External API Framework
  2. EXTAPI-121

Service Order in Rejected State - Not able to connect to A&AI due to certificate error

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Medium Medium
    • Beijing Release
    • Beijing Release
    • None
    • None

      Tried to create a Service Order using ONAP Beijing Ext API NBI - Heat based Installation . 

      Service Order Payload Attached . Please clarify the procedure to configure A&AI certificate in Ext-API. 

       

      Got the following error in NBI log 

      nbi_1 | 2018-07-30 06:53:07.073 WARN 1 — [pool-2-thread-1] o.o.nbi.apis.serviceorder.MultiClient : HTTP call on http://localhost:8080/nbi/api/v1/serviceSpecification/f989d22e-fe33-41c3-9a13-da0c7a4160d6 returns 206, {id=f989d22e-fe33-41c3-9a13-da0c7a4160d6, name=vFW_Service, invariantUUID=4182a4d7-912f-43ce-b7e4-18ad58cb08f6, toscaModelURL=/sdc/v1/catalog/services/f989d22e-fe33-41c3-9a13-da0c7a4160d6/toscaModel, distributionStatus=DISTRIBUTED, version=1.0, lifecycleStatus=CERTIFIED, attachment=[

      {id=44f02a66-c680-4340-b31a-152548024e38, name=AAI-vFW_Service-service-1.0.xml, description=AAI Service Model, artifactLabel=aaiservice2026221340, artifactGroupType=DEPLOYMENT, artifactChecksum=NDdjYmFiNWUxZmFmMWZiZWVjNzA0NTg5NDBjMTQ1YWM=, artifactVersion=1, url=/sdc/v1/catalog/services/f989d22e-fe33-41c3-9a13-da0c7a4160d6/artifacts/44f02a66-c680-4340-b31a-152548024e38, mimeType=MODEL_INVENTORY_PROFILE, @type=ONAPartifact}

      , {id=1feb6c13-e431-4230-a400-9b925bd58558, name=AAI-vFW_vsinc-resource-1.0.xml, description=AAI Resource Model, artifactLabel=aairesource1271183402, artifactGroupType=DEPLOYMENT, artifactChecksum=YjdjNTI4ZWQwMTFiMDFkYzk1MDYxMDM2ZTVlMzJiOGI=, artifactVersion=1, url=/sdc/v1/catalog/services/f989d22e-fe33-41c3-9a13-da0c7a4160d6/artifacts/1feb6c13-e431-4230-a400-9b925bd58558, mimeType=MODEL_INVENTORY_PROFILE, @type=ONAPartifact}, {id=7e2c8054-fc48-41bb-8d8a-1e0afa0b4124, name=AAI-VfwVsinc..base_vfw..module-0-resource-1.xml, description=AAI Resource Model, artifactLabel=aairesource800612766, artifactGroupType=DEPLOYMENT, artifactChecksum=NzVkMmI4YzlhZjU3ZjJkZmI2MmZlNzg2NGY2MzIzODI=, artifactVersion=1, url=/sdc/v1/catalog/services/f989d22e-fe33-41c3-9a13-da0c7a4160d6/artifacts/7e2c8054-fc48-41bb-8d8a-1e0afa0b4124, mimeType=MODEL_INVENTORY_PROFILE, @type=ONAPartifact}, {id=b11f5896-942c-4b07-a855-2a8f7c40e50c, name=AAI-VfwVpg..base_vpkg..module-0-resource-1.xml, description=AAI Resource Model, artifactLabel=aairesource151631093, artifactGroupType=DEPLOYMENT, artifactChecksum=ZjE4NzFiMjNkNTFkYjRlMjQ0MjAxZjQ5ZTFjMWIwNTQ=, artifactVersion=1, url=/sdc/v1/catalog/services/f989d22e-fe33-41c3-9a13-da0c7a4160d6/artifacts/b11f5896-942c-4b07-a855-2a8f7c40e50c, mimeType=MODEL_INVENTORY_PROFILE, @type=ONAPartifact}, {id=5bd45bfc-073a-40a9-9410-e0d75b4b75a6, name=AAI-vFW_vPg-resource-1.0.xml, description=AAI Resource Model, artifactLabel=aairesource298180570, artifactGroupType=DEPLOYMENT, artifactChecksum=NzcwOGVhNzg3MzBhZGMzMGViZDJlOWEzZDRlYzBiN2Q=, artifactVersion=1, url=/sdc/v1/catalog/services/f989d22e-fe33-41c3-9a13-da0c7a4160d6/artifacts/5bd45bfc-073a-40a9-9410-e0d75b4b75a6, mimeType=MODEL_INVENTORY_PROFILE, @type=ONAPartifact}], relatedParty={id=jm0007, name=Joni Mitchell, role=lastUpdater}, resourceSpecification=[\{id=74370bfc-32df-4a4c-902e-a86bb7a99608, version=1.0, name=vFW_vsinc, instanceName=vFW_vsinc 0, resourceInvariantUUID=dbb46643-f44c-4ea1-9f12-2b7bab3bebe1, @type=ONAPresource, modelCustomizationId=6e0ee368-2e83-494c-99ec-9716edebad7e}, \{id=04e376c4-11bb-4b7e-94d8-98a4db37d43f, version=1.0, name=vFW_vPg, instanceName=vFW_vPg 0, resourceInvariantUUID=26b08b47-e88c-4ffb-b954-55dfbd9a9850, @type=ONAPresource, modelCustomizationId=f7d6efce-ded9-4e4c-a4b3-2e8d1b9d581d}], href=serviceSpecification/f989d22e-fe33-41c3-9a13-da0c7a4160d6, @type=ONAPservice}
      nbi_1 | 2018-07-30 06:53:07.078 ERROR 1 — [pool-2-thread-1] o.o.nbi.apis.serviceorder.MultiClient : error on calling https://10.0.1.1:8443/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants ,org.springframework.web.client.ResourceAccessException: I/O error on GET request for "https://10.0.1.1:8443/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants": java.security.cert.CertificateException: No subject alternative names matching IP address 10.0.1.1 found; nested exception is javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names matching IP address 10.0.1.1 found
      nbi_1 | 2018-07-30 06:53:07.078 WARN 1 — [pool-2-thread-1] o.o.n.a.s.w.CheckOrderConsistenceManager : serviceOrderItem 1 for serviceOrder 5b5eb5d0e64ada00018b1b3b rejected cause tenantId not found in AAI

            matthieugeerebaert matthieugeerebaert
            mknair75 mknair75
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: