1
0
-1

when I am trying to deploy distributed service model, I get the following error:

SVC3001Resource not found for %1 using id %2 (msg=%3) (ec=%4)PUTbusiness/customers/customer/Demonstration/service-subscriptions/service-subscription/vFW/service-instances/service-instance/f3424b64-8c12-434b-be46-30089f12bd19Node Not Found:object located at service-design-and-creation/models/model/12ec022c-0bf2-4e38-89db-977ffaeddf64/model-vers/model-ver/08cd5df4-17f8-49ee-b5b7-2ded65f45555#model-version not foundERR.5.4.6114",
"precentProgress": "100"

 

But when I try to check what are the available models in AAI using 

curl -k --user AAI:AAI -X GET  -H "Accept: application/json" -H "Content-Type: application/json" -H "X-TransactionId: robot-ete-1234" -H "X-FromAppId: robot-ete" https://aai.api.simpledemo.openecomp.org:8443/aai/v11/service-design-and-creation/models

I got the error response {"requestError":{"serviceException":{"messageId":"SVC3001","text":"Resource not found for %1 using id %2 (msg=%3) (ec=%4)","variables":["GET","service-design-and-creation/models","Node Not Found:No Node of type model found at: service-design-and-creation/models","ERR.5.4.6114"]}}}

But I can "GET /service-design-and-creation/models" in AAI API but it is not working or not getting any result. I tried to redistribute the SDC model, but it didn't help.

    CommentAdd your comment...

    3 answers

    1.  
      1
      0
      -1

      Hi kranthi guttikonda , I created a service model and distributed it as well. The distributed service , I could it see in the VID. But, When I tried to fetch it from AAI (https://<aai_ip>:8443/aai/v11/service-design-and-creation/services) it returned 404 error. I tried to fetch the list of services because even after creating the customer, subscriber , service instance and associating the customer with the cloud region , I was able to see neither the service instance nor the subscriber name in the VID (I read in one of the docs that the service type which we give in aai should match with the service name  which gets distributed from sdc to aai. Am I right at this point ? ) And could you please help me find where exactly it went wrong ?

        

      1. dhebeha mj

        kranthi guttikonda No,I did not run.Instead I have created customer, subscriber and registered cloud region in AAI. The above mentioned issue was solved. It was because the customer type which I had mentioned was wrong. Now I am not able to deploy my service ,I am getting the following error,

        The service which I created is not populated in MSO-mariaDB even after redistributing (But, It got distributed to VID and AAI. I could see the distributed artifact details in mso-kubernetes pod). 

        When I checked the logs, POST request to mso (http://mso.onap-mso:8080/ecomp/mso/infra/serviceInstances/v4) failed with the exception. I have not added any bpmn workflow to my service.   Kindly help me solve this error .

      2. kranthi guttikonda

        dhebeha mj I generally use robot init to initialize customer (Demonstration) and all required service subcriptions. After that I create my own customer and add relation ships. 

        After you distribute the service in SDC do you see the artifacts received by MSO in monitor section (as op0001) user? If not then you may have to delete MSO docker container directly (not the pod) and redistribute again. Check the BPMN logs in MSO container to get more idea

      CommentAdd your comment...
    2.  
      1
      0
      -1

      kranthi guttikonda, I solved this issue, by adding proxy in docker-compose file in aai-inst1

      1. kranthi guttikonda

        So, AAI didn't come up initially because of proxy. Yes, resources and traversal will have problems while doing git clone. 

      CommentAdd your comment...
    3.  
      1
      0
      -1

      Hi Bharath Thiruveedula AAI should contain the data after distribution unless AAI is faulty. Also did you run robot ./demo.sh init after SDC distribution. demo.sh init will initialize all customer and data models which is a pre-requisite to deploy service instances in VID. Also you can check distribution results using op0001 from SDC service → monitoring section and see if there are any failures. Typically distribution should happen to MSO, DCAE and AAI. I have seen distribution happens to SDNC also in few setups.

        CommentAdd your comment...