2 answers
- 10-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:-
- Open /opt/sdnc/installation/src/main/yaml/docker-compose.yml
Add this line under the sdnc tag
dns: 10.0.100.1
restart the containers
cd /opt/sdnc/installation/src/main/yaml /opt/docker/docker-compose up -d
- 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!
- Daniel Rose
if you think this is a generic solution please open a pull request in gerrit for this
- Bharath Thiruveedula
Sure. Nayan Deshmukh, do you want me to take that opportunity:) or you already pushed it?
- Nayan Deshmukh
Just pushed it, https://gerrit.onap.org/r/#/c/5115/
Add your comment... - 10-1
i think youll need someone like Dan Timoney to help you get those from SDNC
- Bharath Thiruveedula
Dan Timoney could you help me in this to solve the issue?
- Nayan Deshmukh
Dan Timoney Bharath Thiruveedula I am facing the same error.
- Bharath Thiruveedula
Nayan Deshmukh Daniel Rose Seems like this occurs as part of this workflow https://gerrit.onap.org/r/gitweb?p=mso.git;a=blob;f=bpmn/MSOGammaBPMN/src/main/resources/subprocess/DoCreateVfModule.bpmn;h=46b4e1fc0264b925d741318e445f55e24e006356;hb=refs/heads/release-1.0.0. Anyone from MSO could help in this I think.
Add your comment...
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