Uploaded image for project: 'Network Controller'
  1. Network Controller
  2. SDNC-846

Failed to instantiate l3-network if "CloudOwner" with value "CloudOwner" does not exists in AAI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Guilin Release
    • Dublin Release
    • sdnc-adaptors
    • None

      Failed to instantiate l3-network if "CloudOwner" with value "CloudOwner" does not exists in AAI

       

      We were using CloudOwner = OPNFV and RegionId = RegionOne

       

      If we declare in AAI a CloudOwner = CloudOwner with RegionId = RegionOne then the instantiation is successful.

       

      logs from SDNC-adapter

       

      2019-08-13T13:53:41.309Z|9dc9e8f5-ca1c-423d-845e-51ddeb61d296| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@fa1f491]
      2019-08-13T13:53:41.310Z|9dc9e8f5-ca1c-423d-845e-51ddeb61d296| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: []
      2019-08-13T13:53:41.311Z|9dc9e8f5-ca1c-423d-845e-51ddeb61d296| org.onap.so.adapters.sdnc.impl.SDNCRestClient - BPEL Request:SDNCAdapterRequest [requestHeader=RequestHeader [requestId=5f86ac80-f80c-492b-85cb-80ff348818fc, svcInstanceId=1fa20052-6303-4d8e-84de-e1f664b40ffc, svcAction=assign, svcOperation=network-topology-operation, callbackUrl=http://so-bpmn-infra.onap:8081/mso/SDNCAdapterCallbackService, msoAction=null], requestData=<?xml version="1.0" encoding="UTF-8" standalone="no"?><sdncadaptersc:RequestData xmlns:sdncadaptersc="http://org.onap/workflow/sdnc/adapter/schema/v1" xmlns:aetgt="http://org.onap/workflow/sdnc/adapter/schema/v1"><request-information><request-id>9dc9e8f5-ca1c-423d-845e-51ddeb61d296</request-id><request-action>NetworkActivateRequest</request-action><source>VID</source><notification-url/><order-number/><order-version/>
      </request-information><service-information><service-id>fa0debb0-3697-45e4-a09c-62beb7d382f9</service-id><service-type>Service-model-with-VNF-and-Virtual-Link</service-type><service-instance-id>1fa20052-6303-4d8e-84de-e1f664b40ffc</service-instance-id><subscriber-name>generic</subscriber-name>
      </service-information><network-request-information><network-id/><network-type>Generic NeutronNet</network-type><network-name>my-network-instance-001</network-name><tenant>90eed3ead9c748dfb189a6f45de5b6b1</tenant><aic-cloud-region>AAIAIC25</aic-cloud-region>
      </network-request-information>
      </sdncadaptersc:RequestData>]
      2019-08-13T13:53:41.311Z|9dc9e8f5-ca1c-423d-845e-51ddeb61d296| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@2f44a892, org.apache.cxf.jaxws.interceptors.SwAOutInterceptor@24cebbd2, org.apache.cxf.jaxws.interceptors.WrapperClassOutInterceptor@6c0c9c24, org.apache.cxf.jaxws.interceptors.HolderOutInterceptor@6c09f848, org.onap.so.logging.cxf.interceptor.SOAPLoggingOutInterceptor@6603dd63]
      2019-08-13T13:53:41.312Z|9dc9e8f5-ca1c-423d-845e-51ddeb61d296| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.interceptor.AttachmentOutInterceptor@37c2fa5a, org.apache.cxf.interceptor.StaxOutInterceptor@3fa7ad3a, org.apache.cxf.binding.soap.interceptor.SoapHeaderOutFilterInterceptor@1ccfc93e, org.apache.cxf.wsdl.interceptors.BareOutInterceptor@64dfe701, org.apache.cxf.binding.soap.interceptor.SoapPreProtocolOutInterceptor@44efc1ea, org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor@46a36a30]
      2019-08-13T13:53:41.314Z|9dc9e8f5-ca1c-423d-845e-51ddeb61d296| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by databinding: []
      2019-08-13T13:53:46.311Z|9dc9e8f5-ca1c-423d-845e-51ddeb61d296| org.onap.so.adapters.sdnc.impl.MapRequestTunables - Generated key: org.onap.so.adapters.sdnc..network-topology-operation.assign
      2019-08-13T13:53:46.313Z|9dc9e8f5-ca1c-423d-845e-51ddeb61d296| org.onap.so.adapters.sdnc.impl.MapRequestTunables - Request Method is set to: POST
      2019-08-13T13:53:46.313Z|9dc9e8f5-ca1c-423d-845e-51ddeb61d296| org.onap.so.adapters.sdnc.impl.MapRequestTunables - Timeout is set to: 270000
      2019-08-13T13:53:46.313Z|9dc9e8f5-ca1c-423d-845e-51ddeb61d296| org.onap.so.adapters.sdnc.impl.MapRequestTunables - SDNC Url is set to: http://sdnc.onap:8282/restconf/operations/VNF-API:network-topology-operation
      2019-08-13T13:53:46.314Z|9dc9e8f5-ca1c-423d-845e-51ddeb61d296| org.onap.so.adapters.sdnc.impl.MapRequestTunables - HeaderName is set to: sdnc-request-header
      2019-08-13T13:53:46.314Z|9dc9e8f5-ca1c-423d-845e-51ddeb61d296| org.onap.so.adapters.sdnc.impl.MapRequestTunables - NameSpace is set to: org:onap:sdnctl:vnf
      2019-08-13T13:53:46.314Z|9dc9e8f5-ca1c-423d-845e-51ddeb61d296| org.onap.so.adapters.sdnc.impl.MapRequestTunables - RequestTunables Key:org.onap.so.adapters.sdnc..network-topology-operation.assign Value:POST|270000|sdncurl6|sdnc-request-header|org:onap:sdnctl:vnf Tunables:org.onap.so.adapters.sdnc.impl.MapRequestTunables@6fc34e8d
      2019-08-13T13:53:46.317Z|9dc9e8f5-ca1c-423d-845e-51ddeb61d296| org.onap.so.adapters.sdnc.impl.Utils - Formatted SdncReq:

      2019-08-13T13:53:46.317Z|9dc9e8f5-ca1c-423d-845e-51ddeb61d296| org.onap.so.adapters.sdnc.impl.SDNCRestClient - RA_SEND_REQUEST_SDNC :
      RequestTunables [reqId=5f86ac80-f80c-492b-85cb-80ff348818fc, msoAction=, operation=network-topology-operation, action=assign, reqMethod=POST, sdncUrl=http://sdnc.onap:8282/restconf/operations/VNF-API:network-topology-operation, timeout=270000, headerName=sdnc-request-header, sdncaNotificationUrl=http://so-sdnc-adapteronap:8086/adapters/rest/SDNCNotify, namespace=org:onap:sdnctl:vnf] SDNC
      2019-08-13T13:53:46.941Z|9dc9e8f5-ca1c-423d-845e-51ddeb61d296| org.onap.so.adapters.sdnc.impl.SDNCRestClient - RA_RESPONSE_FROM_SDNC :
      SDNCResponse [reqId=5f86ac80-f80c-492b-85cb-80ff348818fc, respCode=200, respMsg=OK, sdncRespXml=<output xmlns="org:onap:sdnctl:vnf"><svc-request-id>5f86ac80-f80c-492b-85cb-80ff348818fc</svc-request-id><ack-final-indicator>Y</ack-final-indicator><response-code>500</response-code><response-message>Error writing to l3-netework - An error occurred while saving tenant and clould-region relationship for l3-network in AnAI where network-id = 85bb8fcd-5d44-40a2-b321-3779d364968c</response-message></output>] SDNC
      2019-08-13T13:53:46.941Z|9dc9e8f5-ca1c-423d-845e-51ddeb61d296| org.onap.so.adapters.sdnc.impl.SDNCRestClient - Got the SDNC Response: <output xmlns="org:onap:sdnctl:vnf"><svc-request-id>5f86ac80-f80c-492b-85cb-80ff348818fc</svc-request-id><ack-final-indicator>Y</ack-final-indicator><response-code>500</response-code><response-message>Error writing to l3-netework - An error occurred while saving tenant and clould-region relationship for l3-network in AnAI where network-id = 85bb8fcd-5d44-40a2-b321-3779d364968c</response-message></output>
      2019-08-13T13:53:46.947Z|9dc9e8f5-ca1c-423d-845e-51ddeb61d296| org.onap.so.adapters.sdnc.impl.SDNCRestClient - RA_CALLBACK_BPEL :
      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
      <SDNCAdapterCallbackRequest xmlns="http://org.onap/workflow/sdnc/adapter/schema/v1">
      <CallbackHeader>
      <RequestId>5f86ac80-f80c-492b-85cb-80ff348818fc</RequestId>
      <ResponseCode>200</ResponseCode>
      <ResponseMessage>OK</ResponseMessage>
      </CallbackHeader>
      <RequestData xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><output xmlns="org:onap:sdnctl:vnf"><svc-request-id>5f86ac80-f80c-492b-85cb-80ff348818fc</svc-request-id><ack-final-indicator>Y</ack-final-indicator><response-code>500</response-code><response-message>Error writing to l3-netework - An error occurred while saving tenant and clould-region relationship for l3-network in AnAI where network-id = 85bb8fcd-5d44-40a2-b321-3779d364968c</response-message></output></RequestData>
      </SDNCAdapterCallbackRequest>
      Camunda
      2019-08-13T13:53:46.954Z|9dc9e8f5-ca1c-423d-845e-51ddeb61d296| org.onap.so.adapters.sdnc.impl.SDNCRestClient - Invoking Bpel Callback. BpelCallbackUrl:http://so-bpmn-infra.onap:8081/mso/SDNCAdapterCallbackService
      2019-08-13T13:53:47.072Z|9dc9e8f5-ca1c-423d-845e-51ddeb61d296| org.onap.so.adapters.sdnc.impl.SDNCRestClient - RA_CALLBACK_BPEL_COMPLETE

       

            djtimoney Dan Timoney
            rene_robert rene_robert
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: