1
0
-1

Hi,

While adding vf_module  in VID, I got the error like "received error from SDN-C: Encountered error while querying vf-module from AnAI with vf-module-id =<id>  and generic-vnf-id= <id>".

Below are the logs from AAI:


2017-06-15T14:18:55.183+0000|2017-06-15T14:18:55.215+0000|||||REST GET https://c1.vm1.aai.simpledemo.openecomp.org:8443/aai/v8/network/generic-vnfs/generic-vnf/0c5c6b62-9814-4072-a954-7e6429cef590|MSO|COMPLETE||||INFO||193.0.20.1|32|vm1-aai||AAILogJAXRSOutInterceptor$LoggingCallback|||||||co=aairest::HTTP Response Code=200|

2017-06-15T14:18:55.225+0000|2017-06-15T14:18:55.266+0000|||||REST PUT https://c1.vm1.aai.simpledemo.openecomp.org:8443/aai/v8/network/generic-vnfs/generic-vnf/0c5c6b62-9814-4072-a954-7e6429cef590/vf-modules/vf-module/4b06b97e-d1dc-4b9c-8de3-6182f9a93fc2|MSO|COMPLETE||||INFO||193.0.20.1|41|vm1-aai||AAILogJAXRSOutInterceptor$LoggingCallback|||||||co=aairest::HTTP Response Code=201|

2017-06-15T14:18:56.644+0000|2017-06-15T14:18:56.680+0000|||||REST GET https://c1.vm1.aai.simpledemo.openecomp.org:8443/aai/v8/network/generic-vnfs/generic-vnf/0c5c6b62-9814-4072-a954-7e6429cef590|MSO|COMPLETE||||INFO||193.0.20.1|36|vm1-aai||AAILogJAXRSOutInterceptor$LoggingCallback|||||||co=aairest::HTTP Response Code=200|

2017-06-15T14:18:56.702+0000|2017-06-15T14:18:56.749+0000|||||REST PUT https://c1.vm1.aai.simpledemo.openecomp.org:8443/aai/v8/network/generic-vnfs/generic-vnf/0c5c6b62-9814-4072-a954-7e6429cef590/vf-modules/vf-module/4b06b97e-d1dc-4b9c-8de3-6182f9a93fc2|MSO|COMPLETE||||INFO||193.0.20.1|47|vm1-aai||AAILogJAXRSOutInterceptor$LoggingCallback|||||||co=aairest::HTTP Response Code=200|

2017-06-15T14:18:56.759+0000|2017-06-15T14:18:56.795+0000|||||REST GET https://c1.vm1.aai.simpledemo.openecomp.org:8443/aai/v8/network/generic-vnfs/generic-vnf/0c5c6b62-9814-4072-a954-7e6429cef590|MSO|COMPLETE||||INFO||193.0.20.1|36|vm1-aai||AAILogJAXRSOutInterceptor$LoggingCallback|||||||co=aairest::HTTP Response Code=200|

2017-06-15T14:18:56.804+0000|2017-06-15T14:18:57.157+0000|||||REST DELETE https://c1.vm1.aai.simpledemo.openecomp.org:8443/aai/v8/network/generic-vnfs/generic-vnf/0c5c6b62-9814-4072-a954-7e6429cef590/vf-modules/vf-module/4b06b97e-d1dc-4b9c-8de3-6182f9a93fc2/?resource-version=1497536336|MSO|COMPLETE||||INFO||193.0.20.1|353|vm1-aai||AAILogJAXRSOutInterceptor$LoggingCallback|||||||co=aairest::HTTP Response Code=204|



I couldn't get logs from SDNC

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      This problem occurs because SDNC is unable to reach AAI. In my case it was because the docker container "sdnc_controller_container" was not configured with proper proxy server.

      Steps to solve:-

      1. Open /opt/sdnc/installation/src/main/yaml/docker-compose.yml
      2. Add this line under the sdnc tag

        dns: 10.0.100.1
      3. restart the containers

        cd /opt/sdnc/installation/src/main/yaml
        /opt/docker/docker-compose up -d


      1. Bharath Thiruveedula

        Hi Nayan,

        Yup, I figured it out later today, but I manually updated the nameserver and restarted. This is much cleaner solution. Thanks!



      2. Daniel Rose

        if you think this is a generic solution please open a pull request in gerrit for this

      3. Bharath Thiruveedula

        Sure. Nayan Deshmukh, do you want me to take that opportunity:) or you already pushed it?

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

      i think youll need someone like Dan Timoney to help you get those from SDNC