Hi Guys, I am trying to install ONAP in my VM. I have the correct snapshot version for 1.1 and the container are downloaded fine, deploy_vm2.sh is all working fine for me, but when I run the deploy_vm1.sh, the aai-resources docker image is failing to start which in turn gets the script into a loop. When I check the logs of the docker image the error I see is fatal: unable to access 'http://gerrit.onap.org/r/aai/aai-config.git/': Could not resolve host: gerrit.onap.org Error: Unable to clone the aai-config repo with url: http://gerrit.onap.org/r/aai/aai-config.git
This error is from the from line 32 in docker-entrypoint.sh(gerrit link<https://gerrit.onap.org/r/gitweb?p=aai/resources.git;a=blob;f=aai-resources/src/main/resources/docker/docker-entrypoint.sh;h=47ee81fe0828cad51ec7b7886ec2cce0c42f63a5;hb=refs/heads/master>) Not initially I thought that it might be because of the proxy and setup the proxy in the yml file, and I still had the issue. On further debugging I noticed that the network setting for the docker image is not configured properly ==== Extract of cmd "docker inspect testconfig_aai-resources.api.simpledemo.openecomp.org_1" ==== "NetworkSettings": { "Bridge": "", "SandboxID": "327def488501b6df748ab14b25b077f82b8457b91c36d39645e1ddaa40a60865", "HairpinMode": false, "LinkLocalIPv6Address": "", "LinkLocalIPv6PrefixLen": 0, "Ports": null, "SandboxKey": "/var/run/docker/netns/327def488501", "SecondaryIPAddresses": null, "SecondaryIPv6Addresses": null, "EndpointID": "", "Gateway": "", "GlobalIPv6Address": "", "GlobalIPv6PrefixLen": 0, "IPAddress": "", "IPPrefixLen": 0, "IPv6Gateway": "", "MacAddress": "", "Networks": { "testconfig_default": { "IPAMConfig": null, "Links": null, "Aliases": [ "ec7ae3db5365", "aai-resources.api.simpledemo.openecomp.org" ], "NetworkID": "76c514b895c23ba3a23e25129e6b9f71ca09cbbd925dea09318302e354fe8818", "EndpointID": "", "Gateway": "", "IPAddress": "", "IPPrefixLen": 0, "IPv6Gateway": "", "GlobalIPv6Address": "", "GlobalIPv6PrefixLen": 0, "MacAddress": "" } } If you notice, you can see that gateway and ipaddress is not configured properly. I am currently seeing if I can specify these values in the yml file. Has anyone else faced this issue ==== More logs === Docker logs root@arulSparky:~# docker logs testconfig_aai-resources.api.simpledemo.openecomp.org_1 Cloning into 'aai-config'... fatal: unable to access 'http://gerrit.onap.org/r/aai/aai-config.git/': Could not resolve host: gerrit.onap.org Error: Unable to clone the aai-config repo with url: http://gerrit.onap.org/r/aai/aai-config.git Script logs cat: /opt/config/dmaap_topic.txt: No such file or directory Login Succeeded 1.1-STAGING-latest: Pulling from openecomp/aai-resources Digest: sha256:ce8291f72b6935935ade95d2d397cd2f7b9f5343f22f1174d55e4fb62656d0f5 Status: Image is up to date for nexus3.onap.org:10001/openecomp/aai-resources:1.1-STAGING-latest 1.1-STAGING-latest: Pulling from openecomp/aai-traversal Digest: sha256:901035de233d665c4581f1c79d5d282072789250b4ffb356eb28c6c0e8e71db2 Status: Image is up to date for nexus3.onap.org:10001/openecomp/aai-traversal:1.1-STAGING-latest 1.1-STAGING-latest: Pulling from openecomp/search-data-service Digest: sha256:2edc698bb142880602dcd64f0207dd6518ebfd7a2ceaf6d1c66e6a8e24b610c7 Status: Image is up to date for nexus3.onap.org:10001/openecomp/search-data-service:1.1-STAGING-latest 1.1-STAGING-latest: Pulling from openecomp/data-router Digest: sha256:295fdb7e936bf72717b43b12a15501c8cf91fcade9f31e5f132d6fa18072d165 Status: Image is up to date for nexus3.onap.org:10001/openecomp/data-router:1.1-STAGING-latest 1.1-STAGING-latest: Pulling from openecomp/model-loader Digest: sha256:644a6b2d104c583ee31f7d8a60c3fe8f47090b05f086fea33ce1100f6e2d75ad Status: Image is up to date for nexus3.onap.org:10001/openecomp/model-loader:1.1-STAGING-latest 1.1-STAGING-latest: Pulling from openecomp/sparky-be Digest: sha256:e0b5d5e094402ae6701f861a9ea01d8b13cdd6193f157ba448519d4decab4810 Status: Image is up to date for nexus3.onap.org:10001/openecomp/sparky-be:1.1-STAGING-latest Going to remove testconfig_aai-resources.api.simpledemo.openecomp.org_1 Removing testconfig_aai-resources.api.simpledemo.openecomp.org_1 ... done Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' deployment to finish ... ERROR: testconfig_aai-resources.api.simpledemo.openecomp.org_1 deployment failed. Regards Arul Arul Nambi MASc Software Developer Open Network Division Amdocs Technology [cid:[email protected]] This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at https://www.amdocs.com/about/email-disclaimer <https://www.amdocs.com/about/email-disclaimer>
_______________________________________________ onap-discuss mailing list [email protected] https://lists.onap.org/mailman/listinfo/onap-discuss
